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; }
The base class for all "enum" types.
GeoTessEnumType(const string &name, int ordinal)
friend bool operator!=(const GeoTessEnumType &x, const GeoTessEnumType &y)
static const GeoTessEnumType * valueOf(const string &s, GeoTessEnumType const *const *const array, int n)
GeoTessEnumType(const GeoTessEnumType &et)
virtual ~GeoTessEnumType()
friend bool operator==(const GeoTessEnumType &x, const GeoTessEnumType &y)
GeoTessEnumType & operator=(const GeoTessEnumType &et)
std::ostream & operator<<(std::ostream &o, GeoTessEnumType &s)