24 #include <libxml/parser.h>
50 DEBTRACE(
" XmlCpp::put(const void *data)");
51 put((
const char *)data);
66 doc = xmlParseMemory(data, strlen(data));
70 msg <<
"Problem in conversion: XML Document not parsed successfully ";
71 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
74 cur = xmlDocGetRootElement(
doc);
79 msg <<
"Problem in conversion: empty XML Document";
80 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
85 if ((!xmlStrcmp(cur->name, (
const xmlChar *)
"value")))
96 msg <<
"Problem in conversion: incorrect XML value";
97 msg <<
" (" << __FILE__ <<
":" << __LINE__ <<
")";
: Interface for management of storage of data formated dynamically in its TypeCode....
TypeCode * edGetType() const
Base class for all ports.
Base class for Proxy Input Ports.
Base class for all type objects.
virtual void put(const void *data)
Any * convertXmlCpp(const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)
int isAdaptableCppXml(const TypeCode *t1, const TypeCode *t2)
int isAdaptableNeutralXml(const TypeCode *t1, const TypeCode *t2)
YACS::ENGINE::Any * convertXmlNeutral(const TypeCode *t, xmlDocPtr doc, xmlNodePtr cur)