OpenSDN source code
|
#include <t_enum_value.h>
Public Member Functions | |
t_enum_value (std::string name) | |
t_enum_value (std::string name, int value) | |
~t_enum_value () | |
const std::string & | get_name () |
bool | has_value () |
int | get_value () |
void | set_value (int val) |
![]() | |
t_doc () | |
void | set_doc (const std::string &doc) |
const std::string & | get_doc () const |
bool | has_doc () |
Private Attributes | |
std::string | name_ |
bool | has_value_ |
int | value_ |
A constant. These are used inside of enum definitions. Constants are just symbol identifiers that may or may not have an explicit value associated with them.
Definition at line 32 of file t_enum_value.h.
|
inline |
Definition at line 34 of file t_enum_value.h.
|
inline |
Definition at line 39 of file t_enum_value.h.
|
inline |
Definition at line 44 of file t_enum_value.h.
|
inline |
Definition at line 46 of file t_enum_value.h.
|
inline |
Definition at line 54 of file t_enum_value.h.
|
inline |
Definition at line 50 of file t_enum_value.h.
|
inline |
Definition at line 58 of file t_enum_value.h.
|
private |
Definition at line 65 of file t_enum_value.h.
|
private |
Definition at line 64 of file t_enum_value.h.
|
private |
Definition at line 66 of file t_enum_value.h.