DUECA/DUSIME
|
Conversion routines for writing DCO objects to XML. More...
Functions | |
void | dueca::DCOtoXML (pugi::xml_node &writer, CommObjectReader &reader, bool meta=false) |
Convert the data from a DCO object to an XML stringbuffer. | |
void | dueca::DCOtoXML (pugi::xml_node &writer, const char *dcoclass, const void *object, bool meta=false) |
Convert the data from a DCO object to a JSON stringbuffer. | |
Conversion routines for writing DCO objects to XML.
void dueca::DCOtoXML | ( | pugi::xml_node & | writer, |
CommObjectReader & | reader, | ||
bool | meta = false ) |
Convert the data from a DCO object to an XML stringbuffer.
Codes DCO type information, using a dueca::CommObjectReader object. Note that the dueca::DCOReader that can be created with an access token is also a dueca::CommObjectReader.
writer | XML node writer object |
reader | Channel access object. |
meta | If true, the type information is added for member values. |
void dueca::DCOtoXML | ( | pugi::xml_node & | writer, |
const char * | dcoclass, | ||
const void * | object, | ||
bool | meta = false ) |
Convert the data from a DCO object to a JSON stringbuffer.
Codes DCO type information, using the name of the coded class, and a pointer to the data.
writer | XML node writer object |
dcoclass | Name of the object class. |
object | Pointer to the object to be read. |
meta | If true, the type information is added for member values. |