|
dl
|
任意类型 更多...
#include <dl_value.h>
Public 成员函数 | |
| Value () | |
| Value (ValueType type) | |
| ~Value () | |
| Value & | operator= (const Value &b) |
| Value (const Value &b) | |
| Value (bool v) | |
| Value (char v) | |
| Value (short v) | |
| Value (int v) | |
| Value (unsigned char v) | |
| Value (unsigned short v) | |
| Value (unsigned int v) | |
| Value (int64_t v) | |
| Value (uint64_t v) | |
| Value (float v) | |
| Value (double v) | |
| Value (void *v) | |
| Value (const char *str) | |
| Value (const std::string &str) | |
| Value (std::string_view str) | |
| Value (const ValueVector &vec) | |
| Value (const ValueStruct &s) | |
| template<typename T, size_t N> | |
| Value (const std::array< T, N > &arr) | |
| ValueType | GetType () |
| operator bool () const | |
| std::string | GetString (bool add_quotes=true) const |
| json | GetJson () const |
| template<typename T> | |
| bool | _type_cast (T &ret, ValueType type) const |
| bool | ToBool () const |
| char | ToChar () const |
| unsigned char | ToUChar () const |
| short | ToShort () const |
| unsigned short | ToUShort () const |
| int | ToInt () const |
| unsigned | ToUInt () const |
| int64_t | ToInt64 () const |
| uint64_t | ToUInt64 () const |
| float | ToFloat () const |
| double | ToDouble () const |
| void * | ToPointer () const |
| std::string | ToString () const |
| const ValueStruct & | ToStruct () const |
| const ValueVector & | ToVector () const |
| template<size_t N> | |
| std::array< Value, N > | ToArray () const |
任意类型
在文件 dl_value.h 第 76 行定义.
|
inline |
在文件 dl_value.h 第 104 行定义.
| dl::Value::Value | ( | ValueType | type | ) |
|
inline |
在文件 dl_value.h 第 107 行定义.
| dl::Value::Value | ( | const Value & | b | ) |
|
inline |
在文件 dl_value.h 第 130 行定义.
|
inline |
在文件 dl_value.h 第 131 行定义.
|
inline |
在文件 dl_value.h 第 132 行定义.
|
inline |
在文件 dl_value.h 第 133 行定义.
|
inline |
在文件 dl_value.h 第 134 行定义.
|
inline |
在文件 dl_value.h 第 135 行定义.
|
inline |
在文件 dl_value.h 第 136 行定义.
|
inline |
在文件 dl_value.h 第 137 行定义.
|
inline |
在文件 dl_value.h 第 138 行定义.
|
inline |
在文件 dl_value.h 第 139 行定义.
|
inline |
在文件 dl_value.h 第 140 行定义.
|
inline |
在文件 dl_value.h 第 141 行定义.
|
inline |
在文件 dl_value.h 第 142 行定义.
|
inline |
在文件 dl_value.h 第 147 行定义.
|
inline |
在文件 dl_value.h 第 152 行定义.
|
inline |
在文件 dl_value.h 第 157 行定义.
|
inline |
在文件 dl_value.h 第 162 行定义.
在文件 dl_value.h 第 168 行定义.
在文件 dl_value.h 第 198 行定义.
| json dl::Value::GetJson | ( | ) | const |
| std::string dl::Value::GetString | ( | bool | add_quotes = true | ) | const |
值的显示字符串 add_quotes 是否给字符串加上双引号
|
inline |
在文件 dl_value.h 第 180 行定义.
|
inline |
在文件 dl_value.h 第 182 行定义.
在文件 dl_value.h 第 355 行定义.
|
inline |
在文件 dl_value.h 第 257 行定义.
|
inline |
在文件 dl_value.h 第 264 行定义.
|
inline |
在文件 dl_value.h 第 327 行定义.
|
inline |
在文件 dl_value.h 第 320 行定义.
|
inline |
在文件 dl_value.h 第 292 行定义.
|
inline |
在文件 dl_value.h 第 306 行定义.
|
inline |
在文件 dl_value.h 第 334 行定义.
|
inline |
在文件 dl_value.h 第 278 行定义.
|
inline |
在文件 dl_value.h 第 343 行定义.
| const ValueStruct & dl::Value::ToStruct | ( | ) | const |
|
inline |
在文件 dl_value.h 第 271 行定义.
|
inline |
在文件 dl_value.h 第 299 行定义.
|
inline |
在文件 dl_value.h 第 313 行定义.
|
inline |
在文件 dl_value.h 第 285 行定义.
| const ValueVector & dl::Value::ToVector | ( | ) | const |
| bool dl::Value::_bool |
在文件 dl_value.h 第 85 行定义.
| char dl::Value::_char |
在文件 dl_value.h 第 86 行定义.
| double dl::Value::_double |
在文件 dl_value.h 第 95 行定义.
| float dl::Value::_float |
在文件 dl_value.h 第 94 行定义.
| int64_t dl::Value::_i64 |
在文件 dl_value.h 第 92 行定义.
| int dl::Value::_int |
在文件 dl_value.h 第 88 行定义.
| void* dl::Value::_pointer |
在文件 dl_value.h 第 96 行定义.
| short dl::Value::_short |
在文件 dl_value.h 第 87 行定义.
| std::string* dl::Value::_string |
在文件 dl_value.h 第 99 行定义.
| SharedStruct* dl::Value::_struct |
在文件 dl_value.h 第 101 行定义.
| unsigned char dl::Value::_uchar |
在文件 dl_value.h 第 89 行定义.
| unsigned int dl::Value::_uint |
在文件 dl_value.h 第 91 行定义.
| uint64_t dl::Value::_uint64 |
在文件 dl_value.h 第 93 行定义.
| unsigned short dl::Value::_ushort |
在文件 dl_value.h 第 90 行定义.
| SharedVector* dl::Value::_vector |
在文件 dl_value.h 第 100 行定义.