27 #include "XMLWriter.h" 28 #include "InternalErr.h" 36 if (xmlTextWriterStartElement(xml.get_writer(), (
const xmlChar*)
"Map") < 0)
37 throw InternalErr(__FILE__, __LINE__,
"Could not write Map element");
39 if (xmlTextWriterWriteAttribute(xml.get_writer(), (
const xmlChar*)
"name", (
const xmlChar*)d_name.c_str()) < 0)
40 throw InternalErr(__FILE__, __LINE__,
"Could not write attribute for name");
42 if (xmlTextWriterEndElement(xml.get_writer()) < 0)
43 throw InternalErr(__FILE__, __LINE__,
"Could not end Map element");
48 D4Maps::operator=(
const D4Maps &rhs)
50 if (
this == &rhs)
return *
this;
top level DAP object to house generic methods
A class for software fault reporting.