|
ULAPI
8.0
|
An enhanced enumerated type used to represent the numbers of noun/pronoun/adjective. More...
#include <ulnumber.h>
Public Member Functions | |
| ULNumber () | |
| ULNumber (const ULNumber &other) | |
| ULNumber (int id) | |
| ULNumber (const char *otherStringID) | |
| virtual | ~ULNumber () |
| virtual void | clear () |
| ULNumber & | operator= (const ULNumber &other) |
| ULNumber & | operator= (int otherID) |
| ULNumber & | operator= (const char *otherStringID) |
| bool | operator== (const ULNumber &other) const |
| bool | operator== (const char *otherStringID) const |
| bool | operator!= (const ULNumber &other) const |
| bool | operator!= (const char *otherStringID) const |
| bool | operator< (const ULNumber &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 ULNumber & | 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 ULNumber & | None = ULNumber("nonumber", "no number") |
| static const ULNumber & | Any = ULNumber("anynumber", "any number") |
| static const ULNumber & | Singular = ULNumber("singular", "singular") |
| static const ULNumber & | Plural = ULNumber("plural", "plural") |
| static const ULNumber & | Dual = ULNumber("dual", "dual") |
| static const ULNumber & | Invariable = ULNumber("invariable", "invariable") |
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 numbers of noun/pronoun/adjective.
See ULEnum for a discussion of enhanced enumerated types in ULAPI.
| ULNumber::ULNumber | ( | ) |
Default constructor.
| ULNumber::ULNumber | ( | const ULNumber & | other | ) |
Copy constructor.
| ULNumber::ULNumber | ( | int | otherID | ) |
Constructor by id.
| ULNumber::ULNumber | ( | const char * | otherStringID | ) |
|
virtual |
Destructor.
|
virtual |
|
static |
|
static |
| [in] | id | the desired integer id. |
| bool ULNumber::operator!= | ( | const ULNumber & | other | ) | const |
Inequality operator.
| bool ULNumber::operator!= | ( | const char * | stringID | ) | const |
Inequality operator.
| [in] | stringID | The string to compare to this object's string ID. |
| bool ULNumber::operator< | ( | const ULNumber & | other | ) | const |
| bool ULNumber::operator< | ( | const char * | stringID | ) | const |
Assignment operator.
| ULNumber & ULNumber::operator= | ( | int | otherID | ) |
| ULNumber & ULNumber::operator= | ( | const char * | otherStringID | ) |
| bool ULNumber::operator== | ( | const ULNumber & | other | ) | const |
Equality operator.
| bool ULNumber::operator== | ( | const char * | stringID | ) | const |
Equality operator.
| [in] | stringID | The string to compare to this object's string ID. |
1.8.2