1 #ifndef _CommonTools_Utils_StringToEnumValue_h_
2 #define _CommonTools_Utils_StringToEnumValue_h_
24 template <
class MyType>
52 template <
class MyType>
59 vector<string>::const_iterator str=enumNames.begin();
60 for (;str!=enumNames.end();++str){
61 ret.push_back( StringToEnumValue<MyType>(*str));
int stringToEnumValue(std::string const &enumMemberName) const
int StringToEnumValue(const std::string &enumMemberName)