ULAPI  8.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ULPartOfSpeechSubcategory Class Reference

An enhanced enumerated type used to represent the "subcategory" attribute associated with many part of speech categories. For example, noun subcategories include proper, diminutive, and abbreviation, while pronoun types include demonstrative, personal, possessive, etc. More...

#include <ulpartofspeechsubcategory.h>

Public Member Functions

 ULPartOfSpeechSubcategory ()
 
 ULPartOfSpeechSubcategory (const ULPartOfSpeechSubcategory &other)
 
 ULPartOfSpeechSubcategory (int id)
 
 ULPartOfSpeechSubcategory (const char *otherStringID)
 
virtual ~ULPartOfSpeechSubcategory ()
 
virtual void clear ()
 
ULPartOfSpeechSubcategoryoperator= (const ULPartOfSpeechSubcategory &other)
 
ULPartOfSpeechSubcategoryoperator= (int otherID)
 
ULPartOfSpeechSubcategoryoperator= (const char *otherStringID)
 
bool operator== (const ULPartOfSpeechSubcategory &other) const
 
bool operator== (const char *otherStringID) const
 
bool operator!= (const ULPartOfSpeechSubcategory &other) const
 
bool operator!= (const char *otherStringID) const
 
bool operator< (const ULPartOfSpeechSubcategory &other) const
 
bool operator< (const char *otherStringID) const
 
- Public Member Functions inherited from ULEnum
 ULEnum ()
 
 ULEnum (const ULEnum &other)
 
virtual ~ULEnum ()
 
virtual ULEnumoperator= (const ULEnum &other)
 
 operator int () const
 
uluint32 hash (uluint32 tableSize) const
 
int getID () const
 
const char * getStringID () const
 
virtual const char * getDisplayString () const
 

Static Public Member Functions

static int getEnumeratedValueCount ()
 
static const
ULPartOfSpeechSubcategory
getInstance (int id)
 
- Static Public Member Functions inherited from ULEnum
static bool isEnumeratedFeature (const ULString &featureName)
 
static uluint32 getRunTimeFeatureID (const ULString &featureName)
 

Static Public Attributes

static const
ULPartOfSpeechSubcategory
None = ULPartOfSpeechSubcategory("nosubcategory", "no subcategory")
 
static const
ULPartOfSpeechSubcategory
Any = ULPartOfSpeechSubcategory("anysubcategory", "any subcategory")
 
static const
ULPartOfSpeechSubcategory
Proper = ULPartOfSpeechSubcategory("proper", "proper")
 
static const
ULPartOfSpeechSubcategory
Diminutive = ULPartOfSpeechSubcategory("diminutive", "diminutive")
 
static const
ULPartOfSpeechSubcategory
Abbreviation = ULPartOfSpeechSubcategory("abbreviation", "abbreviation")
 
static const
ULPartOfSpeechSubcategory
Acronym = ULPartOfSpeechSubcategory("acronym", "acronym")
 
static const
ULPartOfSpeechSubcategory
Doer = ULPartOfSpeechSubcategory("doer", "doer")
 
static const
ULPartOfSpeechSubcategory
Personal = ULPartOfSpeechSubcategory("personal", "personal")
 
static const
ULPartOfSpeechSubcategory
Demonstrative = ULPartOfSpeechSubcategory("demonstrative", "demonstrative")
 
static const
ULPartOfSpeechSubcategory
Interrogative = ULPartOfSpeechSubcategory("interrogative", "interrogative")
 
static const
ULPartOfSpeechSubcategory
Relative = ULPartOfSpeechSubcategory("relative", "relative")
 
static const
ULPartOfSpeechSubcategory
Reflexive = ULPartOfSpeechSubcategory("reflexive", "reflexive")
 
static const
ULPartOfSpeechSubcategory
Reciprocal = ULPartOfSpeechSubcategory("reciprocal", "reciprocal")
 
static const
ULPartOfSpeechSubcategory
Indefinite = ULPartOfSpeechSubcategory("indefinite", "indefinite")
 
static const
ULPartOfSpeechSubcategory
Definite = ULPartOfSpeechSubcategory("definite", "definite")
 
static const
ULPartOfSpeechSubcategory
Subjective = ULPartOfSpeechSubcategory("subjective", "subjective")
 
static const
ULPartOfSpeechSubcategory
Objective = ULPartOfSpeechSubcategory("objective", "objective")
 
static const
ULPartOfSpeechSubcategory
DirectObject = ULPartOfSpeechSubcategory("directobject", "direct object")
 
static const
ULPartOfSpeechSubcategory
IndirectObject = ULPartOfSpeechSubcategory("indirectobject", "indirect object")
 
