![]() |
hivemind 1.0.0
|
Implementation for a vector with objects. More...
#include <serializer.h>
Public Member Functions | |
ISObjectVector (std::vector< std::shared_ptr< T > > &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 | |
std::vector< std::shared_ptr< T > > & | value |
Implementation for a vector with objects.
Definition at line 200 of file serializer.h.
|
inline |
Definition at line 205 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 225 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 212 of file serializer.h.
|
private |
Definition at line 202 of file serializer.h.