uima::Type Class Reference
List of all members.
Detailed Description
This class represents a type in the type hierarchy of the type system.
Constructor & Destructor Documentation
Default constructor.
Creates an invalid FSType object.
Member Function Documentation
bool uima::Type::isValid |
( |
|
) |
const |
- Returns:
- true if the object is valid
bool uima::Type::operator== |
( |
Type const & |
crOther |
) |
const |
bool uima::Type::operator!= |
( |
Type const & |
crOther |
) |
const |
bool uima::Type::operator< |
( |
Type const & |
other |
) |
const |
get the name of the type.
- Exceptions:
-
| InvalidFSTypeObjectException | |
get the creator ID of the type.
See separate section for details
- Exceptions:
-
| InvalidFSFeatureObjectException | |
void uima::Type::getAppropriateFeatures |
( |
std::vector< Feature > & |
result |
) |
const |
get the list of all features appropriate for this type.
- Parameters:
-
- Exceptions:
-
| InvalidFSTypeObjectException | |
bool uima::Type::isAppropriateFeature |
( |
Feature const & |
f |
) |
const |
return true if a feature f is appropriate for this type.
- Parameters:
-
- Exceptions:
-
| InvalidFSTypeObjectException | |
void uima::Type::getDirectSubTypes |
( |
std::vector< Type > & |
rResult |
) |
const |
Get all the direct subtypes of this type;.
- Exceptions:
-
| InvalidFSTypeObjectException | |
void uima::Type::getSubTypes |
( |
std::vector< Type > & |
rResult |
) |
const |
Get all the subtypes of this type;.
- Exceptions:
-
| InvalidFSTypeObjectException | |
Feature uima::Type::getFeatureByBaseName |
( |
icu::UnicodeString const & |
crBaseName |
) |
const |
Get the feature with base name crBaseName
.
Returns an invalid FSFeature object if no feature with the specified base name is appropriate for this type.
- Parameters:
-
| crBaseName | the base name of the feature to be found |
- Exceptions:
-
| InvalidFSTypeObjectException | |
bool uima::Type::subsumes |
( |
Type const & |
crType |
) |
const |
- Returns:
- true if this object subsumes
crType
.
- Exceptions:
-
| InvalidFSTypeObjectException | |
get the type system this type lives in.
- Exceptions:
-
| InvalidFSFeatureObjectException | |
bool uima::Type::isStringSubType |
( |
|
) |
const |
The documentation for this class was generated from the following file: