|
OpenSDN source code
|
#include <t_const_value.h>

Public Types | |
| enum | t_const_value_type { CV_INTEGER , CV_DOUBLE , CV_STRING , CV_MAP , CV_LIST , CV_IDENTIFIER } |
Public Member Functions | |
| t_const_value () | |
| t_const_value (int64_t val) | |
| t_const_value (std::string val) | |
| void | set_string (std::string val) |
| std::string | get_string () const |
| void | set_integer (int64_t val) |
| int64_t | get_integer () const |
| void | set_double (double val) |
| double | get_double () const |
| std::string | get_uuid () const |
| void | set_map () |
| void | add_map (t_const_value *key, t_const_value *val) |
| const std::map< t_const_value *, t_const_value * > & | get_map () const |
| void | set_list () |
| void | add_list (t_const_value *val) |
| const std::vector< t_const_value * > & | get_list () const |
| void | set_identifier (std::string val) |
| std::string | get_identifier () const |
| std::string | get_identifier_name () const |
| std::string | get_identifier_with_parent () const |
| void | set_enum (t_enum *tenum) |
| t_const_value_type | get_type () const |
Private Attributes | |
| std::map< t_const_value *, t_const_value * > | mapVal_ |
| std::vector< t_const_value * > | listVal_ |
| std::string | stringVal_ |
| int64_t | intVal_ |
| double | doubleVal_ |
| std::string | identifierVal_ |
| t_enum * | enum_ |
| t_const_value_type | valType_ |
A const value is something parsed that could be a map, set, list, struct or whatever.
Definition at line 36 of file t_const_value.h.
| Enumerator | |
|---|---|
| CV_INTEGER | |
| CV_DOUBLE | |
| CV_STRING | |
| CV_MAP | |
| CV_LIST | |
| CV_IDENTIFIER | |
Definition at line 39 of file t_const_value.h.
|
inline |
Definition at line 48 of file t_const_value.h.
|
inline |
|
inline |
|
inline |
Definition at line 129 of file t_const_value.h.
|
inline |
Definition at line 117 of file t_const_value.h.
|
inline |
Definition at line 99 of file t_const_value.h.
|
inline |
Definition at line 142 of file t_const_value.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 133 of file t_const_value.h.
|
inline |
Definition at line 121 of file t_const_value.h.
|
inline |
Definition at line 63 of file t_const_value.h.
|
inline |
Definition at line 177 of file t_const_value.h.
|
inline |
Definition at line 103 of file t_const_value.h.
|
inline |
Definition at line 94 of file t_const_value.h.
|
inline |
Definition at line 173 of file t_const_value.h.
|
inline |
Definition at line 137 of file t_const_value.h.
|
inline |
Definition at line 67 of file t_const_value.h.
|
inline |
Definition at line 125 of file t_const_value.h.
|
inline |
Definition at line 113 of file t_const_value.h.
|
inline |
Definition at line 58 of file t_const_value.h.
|
private |
Definition at line 186 of file t_const_value.h.
|
private |
Definition at line 188 of file t_const_value.h.
|
private |
Definition at line 187 of file t_const_value.h.
|
private |
Definition at line 185 of file t_const_value.h.
|
private |
Definition at line 183 of file t_const_value.h.
|
private |
Definition at line 182 of file t_const_value.h.
|
private |
Definition at line 184 of file t_const_value.h.
|
private |
Definition at line 190 of file t_const_value.h.