56 return mName.compare(nameString);
bool operator<(const std::string &rhs) const
Overloaded less than test for this EnumerationString's string value.
virtual ~EnumerationString()
Private virtual destructor to get rid of compile warning.
const std::string & GetName() const
Inlined because it's called frequently.
bool operator>(const std::string &rhs) const
Overloaded greater than test for this EnumerationString's string value.
EnumerationString(const std::string &name)
Construct the EnumerationString.
bool operator!=(const EnumerationString &rhs) const
Inequality test for an EnumerationString.
std::string mName
String representation of the EnumerationString.
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.
EnumerationString & operator=(const EnumerationString &)
Private assignment operator to enforce EnumerationString storage by reference.
Namespace that holds various utility classes for the engine.
bool operator==(const EnumerationString &rhs) const
Equality test for an EnumerationString.