#include <EnumT.hpp>
Inherits noncopyable.
Inherited by URI::Scheme::Convert, WorkerStatus::Convert, GeoShape::Convert, SUPGTypes::Convert, and LogMessage::Convert.
template<typename EClass>
class cf3::common::EnumT< EClass >
Definition at line 20 of file EnumT.hpp.
type for reverse map
Definition at line 30 of file EnumT.hpp.
type for forward map
Definition at line 28 of file EnumT.hpp.
conversion from enum to string
Definition at line 40 of file EnumT.hpp.
conversion from int to enum (with validity check)
Definition at line 64 of file EnumT.hpp.
EnumType to_enum |
( |
const std::string & |
in | ) |
|
|
inline |
conversion from string to enum
Definition at line 73 of file EnumT.hpp.
std::string to_str |
( |
const EnumType & |
in | ) |
|
|
inline |
conversion from enum to string
Definition at line 47 of file EnumT.hpp.
std::string to_str |
( |
const int & |
in | ) |
|
|
inline |
conversion from int to enum then to string
Definition at line 55 of file EnumT.hpp.
storage of the enum forward map
Definition at line 33 of file EnumT.hpp.
storage of the enum reverse map
Definition at line 35 of file EnumT.hpp.
The documentation for this class was generated from the following file: