Function CDM_AnnotationMatchesRange


Definition:#include <CDM.h>
Prototype:int CDM_AnnotationMatchesRange(const CDM_Annotation Ann, const long Start, const long End);
Arguments:

Ann: The Annotation to be examined (CDM_Annotation)
Start: The span start to me matched (long)
End: The span end to me matched (long)

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

Description:

This function will check if the provided Annotation (specified through the "Annotation" parameter) contains a span that has the specified start and end offsets.

Return Value:

This function will return 1 (true) if the Annotation contains a span that matches the specified start and end offsets. Else, 0 (false) will be returned.

In case of an error, -1 will be returned and an error message will be left at the current Tcl interpreter (CDM_Interp).

Notes:

This function is equivelant to tip_AnnotationMatchesRange (Tcl API).

See Also:

CDM_AnnotationContainsPosition, tip_AnnotationMatchesRange


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