Json Box
0.6.1
This is a JSON C++ library. It can write and read JSON files with ease and speed.
|
Public Member Functions | |
ValueDataPointer () | |
ValueDataPointer (std::string *newStringValue) | |
ValueDataPointer (int *newIntValue) | |
ValueDataPointer (double *newDoubleValue) | |
ValueDataPointer (Object *newObjectValue) | |
ValueDataPointer (Array *newArrayValue) | |
ValueDataPointer (bool *newBoolValue) | |
Public Attributes | |
std::string * | stringValue |
int * | intValue |
double * | doubleValue |
Object * | objectValue |
Array * | arrayValue |
bool * | boolValue |
Union used to contain the pointer to the value's data.
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | ) |
Default constructor. Puts the pointers at NULL.
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | std::string * | newStringValue | ) |
Parameterized constructor.
newStringValue | Pointer to set to the string pointer. |
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | int * | newIntValue | ) |
Parameterized constructor.
newIntValue | Pointer to set to the int pointer. |
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | double * | newDoubleValue | ) |
Parameterized constructor.
newDoubleValue | Pointer to set to the double pointer. |
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | Object * | newObjectValue | ) |
Parameterized constructor.
newObjectValue | Pointer to set to the object pointer. |
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | Array * | newArrayValue | ) |
Parameterized constructor.
newArrayValue | Pointer to set to the array pointer. |
JsonBox::Value::ValueDataPointer::ValueDataPointer | ( | bool * | newBoolValue | ) |
Parameterized constructor.
newBoolValue | Pointer to set to the bool pointer. |
Array* JsonBox::Value::ValueDataPointer::arrayValue |
bool* JsonBox::Value::ValueDataPointer::boolValue |
double* JsonBox::Value::ValueDataPointer::doubleValue |
int* JsonBox::Value::ValueDataPointer::intValue |
Object* JsonBox::Value::ValueDataPointer::objectValue |
std::string* JsonBox::Value::ValueDataPointer::stringValue |