#include <stdexcept>
#include <dvutil/tostring.h>
Include dependency graph for enum2str.h:
Go to the source code of this file.
Namespaces | |
namespace | Dv |
namespace | Dv::Util |
Classes | |
class | Dv::Util::enum_parser< E > |
Convenient class template to support conversion of enum types to/from strings. More... | |
struct | Dv::Util::enum_parser< E >::enum_entry |
Type of entry in enum_table. More... | |
Functions | |
template<typename E> const char * | enum2str (E e) |
Convenience function to convert an enum value to a string. | |
template<typename E> E | str2enum (const std::string &s) |
Convenience function to convert a string to an enum value. |
|
Convenience function to convert an enum value to a string.
|
|
Convenience function to convert a string to an enum value.
|
dvutil-0.13.15 | [30 December, 2004] |