![]() |
hivemind 1.0.0
|
Implementation for objects. More...
#include <serializer.h>
Public Member Functions | |
ISObject (std::shared_ptr< T > &v) | |
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. | |
void | CreateObject () |
For future expansion. | |
![]() | |
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 | |
std::shared_ptr< T > & | value |
Implementation for objects.
Definition at line 148 of file serializer.h.
|
inline |
Definition at line 153 of file serializer.h.
|
virtual |
For future expansion.
Reimplemented from Json::ISValue.
Definition at line 191 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 172 of file serializer.h.
|
virtual |
For future expansion.
Typeid is mostly implemented for future expansion, but it helps with making the JSON file more readable for humans.
Reimplemented from Json::ISValue.
Definition at line 182 of file serializer.h.
|
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 162 of file serializer.h.
|
private |
Definition at line 150 of file serializer.h.