Value wrapper for various types.
A value instance can be initialized with a specific type, meanwhile it can be casted back to its raw type.
Definition at line 53 of file object.hpp.
Public Member Functions | |
| Value () | |
| Value (char value) | |
| Value (unsigned char value) | |
| Value (int value) | |
| Value (unsigned int value) | |
| Value (long value) | |
| Value (unsigned long value) | |
| Value (float value) | |
| Value (double value) | |
| Value (const std::string value) | |
| Value (const char *value) | |
| Value (bool value) | |
| Value (const Value &other) | |
| virtual | ~Value () |
| Value & | operator= (const Value &other) |
| operator char () const | |
| operator unsigned char () const | |
| operator int () const | |
| operator unsigned int () const | |
| operator long () const | |
| operator unsigned long () const | |
| operator float () const | |
| operator double () const | |
| operator std::string () const | |
| operator const char * () const | |
| operator bool () const | |
| bool | isChar () const |
| bool | isUnsignedChar () const |
| bool | isInteger () const |
| bool | isUnsignedInteger () const |
| bool | isFloat () const |
| bool | isString () const |
| bool | isBoolean () const |
Friends | |
| class | Object |
| deepstream::Object::Value::Value | ( | ) |
| deepstream::Object::Value::Value | ( | char | value | ) |
| deepstream::Object::Value::Value | ( | unsigned char | value | ) |
| deepstream::Object::Value::Value | ( | int | value | ) |
| deepstream::Object::Value::Value | ( | unsigned int | value | ) |
| deepstream::Object::Value::Value | ( | long | value | ) |
| deepstream::Object::Value::Value | ( | unsigned long | value | ) |
| deepstream::Object::Value::Value | ( | float | value | ) |
| deepstream::Object::Value::Value | ( | double | value | ) |
| deepstream::Object::Value::Value | ( | const std::string | value | ) |
| deepstream::Object::Value::Value | ( | const char * | value | ) |
| deepstream::Object::Value::Value | ( | bool | value | ) |
| deepstream::Object::Value::Value | ( | const Value & | other | ) |
|
virtual |
| bool deepstream::Object::Value::isBoolean | ( | ) | const |
| bool deepstream::Object::Value::isChar | ( | ) | const |
| bool deepstream::Object::Value::isFloat | ( | ) | const |
| bool deepstream::Object::Value::isInteger | ( | ) | const |
| bool deepstream::Object::Value::isString | ( | ) | const |
| bool deepstream::Object::Value::isUnsignedChar | ( | ) | const |
| bool deepstream::Object::Value::isUnsignedInteger | ( | ) | const |
| deepstream::Object::Value::operator bool | ( | ) | const |
| deepstream::Object::Value::operator char | ( | ) | const |
| deepstream::Object::Value::operator const char * | ( | ) | const |
| deepstream::Object::Value::operator double | ( | ) | const |
| deepstream::Object::Value::operator float | ( | ) | const |
| deepstream::Object::Value::operator int | ( | ) | const |
| deepstream::Object::Value::operator long | ( | ) | const |
| deepstream::Object::Value::operator std::string | ( | ) | const |
| deepstream::Object::Value::operator unsigned char | ( | ) | const |
| deepstream::Object::Value::operator unsigned int | ( | ) | const |
| deepstream::Object::Value::operator unsigned long | ( | ) | const |
|
friend |
Definition at line 99 of file object.hpp.