|
ULAPI
8.0
|
An enhanced enumerated type used to represent genders. More...
#include <ulgender.h>
Public Member Functions | |
| ULGender () | |
| ULGender (const ULGender &other) | |
| ULGender (int id) | |
| ULGender (const char *otherStringID) | |
| virtual | ~ULGender () |
| virtual void | clear () |
| ULGender & | operator= (const ULGender &other) |
| ULGender & | operator= (int otherID) |
| ULGender & | operator= (const char *otherStringID) |
| bool | operator== (const ULGender &other) const |
| bool | operator== (const char *otherStringID) const |
| bool | operator!= (const ULGender &other) const |
| bool | operator!= (const char *otherStringID) const |
| bool | operator< (const ULGender &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 ULGender & | 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 ULGender & | None = ULGender("nogender", "no gender") |
| static const ULGender & | Any = ULGender("anygender", "any gender") |
| static const ULGender & | Masculine = ULGender("masculine", "masculine") |
| static const ULGender & | Feminine = ULGender("feminine", "feminine") |
| static const ULGender & | Neuter = ULGender("neuter", "neuter") |
| static const ULGender & | Common = ULGender("common", "common") |
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 genders.
See ULEnum for a discussion of enhanced enumerated types in ULAPI.
| ULGender::ULGender | ( | ) |
Default constructor.
| ULGender::ULGender | ( | const ULGender & | other | ) |
Copy constructor.
| ULGender::ULGender | ( | int | otherID | ) |
Constructor by id.
| ULGender::ULGender | ( | const char * | otherStringID | ) |
|
virtual |
Destructor.
|
virtual |
|
static |
|
static |
| [in] | id | the desired integer id. |
| bool ULGender::operator!= | ( | const ULGender & | other | ) | const |
Inequality operator.
| bool ULGender::operator!= | ( | const char * | stringID | ) | const |
Inequality operator.
| [in] | stringID | The string to compare to this object's string ID. |
| bool ULGender::operator< | ( | const ULGender & | other | ) | const |
| bool ULGender::operator< | ( | const char * | stringID | ) | const |
Assignment operator.
| ULGender & ULGender::operator= | ( | int | otherID | ) |
| ULGender & ULGender::operator= | ( | const char * | otherStringID | ) |
| bool ULGender::operator== | ( | const ULGender & | other | ) | const |
Equality operator.
| bool ULGender::operator== | ( | const char * | stringID | ) | const |
Equality operator.
| [in] | stringID | The string to compare to this object's string ID. |
1.8.2