ngscopeclient 0.1-dev+51fbda87c
Public Member Functions | Protected Attributes | List of all members
EnumMapping Class Reference

Public Member Functions

void AddEnumMember (const std::string &name, base_type value)
 
const std::string & GetName (base_type value) const
 
base_type GetValue (const std::string &name) const
 
const std::vector< std::string > & GetNames () const
 
bool HasNameFor (base_type value) const
 
bool HasValueFor (const std::string &name) const
 
template<typename E >
void AddEnumMember (const std::string &name, E value)
 

Protected Attributes

std::map< std::string, base_type > m_forwardMap
 
std::map< base_type, std::string > m_backwardMap
 
std::vector< std::string > m_names
 

The documentation for this class was generated from the following files: