|
ULAPI
8.0
|
An enhanced enumerated type used as return values throughout ULAPI to represent various error conditions. More...
#include <ulerror.h>
Public Member Functions | |
| ULError () | |
| ULError (const ULError &other) | |
| ULError (int id) | |
| ULError (const char *otherStringID) | |
| virtual | ~ULError () |
| virtual void | clear () |
| ULError & | operator= (const ULError &other) |
| ULError & | operator= (int otherID) |
| ULError & | operator= (const char *otherStringID) |
| bool | operator== (const ULError &other) const |
| bool | operator== (const char *otherStringID) const |
| bool | operator!= (const ULError &other) const |
| bool | operator!= (const char *otherStringID) const |
| bool | operator< (const ULError &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 ULError & | 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 ULError & | NoError = ULError("noerror", "No error") |
| static const ULError & | NotImplemented = ULError("notimplemented", "Not implemented") |
| static const ULError & | ObjectUninitialized = ULError("uninitialized", "Object uninitialized") |
| static const ULError & | MemoryAllocationFailed = ULError("memory", "Memory allocation failed") |
| static const ULError & | InvalidID = ULError("invalidid", "Invalid ID") |
| static const ULError & | InvalidName = ULError("invalidname", "Invalid name") |
| static const ULError & | ICUError = ULError("icu", "ICU error") |
| static const ULError & | DataSourceAttachFailed = ULError("datasourceattach", "Data source failed to attach") |
| static const ULError & | DataSourceOpenFailed = ULError("datasourceopen", "Data source failed to open") |
| static const ULError & | InvalidDataSourceVersion = ULError("invaliddatasourceversion", "Data source has an invalid version") |
| static const ULError & | InvalidLanguageFile = ULError("invalidlanguagefile", "Invalid language file") |
| static const ULError & | InvalidIterator = ULError("invaliditerator", "Invalid iterator") |
| static const ULError & | NoMatch = ULError("nomatch", "No match") |
| static const ULError & | TooManyMatches = ULError("toomanymatches", "Too many matches") |
| static const ULError & | NoSuchObject = ULError("nosuchobject", "No such object") |
| static const ULError & | OperationCancelled = ULError("operationcancelled", "Operation cancelled") |
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 as return values throughout ULAPI to represent various error conditions.
See ULEnum for a discussion of enhanced enumerated types in ULAPI.
| ULError::ULError | ( | ) |
Default constructor.
| ULError::ULError | ( | const ULError & | other | ) |
Copy constructor.
| ULError::ULError | ( | int | otherID | ) |
Constructor by id.
| ULError::ULError | ( | const char * | otherStringID | ) |
|
virtual |
Destructor.
|
virtual |
|
static |
|
static |
| [in] | id | the desired integer id. |
| bool ULError::operator!= | ( | const ULError & | other | ) | const |
Inequality operator.
| bool ULError::operator!= | ( | const char * | stringID | ) | const |
Inequality operator.
| [in] | stringID | The string to compare to this object's string ID. |
| bool ULError::operator< | ( | const ULError & | other | ) | const |
| bool ULError::operator< | ( | const char * | stringID | ) | const |
Assignment operator.
| ULError & ULError::operator= | ( | int | otherID | ) |
| ULError & ULError::operator= | ( | const char * | otherStringID | ) |
| bool ULError::operator== | ( | const ULError & | other | ) | const |
Equality operator.
| bool ULError::operator== | ( | const char * | stringID | ) | const |
Equality operator.
| [in] | stringID | The string to compare to this object's string ID. |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
1.8.2