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

uima::TypeOrFeature Class Reference

List of all members.


Detailed Description

Wrapper class to encapsulate either a uima::Type or a uima::Feature object since both types and features can be used as parts of a result specification.

See also:
uima::ResultSpecification

Public Member Functions

 TypeOrFeature ()
 Default constructor.
 TypeOrFeature (Type const &crType)
 Constructor from a uima::Type object.
 TypeOrFeature (TypeOrFeature const &crTOF)
TypeOrFeatureoperator= (TypeOrFeature const &crTOF)
 TypeOrFeature (Feature const &crFeature)
 Constructor from a uima::Feature object.
bool isType () const
bool isValid () const
Type getType () const
Feature getFeature () const
bool subsumes (TypeOrFeature const &crTypeOrFeature) const
UnicodeStringRef getName () const
bool operator== (TypeOrFeature const &crOther) const
bool operator< (TypeOrFeature const &crOther) const

Constructor & Destructor Documentation

uima::TypeOrFeature::TypeOrFeature (  )  [inline]

Default constructor.

uima::TypeOrFeature::TypeOrFeature ( Type const &  crType  )  [inline]

Constructor from a uima::Type object.

uima::TypeOrFeature::TypeOrFeature ( TypeOrFeature const &  crTOF  )  [inline]

uima::TypeOrFeature::TypeOrFeature ( Feature const &  crFeature  )  [inline]

Constructor from a uima::Feature object.


Member Function Documentation

TypeOrFeature& uima::TypeOrFeature::operator= ( TypeOrFeature const &  crTOF  )  [inline]

References iv_feature, and iv_type.

bool uima::TypeOrFeature::isType (  )  const [inline]

Referenced by subsumes().

bool uima::TypeOrFeature::isValid ( void   )  const [inline]

Type uima::TypeOrFeature::getType (  )  const [inline]

Feature uima::TypeOrFeature::getFeature (  )  const [inline]

bool uima::TypeOrFeature::subsumes ( TypeOrFeature const &  crTypeOrFeature  )  const [inline]

References isType(), iv_feature, and iv_type.

UnicodeStringRef uima::TypeOrFeature::getName ( void   )  const [inline]

bool uima::TypeOrFeature::operator== ( TypeOrFeature const &  crOther  )  const [inline]

References iv_feature, and iv_type.

bool uima::TypeOrFeature::operator< ( TypeOrFeature const &  crOther  )  const [inline]

References iv_feature, and iv_type.


The documentation for this class was generated from the following file:

Generated on Mon Oct 1 11:15:09 2012 for UIMACPP API by  doxygen 1.5.6