unsigned int mID
The identifier.
const std::string & GetName() const
Inlined because it's called frequently.
bool operator<(const unsigned int &id) const
Less than test for an EnumerationNumeric.
This class represents a type-safe Enumeration pattern.
bool operator!=(const unsigned int &id) const
Inequality test for an EnumerationNumeric.
bool operator==(const unsigned int &id) const
Equality test for an EnumerationNumeric.
TR_UTIL_EXPORT std::ostream & operator<<(std::ostream &os, const EnumerationString &e)
Helper method to print EnumerationNumeric to an output stream.
virtual int Compare(const std::string &nameString) const
Virtual string compare method to used by the operators that take a string.
This class represents a type-safe EnumerationString pattern.
bool operator>(const unsigned int &id) const
Greater than test for an EnumerationNumeric.
Namespace that holds various utility classes for the engine.
unsigned int GetID() const
Returns the Numeric value of the Enum.
~EnumerationNumeric()
dtor.
EnumerationNumeric(const std::string &name, unsigned int orderId)
ctor Protected to prevent creation of an instance.
EnumerationNumeric & operator=(const EnumerationNumeric &)
Private assignment operator to enforce EnumerationNumeric storage by reference.