It is derived from the BasicArrayFS template interface so all interesting member functions are derived from BasicArrayFS.
Public Types | |
typedef lowlevel::TyHeapCell | TyArrayElement |
Public Member Functions | |
BooleanArrayFS () | |
BooleanArrayFS (FeatureStructure const &fs) | |
BooleanArrayFS (BasicBooleanArrayFS const &fs) | |
T | get (size_t n) const |
get the n th element of an array. | |
void | set (size_t n, T const &val) |
set the n th element of an array. | |
size_t | size () const |
get the size of the array | |
void | copyToArray (size_t uiStart, size_t uiEnd, T *destArray, size_t uiDestOffset) const |
Copy the contents of the array from start to end to the destination destArray with destination offset destOffset . | |
void | copyToArray (size_t srcOffset, T *destArray, size_t destOffset, size_t numelements) const |
Copy the contents of the array from start for numelements to the destination destArray with destination offset destOffset . | |
void | copyFromArray (T const *sourceArray, size_t uiStart, size_t uiEnd, size_t uiOffset) |
CAS & | getCAS () |
Returns the CAS object in which this feature structure lives. | |
CAS const & | getCAS () const |
bool | isValid () const |
Check if this FS object is valid, i.e., properly initialized. | |
Type | getType () const |
FeatureStructure | clone () |
Creates a copy of this feature structure. | |
FeatureStructure | clone (Type const &t) |
creates a feature structure of type t and copies all "common" features of t and this->getType(). | |
bool | isUntouchedFSValue (Feature const &crFeature) const |
Check if the value of crFeature was already used via a call to getFSValue() or setFSValue() . | |
FeatureStructure | getFSValue (Feature const &crFeature) const |
Get the value of feature crFeature of this feature structure (must not be a builtin type). | |
FeatureStructure | getFeatureValue (Feature const &crFeature) const |
Get the value of feature crFeature of this feature structure (must not be a builtin type). | |
void | setFSValue (Feature const &crFeature, FeatureStructure const &anFS) |
set the value of feature crFeature of this feature structure (must not be a builtin type). | |
void | setFeatureValue (Feature const &crFeature, FeatureStructure const &anFS) |
set the value of feature crFeature of this feature structure (must not be a builtin type). | |
int | getIntValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type integer. | |
void | setIntValue (Feature const &crFeature, int i) |
Set the value of feature crFeature , must be builtin type integer. | |
float | getFloatValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type float. | |
void | setFloatValue (Feature const &crFeature, float) |
Set the value of feature crFeature , must be builtin type float. | |
UnicodeStringRef | getStringValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be of type string. | |
void | setStringValue (Feature const &crFeature, UnicodeStringRef cuStr) |
sets the value of feature crFeature of this feature structure to a new string on the heap. | |
void | setStringValue (Feature const &crFeature, UChar const *cuStr, size_t uiLen) |
void | setStringValue (Feature const &crFeature, icu::UnicodeString const &crustr) |
void | setStringValueExternal (Feature const &crFeature, UnicodeStringRef cuStr) |
sets the value of feature crFeature of this feature structure to a new string outside of the heap. | |
void | setStringValueExternal (Feature const &crFeature, UChar const *cuStr, size_t uiLen) |
void | setStringValueExternal (Feature const &crFeature, icu::UnicodeString const &crustr) |
ArrayFS | getArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
FloatArrayFS | getFloatArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
IntArrayFS | getIntArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
StringArrayFS | getStringArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
bool | hasListElements (Feature const &fList) const |
Returns true if the list stored at feature fList has elements. | |
ListFS | getListFSValue (Feature const &fList) const |
Return feature structure of type list stored at feature fList. | |
FloatListFS | getFloatListFSValue (Feature const &f) const |
Return feature structure of type list stored at feature fList. | |
IntListFS | getIntListFSValue (Feature const &f) const |
Return feature structure of type list stored at feature fList. | |
StringListFS | getStringListFSValue (Feature const &f) const |
Return feature structure of type list stored at feature fList. | |
bool | getBooleanValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type byte. | |
void | setBooleanValue (Feature const &crFeature, bool) |
Set the value of feature crFeature , must be builtin type byte. | |
char | getByteValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type byte. | |
void | setByteValue (Feature const &crFeature, char) |
Set the value of feature crFeature , must be builtin type byte. | |
short | getShortValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type short. | |
void | setShortValue (Feature const &crFeature, short) |
Set the value of feature crFeature , must be builtin type short. | |
INT64 | getLongValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type short. | |
void | setLongValue (Feature const &crFeature, INT64) |
Set the value of feature crFeature , must be builtin type short. | |
void | setDoubleValue (Feature const &crFeature, double) |
Set the value of feature crFeature , must be builtin type short. | |
double | getDoubleValue (Feature const &crFeature) const |
Get the value of feature crFeature , must be builtin type short. | |
BooleanArrayFS | getBooleanArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
ByteArrayFS | getByteArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
ShortArrayFS | getShortArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
LongArrayFS | getLongArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
DoubleArrayFS | getDoubleArrayFSValue (Feature const &fArray) const |
Return feature structure of type array stored at feature fArray. | |
bool | operator== (FeatureStructure const &) const |
bool | operator!= (FeatureStructure const &crFS) const |
bool | operator< (FeatureStructure const &crFS) const |
Static Public Member Functions | |
static BasicArrayFS | createArrayFS (CAS &cas, size_t uiSize, bool bIsPermanent=false) |
Copy the contents of an external array into this array. | |
Protected Member Functions | |
BooleanArrayFS (lowlevel::TyFS anFS, uima::CAS &cas, bool bDoChecks=true) | |
void | checkValidity (TyMessageId) const |
void | checkFeature (Feature const &f, TyMessageId) const |
void | checkNonBuiltinFeature (Feature const &f, TyMessageId) const |
void | checkAppropFeature (Feature const &f, lowlevel::TyFSType aType, TyMessageId) const |
void | checkAppropFeature (Feature const &f, FeatureStructure const &anFS, TyMessageId) const |
void | checkRangeIsString (Feature const &fList, TyMessageId) const |
Protected Attributes | |
lowlevel::TyFS | iv_tyFS |
CAS * | iv_cas |
typedef lowlevel::TyHeapCell uima::FeatureStructure::TyArrayElement [inherited] |
uima::BooleanArrayFS::BooleanArrayFS | ( | lowlevel::TyFS | anFS, | |
uima::CAS & | cas, | |||
bool | bDoChecks = true | |||
) | [inline, protected] |
uima::BooleanArrayFS::BooleanArrayFS | ( | ) | [inline] |
uima::BooleanArrayFS::BooleanArrayFS | ( | FeatureStructure const & | fs | ) | [inline, explicit] |
uima::BooleanArrayFS::BooleanArrayFS | ( | BasicBooleanArrayFS const & | fs | ) | [inline] |
T uima::BasicArrayFS< T, ARRAY_TYPE >::get | ( | size_t | n | ) | const [inherited] |
get the n
th element of an array.
InvalidFSObjectException | ||
FSArrayOutOfBoundsException |
void uima::BasicArrayFS< T, ARRAY_TYPE >::set | ( | size_t | n, | |
T const & | val | |||
) | [inherited] |
set the n
th element of an array.
InvalidFSObjectException | ||
FSArrayOutOfBoundsException |
size_t uima::BasicArrayFS< T, ARRAY_TYPE >::size | ( | ) | const [inherited] |
get the size of the array
InvalidFSObjectException |
void uima::BasicArrayFS< T, ARRAY_TYPE >::copyToArray | ( | size_t | uiStart, | |
size_t | uiEnd, | |||
T * | destArray, | |||
size_t | uiDestOffset | |||
) | const [inherited] |
Copy the contents of the array from start
to end
to the destination destArray
with destination offset destOffset
.
uiStart | The index of the first element to copy. | |
numelements | number of element, the index after the last element to copy. | |
destArray | The array to copy to. | |
uiDestOffset | Where to start copying into destArray . |
InvalidFSObjectException | ||
FSArrayOutOfBoundsException | If start < 0 or end > size() or destOffset + (end - start) > destArray.length . |
void uima::BasicArrayFS< T, ARRAY_TYPE >::copyToArray | ( | size_t | srcOffset, | |
T * | destArray, | |||
size_t | destOffset, | |||
size_t | numelements | |||
) | const [inherited] |
Copy the contents of the array from start
for numelements
to the destination destArray
with destination offset destOffset
.
srcOffset | The index of the first element to copy. | |
dest | The array to copy to. | |
destOffset | Where to start copying into. | |
numelements | The number of elements to copy. |
InvalidFSObjectException | ||
FSArrayOutOfBoundsException | If srcOffset < 0 or length > size() or destOffset + length > destArray.length . |
void uima::BasicArrayFS< T, ARRAY_TYPE >::copyFromArray | ( | T const * | sourceArray, | |
size_t | uiStart, | |||
size_t | uiEnd, | |||
size_t | uiOffset | |||
) | [inherited] |
static BasicArrayFS uima::BasicArrayFS< T, ARRAY_TYPE >::createArrayFS | ( | CAS & | cas, | |
size_t | uiSize, | |||
bool | bIsPermanent = false | |||
) | [static, inherited] |
Copy the contents of an external array into this array.
src | The source array. | |
srcOffset | Where to start copying in the source array. | |
destOffset | Where to start copying to in the destination array. | |
length | The number of elements to copy. |
InvalidFSObjectException | ||
FSArrayOutOfBoundsException | If srcOffset or destOffset < 0 or length > size() or destOffset + length > size() . |
bIsPermanent | indicate if the data should be permanent, i.e., has a lifetime longer than the document |
void uima::FeatureStructure::checkValidity | ( | TyMessageId | ) | const [protected, inherited] |
void uima::FeatureStructure::checkFeature | ( | Feature const & | f, | |
TyMessageId | ||||
) | const [protected, inherited] |
void uima::FeatureStructure::checkNonBuiltinFeature | ( | Feature const & | f, | |
TyMessageId | ||||
) | const [protected, inherited] |
void uima::FeatureStructure::checkAppropFeature | ( | Feature const & | f, | |
lowlevel::TyFSType | aType, | |||
TyMessageId | ||||
) | const [protected, inherited] |
void uima::FeatureStructure::checkAppropFeature | ( | Feature const & | f, | |
FeatureStructure const & | anFS, | |||
TyMessageId | ||||
) | const [protected, inherited] |
void uima::FeatureStructure::checkRangeIsString | ( | Feature const & | fList, | |
TyMessageId | ||||
) | const [protected, inherited] |
CAS& uima::FeatureStructure::getCAS | ( | ) | [inherited] |
CAS const& uima::FeatureStructure::getCAS | ( | ) | const [inherited] |
Reimplemented in uima::AnnotationFS.
bool uima::FeatureStructure::isValid | ( | ) | const [inherited] |
Check if this FS object is valid, i.e., properly initialized.
Type uima::FeatureStructure::getType | ( | ) | const [inherited] |
InvalidFSObjectException |
FeatureStructure uima::FeatureStructure::clone | ( | ) | [inherited] |
Creates a copy of this feature structure.
The returned feature structure is a new and separate object but all features of the feature structure which are not of builtin types (integer, float, string) will be shared between the clone and it's source FS.
InvalidFSObjectException |
FeatureStructure uima::FeatureStructure::clone | ( | Type const & | t | ) | [inherited] |
creates a feature structure of type t and copies all "common" features of t and this->getType().
A feature is common to two types t1 and t2 if it is defined on the most specific common supertype of t1 and t2.
bool uima::FeatureStructure::isUntouchedFSValue | ( | Feature const & | crFeature | ) | const [inherited] |
Check if the value of crFeature
was already used via a call to getFSValue()
or setFSValue()
.
InvalidFSObjectException | ||
FeatureNotAppropriateException |
FeatureStructure uima::FeatureStructure::getFSValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
of this feature structure (must not be a builtin type).
InvalidFSObjectException | ||
FeatureNotAppropriateException |
FeatureStructure uima::FeatureStructure::getFeatureValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
of this feature structure (must not be a builtin type).
InvalidFSObjectException | ||
FeatureNotAppropriateException |
void uima::FeatureStructure::setFSValue | ( | Feature const & | crFeature, | |
FeatureStructure const & | anFS | |||
) | [inherited] |
set the value of feature crFeature
of this feature structure (must not be a builtin type).
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setFeatureValue | ( | Feature const & | crFeature, | |
FeatureStructure const & | anFS | |||
) | [inherited] |
set the value of feature crFeature
of this feature structure (must not be a builtin type).
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
int uima::FeatureStructure::getIntValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be builtin type integer.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setIntValue | ( | Feature const & | crFeature, | |
int | i | |||
) | [inherited] |
Set the value of feature crFeature
, must be builtin type integer.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
float uima::FeatureStructure::getFloatValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be builtin type float.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setFloatValue | ( | Feature const & | crFeature, | |
float | ||||
) | [inherited] |
Set the value of feature crFeature
, must be builtin type float.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
UnicodeStringRef uima::FeatureStructure::getStringValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be of type string.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotAStringException |
void uima::FeatureStructure::setStringValue | ( | Feature const & | crFeature, | |
UnicodeStringRef | cuStr | |||
) | [inherited] |
sets the value of feature crFeature
of this feature structure to a new string on the heap.
Precondition: getFSValue(crFeature) must be of type string. The string is copied to the heap and the string value will point to the copy on the heap and not to cuStr
.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotAStringException |
Referenced by uima::FeatureStructure::setStringValue().
void uima::FeatureStructure::setStringValue | ( | Feature const & | crFeature, | |
UChar const * | cuStr, | |||
size_t | uiLen | |||
) | [inline, inherited] |
References uima::FeatureStructure::setStringValue().
void uima::FeatureStructure::setStringValue | ( | Feature const & | crFeature, | |
icu::UnicodeString const & | crustr | |||
) | [inline, inherited] |
References uima::FeatureStructure::setStringValue().
void uima::FeatureStructure::setStringValueExternal | ( | Feature const & | crFeature, | |
UnicodeStringRef | cuStr | |||
) | [inherited] |
sets the value of feature crFeature
of this feature structure to a new string outside of the heap.
Precondition: FS must be of type string. The string is not copied to the heap, so the string value will point to cuStr
. The caller must make sure that the characters in cuStr
have an appropriate live time. For persistency of the CAS to be consistent and complete the caller must make sure that all the string data lives somewhere on the heap.
InvalidFSObjectException | ||
FSIsNotAStringException |
Referenced by uima::FeatureStructure::setStringValueExternal().
void uima::FeatureStructure::setStringValueExternal | ( | Feature const & | crFeature, | |
UChar const * | cuStr, | |||
size_t | uiLen | |||
) | [inline, inherited] |
References uima::FeatureStructure::setStringValueExternal().
void uima::FeatureStructure::setStringValueExternal | ( | Feature const & | crFeature, | |
icu::UnicodeString const & | crustr | |||
) | [inline, inherited] |
References uima::FeatureStructure::setStringValueExternal().
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a FeatureStructure.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
FloatArrayFS uima::FeatureStructure::getFloatArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a float.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
IntArrayFS uima::FeatureStructure::getIntArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a int.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
StringArrayFS uima::FeatureStructure::getStringArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a string.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
bool uima::FeatureStructure::hasListElements | ( | Feature const & | fList | ) | const [inherited] |
Returns true if the list stored at feature fList has elements.
fList | The feature to check. fList must be of type list |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotListException |
Return feature structure of type list stored at feature fList.
The return value is guaranteed to be a properly terminated list. Each element of the list is a feature structure.
fList | The feature referencing the list to return. fList must be valid. fList must be appropriate for this feature strucutre. fList must be subsumed by type list. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotListException |
FloatListFS uima::FeatureStructure::getFloatListFSValue | ( | Feature const & | f | ) | const [inherited] |
Return feature structure of type list stored at feature fList.
The return value is guaranteed to be a properly terminated list. Each element of the list is a float.
f | The feature referencing the list to return. f must be valid. f must be appropriate for this feature strucutre. f must be subsumed by type list. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotListException |
Return feature structure of type list stored at feature fList.
The return value is guaranteed to be a properly terminated list. Each element of the list is a int.
f | The feature referencing the list to return. f must be valid. f must be appropriate for this feature strucutre. f must be subsumed by type list. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotListException |
StringListFS uima::FeatureStructure::getStringListFSValue | ( | Feature const & | f | ) | const [inherited] |
Return feature structure of type list stored at feature fList.
The return value is guaranteed to be a properly terminated list. Each element of the list is a string.
f | The feature referencing the list to return. f must be valid. f must be appropriate for this feature strucutre. f must be subsumed by type list. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotListException |
bool uima::FeatureStructure::getBooleanValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be builtin type byte.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setBooleanValue | ( | Feature const & | crFeature, | |
bool | ||||
) | [inherited] |
Set the value of feature crFeature
, must be builtin type byte.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
char uima::FeatureStructure::getByteValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be builtin type byte.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setByteValue | ( | Feature const & | crFeature, | |
char | ||||
) | [inherited] |
Set the value of feature crFeature
, must be builtin type byte.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
short uima::FeatureStructure::getShortValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be builtin type short.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setShortValue | ( | Feature const & | crFeature, | |
short | ||||
) | [inherited] |
Set the value of feature crFeature
, must be builtin type short.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
Get the value of feature crFeature
, must be builtin type short.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
Set the value of feature crFeature
, must be builtin type short.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
void uima::FeatureStructure::setDoubleValue | ( | Feature const & | crFeature, | |
double | ||||
) | [inherited] |
Set the value of feature crFeature
, must be builtin type short.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
double uima::FeatureStructure::getDoubleValue | ( | Feature const & | crFeature | ) | const [inherited] |
Get the value of feature crFeature
, must be builtin type short.
InvalidFSObjectException | ||
FeatureNotAppropriateException | ||
IncompatibleValueTypeException |
BooleanArrayFS uima::FeatureStructure::getBooleanArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a byte.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
ByteArrayFS uima::FeatureStructure::getByteArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a byte.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
ShortArrayFS uima::FeatureStructure::getShortArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a short.
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
LongArrayFS uima::FeatureStructure::getLongArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a lomg (INT64).
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
DoubleArrayFS uima::FeatureStructure::getDoubleArrayFSValue | ( | Feature const & | fArray | ) | const [inherited] |
Return feature structure of type array stored at feature fArray.
The return value is guaranteed to be a properly terminated array. Each element in the array is a double (INT64).
fArray | The feature referencing the array to return. fArray must be valid. fArray must be appropriate for this feature strucutre. fArray must be subsumed by type array. |
InvalidFSObjectException | ||
InvalidFSFeatureObjectException | ||
FeatureNotAppropriateException | ||
FSIsNotArrayException |
bool uima::FeatureStructure::operator== | ( | FeatureStructure const & | ) | const [inherited] |
bool uima::FeatureStructure::operator!= | ( | FeatureStructure const & | crFS | ) | const [inline, inherited] |
bool uima::FeatureStructure::operator< | ( | FeatureStructure const & | crFS | ) | const [inherited] |
lowlevel::TyFS uima::FeatureStructure::iv_tyFS [protected, inherited] |
CAS* uima::FeatureStructure::iv_cas [protected, inherited] |