Public Member Functions | |
| ANIndex () | |
| Default constructor. | |
| ANIndex (FSIndex const &) | |
| Upgrade/Conversion constructor from a standard index. | |
| ANIterator | iterator () const |
| create an iterator over all the feature structures in this index. | |
| ANIterator | filteredIterator (FSFilter const *cpFilter) const |
create an iterator over this index with the filter cpFilter, | |
| ANIterator | subIterator (AnnotationFS const &an, EnIteratorAmbiguity enAmbiguous=enAmbiguous) const |
| create an iterator over this index only returning Annotations with begin position >= an.BeginPos and begin positon < an.EndPos | |
| ANIterator | unambiguousIterator () const |
| create an iterator over this index such that calling moveToNext/moveToPrevious will alway move the resulting iterator to an annotation that is no longer covered by the current annotation. | |
| bool | isValid () const |
| size_t | getSize () const |
| get the number of feature structures currently in this index. | |
| FeatureStructure | find (FeatureStructure const &anFS) const |
find the feature structure in this index which is equivalent to anFS according to the comparator for this index. | |
| FSIterator | typeSetIterator (std::set< uima::Type > const &crTypes) const |
| create an iterator over all the feature structures in this index with one of the specified types. | |
Protected Member Functions | |
| void | checkValidity () const |
Protected Attributes | |
| lowlevel::IndexABase const * | iv_pIndex |
| uima::lowlevel::IndexRepository * | iv_indexRepository |
|
|
Default constructor. Creates an invalid ANIndex object. |
|
|
Upgrade/Conversion constructor from a standard index.
|
|
|
create an iterator over all the feature structures in this index.
Reimplemented from uima::FSIndex. |
|
|
create an iterator over this index with the filter
Reimplemented from uima::FSIndex. |
|
||||||||||||
|
create an iterator over this index only returning Annotations with begin position >= an.BeginPos and begin positon < an.EndPos
|
|
|
create an iterator over this index such that calling moveToNext/moveToPrevious will alway move the resulting iterator to an annotation that is no longer covered by the current annotation.
This means that: moveToNext will always return an annotation with a begin position > than the current end position. moveToPrevious will always return an annotation with a end position < than the current begin position. In a situation like this:
|
|
|
|
|
|
|
|
|
get the number of feature structures currently in this index.
|
|
|
find the feature structure in this index which is equivalent to If such an FS cannot be found an invalid feature structure is returned.
|
|
|
create an iterator over all the feature structures in this index with one of the specified types.
|
|
|
|
|
|
|
1.3.9.1