GG
|
#include <Enum.h>
Public Member Functions | |
virtual | ~EnumMapBase () |
virtual const std::string & | FromEnum (long int i) const =0 |
virtual long int | FromString (const std::string &str) const =0 |
|
pure virtual |
Returns the string associated with the enumeration value i, or the empty string if i is unknown.
Implemented in GG::EnumMap< E >.
|
pure virtual |
Returns the enumeration value associated with the string str, or BAD_VALUE if str is unknown.
Implemented in GG::EnumMap< E >.