Function tip_CreateSpanSet


Prototype: tip_CreateSpanSet(Span);
Arguments:

start: Span start (int)
end: Span end (int)

C++ API Sections
Tcl API Sections
Description
Return Value
Notes
See Also
Index

Description:

This function will create and return an empty Span set object (of type CDM_SpanSet). If the two optional parameters "start" and "end" are present, then a Span object with the specified start and end values will be created and appended to the Span set object, before it is returned.

Return Value:

This function will create and return an empty Span set object (of type CDM_SpanSet). If the two optional parameters "start" and "end" are present, then a Span object with the specified start and end values will be created and appended to the Span set object, before it is returned.

Notes:

This function is equivelant to the following Tcl code:
set span [tip_CreateSpan $start $end]
set spanSet [tip_CreateSpanSet]
set spanSet [lappend $spanSet $span]
This function is equivelant to CDM_CreateSpanSet (C++ API).

See Also:

CDM_CreateSpan, lappend


Generated by: petasis@aias on Wed Aug 16 10:31:45 PM EEST 2006.