|
DUECA/DUSIME
|
Conversion routines for JSON to DCO. More...

Macros | |
| #define | RAPIDJSON_PARSE_DEFAULT_FLAGS kParseNanAndInfFlag |
| Macro definition allowing NaN and Inf parsing. | |
Typedefs | |
| typedef rapidjson::GenericValue< rapidjson::UTF8<> > | dueca::JValue |
| Shorthand for the used JSON type. | |
Functions | |
| void | dueca::JSONtoDCO (const JValue &reader, CommObjectWriter &writer) |
| Convert the data from a JSON stringbuffer to a DCO object. | |
| template<typename T > | |
| const char * | dueca::getclassname () |
| classname function, should exist for DCO objects | |
| template<class RD , class DCO > | |
| void | dueca::json_to_dco (RD &reader, DCO &object) |
| Convert the data from a JSON representation into a DCO object. | |
Conversion routines for JSON to DCO.
| void dueca::JSONtoDCO | ( | const JValue & | reader, |
| CommObjectWriter & | writer ) |
Convert the data from a JSON stringbuffer to a DCO object.
| reader | RapidJSON value object. |
| writer | DCO channel access object. |
| const char * dueca::getclassname | ( | ) |
classname function, should exist for DCO objects
classname function, default for DCO objects
| void dueca::json_to_dco | ( | RD & | reader, |
| DCO & | object ) |
Convert the data from a JSON representation into a DCO object.
Templated version, directly access the (known) object.
| reader | JSON representation. |
| object | Object to be written. |
| WR | Compatible type for JSON writing |
| DCO | Class of the DCO object |