c++ Programming Glossary: enumparser
String to enum in C++ http://stackoverflow.com/questions/726664/string-to-enum-in-c that you can use over and over template typename T class EnumParser map string T enumMap public EnumParser T ParseSomeEnum const.. typename T class EnumParser map string T enumMap public EnumParser T ParseSomeEnum const string value map string T const_iterator.. return iValue second enum SomeEnum Value1 Value2 EnumParser SomeEnum EnumParser enumMap Value1 Value1 enumMap Value2 Value2..
|