static const
ULPartOfSpeechSubcategory
PrepositionalObject = ULPartOfSpeechSubcategory("prepositionalobject", "prepositional object")
 
static const
ULPartOfSpeechSubcategory
ReflexivePrepositionalObject = ULPartOfSpeechSubcategory("reflexiveprepositionalobject", "reflexive prepositional object")
 
static const
ULPartOfSpeechSubcategory
Comitative = ULPartOfSpeechSubcategory("comitative", "comitative")
 
static const
ULPartOfSpeechSubcategory
Possessive = ULPartOfSpeechSubcategory("possessive", "possessive")
 
static const
ULPartOfSpeechSubcategory
PossessiveAdjective = ULPartOfSpeechSubcategory("possessiveadjective", "possessive adjective")
 
static const
ULPartOfSpeechSubcategory
DemonstrativeAdjective = ULPartOfSpeechSubcategory("demonstrativeadjective", "demonstrative adjective")
 
static const
ULPartOfSpeechSubcategory
Disjunctive = ULPartOfSpeechSubcategory("disjunctive", "disjunctive")
 
static const
ULPartOfSpeechSubcategory
Pronominal = ULPartOfSpeechSubcategory("pronominal", "pronominal")
 
static const
ULPartOfSpeechSubcategory
PronominalPossible = ULPartOfSpeechSubcategory("pronominalpossible", "pronominalpossible")
 
static const
ULPartOfSpeechSubcategory
Existential = ULPartOfSpeechSubcategory("existential", "existential")
 
static const
ULPartOfSpeechSubcategory
Proximal = ULPartOfSpeechSubcategory("proximal", "proximal")
 
static const
ULPartOfSpeechSubcategory
Distal = ULPartOfSpeechSubcategory("distal", "distal")
 
static const
ULPartOfSpeechSubcategory
Comparative = ULPartOfSpeechSubcategory("comparative", "comparative")
 
static const
ULPartOfSpeechSubcategory
Superlative = ULPartOfSpeechSubcategory("superlative", "superlative")
 
static const
ULPartOfSpeechSubcategory
Proverb = ULPartOfSpeechSubcategory("proverb", "proverb")
 
static const
ULPartOfSpeechSubcategory
Exclamation = ULPartOfSpeechSubcategory("exclamation", "exclamation")
 
static const
ULPartOfSpeechSubcategory
Phrase = ULPartOfSpeechSubcategory("phrase", "phrase")
 
static const
ULPartOfSpeechSubcategory
Question = ULPartOfSpeechSubcategory("question", "question")
 
static const
ULPartOfSpeechSubcategory
Cardinal = ULPartOfSpeechSubcategory("cardinal", "cardinal")
 
static const
ULPartOfSpeechSubcategory
Ordinal = ULPartOfSpeechSubcategory("ordinal", "ordinal")
 
static const
ULPartOfSpeechSubcategory
Coordinating = ULPartOfSpeechSubcategory("coordinating", "coordinating")
 
static const
ULPartOfSpeechSubcategory
Subordinating = ULPartOfSpeechSubcategory("subordinating", "subordinating")
 
static const
ULPartOfSpeechSubcategory
Prefix = ULPartOfSpeechSubcategory("prefix", "prefix")
 
static const
ULPartOfSpeechSubcategory
Suffix = ULPartOfSpeechSubcategory("suffix", "suffix")
 
static const
ULPartOfSpeechSubcategory
Infix = ULPartOfSpeechSubcategory("infix", "infix")
 
static const
ULPartOfSpeechSubcategory
Circumfix = ULPartOfSpeechSubcategory("circumfix", "circumfix")
 
static const
ULPartOfSpeechSubcategory
Interfix = ULPartOfSpeechSubcategory("interfix", "interfix")
 
static const
ULPartOfSpeechSubcategory
Partitive = ULPartOfSpeechSubcategory("partitive", "partitive")
 
static const
ULPartOfSpeechSubcategory
Negative = ULPartOfSpeechSubcategory("negative", "negative")
 
static const
ULPartOfSpeechSubcategory
Modal = ULPartOfSpeechSubcategory("modal", "modal")
 
static const
ULPartOfSpeechSubcategory
Auxiliary = ULPartOfSpeechSubcategory("auxiliary", "auxiliary")
 
static const
ULPartOfSpeechSubcategory
Irregular = ULPartOfSpeechSubcategory("irregular", "irregular")
 
static const
ULPartOfSpeechSubcategory
Defective = ULPartOfSpeechSubcategory("defective", "defective")
 
static const
ULPartOfSpeechSubcategory
Impersonal = ULPartOfSpeechSubcategory("impersonal", "impersonal")
 
static const
ULPartOfSpeechSubcategory
Deponent = ULPartOfSpeechSubcategory("deponent", "deponent")
 
static const
ULPartOfSpeechSubcategory
Contraction = ULPartOfSpeechSubcategory("contraction", "contraction")
 
static const
ULPartOfSpeechSubcategory
Strong = ULPartOfSpeechSubcategory("strong", "strong")
 
static const
ULPartOfSpeechSubcategory
Weak = ULPartOfSpeechSubcategory("weak", "weak")
 
static const
ULPartOfSpeechSubcategory
Mixed = ULPartOfSpeechSubcategory("mixed", "mixed")
 

Additional Inherited Members

- Protected Attributes inherited from ULEnum
int id
 
const char * stringID
 
const char * displayString
 
- Static Protected Attributes inherited from ULEnum
static ULHashTable< ULString,
uluint32 > 
featureNameToRunTimeID
 

Detailed Description

An enhanced enumerated type used to represent the "subcategory" attribute associated with many part of speech categories. For example, noun subcategories include proper, diminutive, and abbreviation, while pronoun types include demonstrative, personal, possessive, etc.

See ULEnum for a discussion of enhanced enumerated types in ULAPI.

Constructor & Destructor Documentation

ULPartOfSpeechSubcategory::ULPartOfSpeechSubcategory ( )

Default constructor.

ULPartOfSpeechSubcategory::ULPartOfSpeechSubcategory ( const ULPartOfSpeechSubcategory other)

Copy constructor.

ULPartOfSpeechSubcategory::ULPartOfSpeechSubcategory ( int  otherID)

Constructor by id.

ULPartOfSpeechSubcategory::ULPartOfSpeechSubcategory ( const char *  otherStringID)

Constructor.

Parameters
[in]otherStringIDThe string ID corresponding to the ULPartOfSpeechSubcategory value this ULPartOfSpeechSubcategory should be copied from.
ULPartOfSpeechSubcategory::~ULPartOfSpeechSubcategory ( )
virtual

Destructor.

Member Function Documentation

void ULPartOfSpeechSubcategory::clear ( )
virtual

Sets this ULPartOfSpeechSubcategory object to its default state.

Reimplemented from ULEnum.

int ULPartOfSpeechSubcategory::getEnumeratedValueCount ( )
static
Returns
the number of distinct enumerated values of this type.
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::getInstance ( int  id)
static
Returns
the statically allocated instance of this type corresponding to the specified integer id.
Parameters
[in]idthe desired integer id.
bool ULPartOfSpeechSubcategory::operator!= ( const ULPartOfSpeechSubcategory other) const

Inequality operator.

bool ULPartOfSpeechSubcategory::operator!= ( const char *  stringID) const

Inequality operator.

Returns
true if the specified string is not equal to this ULPartOfSpeechSubcategory's string ID.
Parameters
[in]stringIDThe string to compare to this object's string ID.
bool ULPartOfSpeechSubcategory::operator< ( const ULPartOfSpeechSubcategory other) const

Comparison operator.

Returns
true if this ULPartOfSpeechSubcategory's integer ID is strictly less than other's.
Parameters
[in]otherThe other ULPartOfSpeechSubcategory object.
bool ULPartOfSpeechSubcategory::operator< ( const char *  stringID) const

Comparison operator.

Returns
true if this ULPartOfSpeechSubcategory's integer ID is is strictly less the integer ID of the ULPartOfSpeechSubcategory value corresponding to the specified string ID.
Parameters
[in]stringIDThe string ID.
ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::operator= ( const ULPartOfSpeechSubcategory other)

Assignment operator.

Returns
a reference to this ULPartOfSpeechSubcategory object.
ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::operator= ( int  otherID)

Assignment operator.

Parameters
[in]otherIDThe ID of the enumerated value of ULPartOfSpeechSubcategory to assign to this ULPartOfSpeechSubcategory.
ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::operator= ( const char *  otherStringID)

Assignment operator.

Returns
a reference to this ULPartOfSpeechSubcategory object.
Parameters
[in]stringIDIf stringID is the string ID of one of the ULPartOfSpeechSubcategory enumerated values, then this object is copied from that ULPartOfSpeechSubcategory. Otherwise, this object is assigned the default value.
bool ULPartOfSpeechSubcategory::operator== ( const ULPartOfSpeechSubcategory other) const

Equality operator.

bool ULPartOfSpeechSubcategory::operator== ( const char *  stringID) const

Equality operator.

Returns
true if the specified string is equal to this ULPartOfSpeechSubcategory's string ID.
Parameters
[in]stringIDThe string to compare to this object's string ID.

Member Data Documentation

const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Abbreviation = ULPartOfSpeechSubcategory("abbreviation", "abbreviation")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Acronym = ULPartOfSpeechSubcategory("acronym", "acronym")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Any = ULPartOfSpeechSubcategory("anysubcategory", "any subcategory")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Auxiliary = ULPartOfSpeechSubcategory("auxiliary", "auxiliary")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Cardinal = ULPartOfSpeechSubcategory("cardinal", "cardinal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Circumfix = ULPartOfSpeechSubcategory("circumfix", "circumfix")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Comitative = ULPartOfSpeechSubcategory("comitative", "comitative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Comparative = ULPartOfSpeechSubcategory("comparative", "comparative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Contraction = ULPartOfSpeechSubcategory("contraction", "contraction")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Coordinating = ULPartOfSpeechSubcategory("coordinating", "coordinating")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Defective = ULPartOfSpeechSubcategory("defective", "defective")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Definite = ULPartOfSpeechSubcategory("definite", "definite")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Demonstrative = ULPartOfSpeechSubcategory("demonstrative", "demonstrative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::DemonstrativeAdjective = ULPartOfSpeechSubcategory("demonstrativeadjective", "demonstrative adjective")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Deponent = ULPartOfSpeechSubcategory("deponent", "deponent")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Diminutive = ULPartOfSpeechSubcategory("diminutive", "diminutive")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::DirectObject = ULPartOfSpeechSubcategory("directobject", "direct object")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Disjunctive = ULPartOfSpeechSubcategory("disjunctive", "disjunctive")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Distal = ULPartOfSpeechSubcategory("distal", "distal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Doer = ULPartOfSpeechSubcategory("doer", "doer")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Exclamation = ULPartOfSpeechSubcategory("exclamation", "exclamation")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Existential = ULPartOfSpeechSubcategory("existential", "existential")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Impersonal = ULPartOfSpeechSubcategory("impersonal", "impersonal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Indefinite = ULPartOfSpeechSubcategory("indefinite", "indefinite")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::IndirectObject = ULPartOfSpeechSubcategory("indirectobject", "indirect object")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Infix = ULPartOfSpeechSubcategory("infix", "infix")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Interfix = ULPartOfSpeechSubcategory("interfix", "interfix")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Interrogative = ULPartOfSpeechSubcategory("interrogative", "interrogative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Irregular = ULPartOfSpeechSubcategory("irregular", "irregular")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Mixed = ULPartOfSpeechSubcategory("mixed", "mixed")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Modal = ULPartOfSpeechSubcategory("modal", "modal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Negative = ULPartOfSpeechSubcategory("negative", "negative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::None = ULPartOfSpeechSubcategory("nosubcategory", "no subcategory")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Objective = ULPartOfSpeechSubcategory("objective", "objective")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Ordinal = ULPartOfSpeechSubcategory("ordinal", "ordinal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Partitive = ULPartOfSpeechSubcategory("partitive", "partitive")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Personal = ULPartOfSpeechSubcategory("personal", "personal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Phrase = ULPartOfSpeechSubcategory("phrase", "phrase")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Possessive = ULPartOfSpeechSubcategory("possessive", "possessive")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::PossessiveAdjective = ULPartOfSpeechSubcategory("possessiveadjective", "possessive adjective")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Prefix = ULPartOfSpeechSubcategory("prefix", "prefix")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::PrepositionalObject = ULPartOfSpeechSubcategory("prepositionalobject", "prepositional object")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Pronominal = ULPartOfSpeechSubcategory("pronominal", "pronominal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::PronominalPossible = ULPartOfSpeechSubcategory("pronominalpossible", "pronominalpossible")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Proper = ULPartOfSpeechSubcategory("proper", "proper")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Proverb = ULPartOfSpeechSubcategory("proverb", "proverb")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Proximal = ULPartOfSpeechSubcategory("proximal", "proximal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Question = ULPartOfSpeechSubcategory("question", "question")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Reciprocal = ULPartOfSpeechSubcategory("reciprocal", "reciprocal")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Reflexive = ULPartOfSpeechSubcategory("reflexive", "reflexive")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::ReflexivePrepositionalObject = ULPartOfSpeechSubcategory("reflexiveprepositionalobject", "reflexive prepositional object")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Relative = ULPartOfSpeechSubcategory("relative", "relative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Strong = ULPartOfSpeechSubcategory("strong", "strong")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Subjective = ULPartOfSpeechSubcategory("subjective", "subjective")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Subordinating = ULPartOfSpeechSubcategory("subordinating", "subordinating")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Suffix = ULPartOfSpeechSubcategory("suffix", "suffix")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Superlative = ULPartOfSpeechSubcategory("superlative", "superlative")
static
const ULPartOfSpeechSubcategory & ULPartOfSpeechSubcategory::Weak = ULPartOfSpeechSubcategory("weak", "weak")
static

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