|
Eile Mit Weile
|
A serializable value, used for writing values into json. More...
#include <serializable_value.hpp>
Public Member Functions | |
| SerializableValue (T val) | |
| T | GetValue () const |
| void | SetValue (T val) |
| void | WriteIntoJson (rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override |
Public Member Functions inherited from Serializable | |
| virtual rapidjson::Document * | ToJson () const |
Static Public Member Functions | |
| static SerializableValue< T > * | FromJson (const rapidjson::Value &json) |
Private Attributes | |
| T | value |
A serializable value, used for writing values into json.
| T | The type of the value |
Supported value types are:
|
inlineexplicit |
Constructor: creates a SerializableValue with a value
|
inlinestatic |
< Deserializes a SerializableValue object from a json object.
|
inlineoverridevirtual |
Serializes a serializable object into a json object.
< Serializes a SerializableValue object into a json object.
Implements Serializable.
|
private |
The value of the SerializableValue