![]() |
hivemind 1.0.0
|
Implementation for floats. More...
#include <serializer.h>
Public Member Functions | |
ISFloat (float &v) | |
virtual rapidjson::Value | ToDom (rapidjson::Document &d) |
ToDom is the function that enables the serializer to take data from the application to the JSON file. | |
virtual void | FromDom (rapidjson::Value &v, rapidjson::Document &d) |
FromDom is the function that enables the serializer to get data out of the JSON file and put it in the application. | |
![]() | |
virtual ISProperties | GetProperty () |
GetProperty enables the serializer to deal with composite type like objects and members. | |
virtual void | CreateObject () |
For future expansion. | |
virtual rapidjson::Value | GetName (rapidjson::Document &d) |
For future expansion. | |
virtual rapidjson::Value | ToDom (rapidjson::Document &d) |
ToDom is the function that enables the serializer to take data from the application to the JSON file. | |
virtual void | FromDom (rapidjson::Value &v, rapidjson::Document &d) |
FromDom is the function that enables the serializer to get data out of the JSON file and put it in the application. | |
Private Attributes | |
float & | value |
Implementation for floats.
Definition at line 95 of file serializer.h.
|
inline |
Definition at line 100 of file serializer.h.
|
virtual |
FromDom is the function that enables the serializer to get data out of the JSON file and put it in the application.
Reimplemented from Json::ISValue.
Definition at line 41 of file serializer.cpp.
References value.
|
virtual |
ToDom is the function that enables the serializer to take data from the application to the JSON file.
Reimplemented from Json::ISValue.
Definition at line 33 of file serializer.cpp.
References value.
|
private |
Definition at line 97 of file serializer.h.