Public Member Functions | |
XmlDocument (std::string rootName="ROOT") | |
XmlDocument (const XmlDocument &doc) | |
XmlDocument & | operator= (const XmlDocument &doc) |
xercesc::DOMElement * | addTextElementToParent (std::string childName, std::string childText, xercesc::DOMElement *parent) |
xercesc::DOMElement * | addTextElementToParent (std::string childName, std::string childText, std::string parentName, unsigned int parentIndex=0) |
void | saveXmlDocument (std::string filePath) |
void | recursiveRemoveChild (xercesc::DOMElement *childEl, xercesc::DOMElement *parentEl) |
bool | loadXmlDocument (std::string filePath) |
void | outputXmlDocument (std::ostringstream *out, bool dispStdOut=false) |
Protected Member Functions | |
void | copyDocument (const xercesc::DOMDocument *toCopy, xercesc::DOMDocument *copy) |
void | recursiveElementCopy (const xercesc::DOMElement *toCopy, xercesc::DOMElement *copy) |
void | initDocument (void) |
void | initPlatform (void) |
void | terminatePlatform (void) |
void | recursiveOutputXmlDocument (xercesc::DOMElement *currEl, std::ostringstream *out, bool dispStdOut=false, std::string tabStr="") |
std::string | escapeString (std::string inString, bool allowWhiteSpace=false) |
Protected Attributes | |
xercesc::DOMImplementation * | theImplementation_ |
xercesc::DOMDocument * | theDocument_ |
xercesc::DOMElement * | rootElement_ |
const std::string | rootTagName_ |
Definition at line 12 of file XmlDocument.h.