otsdaq  v1_01_03
 All Classes Namespaces Functions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ots::XmlDocument Class Reference
+ Inheritance diagram for ots::XmlDocument:

Public Member Functions

 XmlDocument (std::string rootName="ROOT")
 
 XmlDocument (const XmlDocument &doc)
 
XmlDocumentoperator= (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_
 

Detailed Description

Definition at line 12 of file XmlDocument.h.


The documentation for this class was generated from the following files: