ULAPI
8.0
|
An enhanced enumerated type used to represent the mood of verbs. More...
#include <ulmood.h>
Public Member Functions | |
ULMood () | |
ULMood (const ULMood &other) | |
ULMood (int id) | |
ULMood (const char *otherStringID) | |
virtual | ~ULMood () |
virtual void | clear () |
ULMood & | operator= (const ULMood &other) |
ULMood & | operator= (int otherID) |
ULMood & | operator= (const char *otherStringID) |
bool | operator== (const ULMood &other) const |
bool | operator== (const char *otherStringID) const |
bool | operator!= (const ULMood &other) const |
bool | operator!= (const char *otherStringID) const |
bool | operator< (const ULMood &other) const |
bool | operator< (const char *otherStringID) const |
Public Member Functions inherited from ULEnum | |
ULEnum () | |
ULEnum (const ULEnum &other) | |
virtual | ~ULEnum () |
virtual ULEnum & | operator= (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 ULMood & | 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 ULMood & | None = ULMood("nomood", "no mood") |
static const ULMood & | Any = ULMood("anymood", "any mood") |
static const ULMood & | Indicative = ULMood("indicativemood", "indicative") |
static const ULMood & | Subjunctive = ULMood("subjunctivemood", "subjunctive") |
static const ULMood & | Conditional = ULMood("conditionalmood", "conditional") |
static const ULMood & | Imperative = ULMood("imperativemood", "imperative") |
static const ULMood & | Jussive = ULMood("jussivemood", "jussive") |
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 |
An enhanced enumerated type used to represent the mood of verbs.
See ULEnum for a discussion of enhanced enumerated types in ULAPI.
ULMood::ULMood | ( | ) |
Default constructor.
ULMood::ULMood | ( | const ULMood & | other | ) |
Copy constructor.
ULMood::ULMood | ( | int | otherID | ) |
Constructor by id.
ULMood::ULMood | ( | const char * | otherStringID | ) |
|
virtual |
Destructor.
|
virtual |
|
static |
|
static |
[in] | id | the desired integer id. |
bool ULMood::operator!= | ( | const ULMood & | other | ) | const |
Inequality operator.
bool ULMood::operator!= | ( | const char * | stringID | ) | const |
Inequality operator.
[in] | stringID | The string to compare to this object's string ID. |
bool ULMood::operator< | ( | const ULMood & | other | ) | const |
bool ULMood::operator< | ( | const char * | stringID | ) | const |
Assignment operator.
ULMood & ULMood::operator= | ( | int | otherID | ) |
ULMood & ULMood::operator= | ( | const char * | otherStringID | ) |
bool ULMood::operator== | ( | const ULMood & | other | ) | const |
Equality operator.
bool ULMood::operator== | ( | const char * | stringID | ) | const |
Equality operator.
[in] | stringID | The string to compare to this object's string ID. |