Function tip_GetFirstSpanOffsets


Prototype: tip_GetFirstSpanOffsets(Span);
Arguments:

Annotation: An Annotation object (CDM_Annotation)
start: A variable name, where the start value of the specified span will be placed. (string)
end: A variable name, where the end value of the specified span will be placed. (string)

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

Description:

This function will place the values of both span start and end of the the Annotation's first span into the two specified variable names. Each span object is a set of exactly two integers, named as "start" and "end".

Return Value:

This function will place the two Offsets contained in the provided Span object (the start and end of the span) into the two variables pointed by the two provided variable names.

Notes:

This function is equivelant to the following Tcl code:
set span [tip_GetFirstSpan $Annotation]
set start [tip_GetStart $span]
set end [tip_GetEnd $span]

This function is equivelant to CDM_GetFirstSpanOffsets (C++ API).

See Also:

tip_GetFirstSpan, tip_GetStart, tip_GetEnd, CDM_GetFirstSpanOffsets


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