Overview   Class List   Class Hierarchy   Class Members   Functions & Constants   Defines   Header Files  

functions


Detailed Description

CAS Utility functions for Annotations.


Functions

virtual AnnotationFS uima::CAS::createAnnotation (Type const &type, size_t uiBeginPos, size_t uiEndPos)
 convenience function for creating an annotation.
bool uima::CAS::moveToBeginPosition (ANIterator &itOfType, AnnotationFS const &crFromAnn)
 CAS Utility functions for Annotation Iterators sets the index iterator to the begin position of crFromAnn.


Function Documentation

virtual AnnotationFS uima::CAS::createAnnotation Type const &  type,
size_t  uiBeginPos,
size_t  uiEndPos
[virtual, inherited]
 

convenience function for creating an annotation.

type must be a subtype of type Annotation. Note that this will not commit the new feature structure to the appropriate indexes. To do this CAS::commitFS() has to be called.

Exceptions:
CASException if specified type is not an annotation, or View is base CAS.

bool uima::CAS::moveToBeginPosition ANIterator itOfType,
AnnotationFS const &  crFromAnn
[inherited]
 

CAS Utility functions for Annotation Iterators sets the index iterator to the begin position of crFromAnn.

Parameters:
itOfType The iterator to move
crFromAnn The annotation defining the begin position
Returns:
true if beginPositioncrFromAnn is also a valid begin position of the Annotation the iterator points to and the movement was successful, false otherwise. Note that both arguments, i.e. the index iterator and the FeatureStructure must be annotations.


Generated on Mon Oct 1 16:04:12 2012 for UIMACPP API by  doxygen 1.3.9.1