36 #ifndef ENUMTYPE_OBJECT_H
37 #define ENUMTYPE_OBJECT_H
75 : aName(
""), aOrdinal(-1)
83 : aName(et.aName), aOrdinal(et.aOrdinal)
110 : aName(name), aOrdinal(ordinal)
143 string name()
const {
return aName; }
171 #endif // ENUMTYPE_OBJECT_H
GeoTessEnumType & operator=(const GeoTessEnumType &et)
Private assignment operator.
Definition: GeoTessEnumType.h:90
string name() const
Returns this Enums name.
Definition: GeoTessEnumType.h:143
Definition: ArrayReuse.h:55
std::ostream & operator<<(std::ostream &o, GeoTessEnumType &s)
Stream operator that will print the input EnumTypes name to the stream.
Definition: GeoTessEnumType.h:166
const string aName
The string name of this enum.
Definition: GeoTessEnumType.h:98
string toString() const
Returns this Enums name.
Definition: GeoTessEnumType.h:138
friend bool operator==(const GeoTessEnumType &x, const GeoTessEnumType &y)
Equals operator.
Definition: GeoTessEnumType.h:153
virtual ~GeoTessEnumType()
Standard destructor.
Definition: GeoTessEnumType.h:133
friend bool operator!=(const GeoTessEnumType &x, const GeoTessEnumType &y)
Not equals operator.
Definition: GeoTessEnumType.h:158
The base class for all "enum" types.
Definition: GeoTessEnumType.h:67
GeoTessEnumType()
Private default constructor.
Definition: GeoTessEnumType.h:74
int ordinal() const
Returns this Enums ordinal.
Definition: GeoTessEnumType.h:148
#define GEOTESS_EXP_IMP
Definition: CPPGlobals.h:71
GeoTessEnumType(const GeoTessEnumType &et)
Private copy constructor.
Definition: GeoTessEnumType.h:82
const int aOrdinal
The ordinal of this enum.
Definition: GeoTessEnumType.h:103
GeoTessEnumType(const string &name, int ordinal)
Standard constuctor.
Definition: GeoTessEnumType.h:109