|
|
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type): |
This function will always create and return a new object, even when no Annotations of the requested type are found or when the Document has no Annotations defined. In this case an empty object will be returned.
Note that CDM does not own this object: the caller is responsible to use Tcl_DecrRefCount or CDM_Free in order to free the object and the memory associated with it.
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type, char *Constraints): |
This function will always create and return a new object, even when no Annotations of the requested type are found or when the Document has no Annotations defined. In this case an empty object will be returned.
The boolean expression that can be specified through the "Constrains" parameter can be any valid Tcl boolean expression (i.e. a boolean expression that will be accepted by the "expr" Tcl command), with the following excepion:
CDM_SelectAnnotationsSorted(Doc, "token", "ann::type == \"EFW\" && ann::pos != \"NN\"");
Note that CDM does not own this object: the caller is responsible to use Tcl_DecrRefCount or CDM_Free in order to free the object and the memory associated with it.
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type): |
This function will always create and return a new object, even when no Annotations of the requested type are found or when the Annotation set is empty. In this case an empty object will be returned.
Note that CDM does not own this object: the caller is responsible to use Tcl_DecrRefCount or CDM_Free in order to free the object and the memory associated with it.
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type, char *Constraints): |
This function will always create and return a new object, even when no Annotations of the requested type are found or when the Annotation set contains no Annotations. In this case an empty object will be returned.
The boolean expression that can be specified through the "Constrains" parameter can be any valid Tcl boolean expression (i.e. a boolean expression that will be accepted by the "expr" Tcl command), with the following excepion:
CDM_SelectAnnotationsSorted(Set, "token", "ann::type == \"EFW\" && ann::pos != \"NN\"");
Note that CDM does not own this object: the caller is responsible to use
Tcl_DecrRefCount or CDM_Free in order to free the object and the memory
associated with it. Return Value:
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type): |
Note that the caller is responsible to free this object through Tcl_DecrRefCount or CDM_Free.
In case of an error, NULL will be return and an error message will be left at the current active Tcl interpreter (CDM_Interp).
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type, char *Constraints): |
Note that the caller is responsible to free this object through Tcl_DecrRefCount or CDM_Free.
In case of an error, NULL will be return and an error message will be left at the current active Tcl interpreter (CDM_Interp).
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type): |
Note that the caller is responsible to free this object through Tcl_DecrRefCount or CDM_Free.
In case of an error, NULL will be return and an error message will be left at the current active Tcl interpreter (CDM_Interp).
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type, char *Constraints): |
Note that the caller is responsible to free this object through Tcl_DecrRefCount or CDM_Free.
In case of an error, NULL will be return and an error message will
be left at the current active Tcl interpreter (CDM_Interp). Notes:
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type, char *Constraints): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type, char *Constraints): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_Document Document, char *Type, char *Constraints): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type): |
CDM_AnnotationSet CDM_SelectAnnotationsSorted(CDM_AnnotationSet Set, char *Type, char *Constraints): |
Generated by: petasis@aias on Wed Aug 16 10:31:57 PM EEST 2006.