otsdaq  v2_05_02_indev
ots::XmlDocument Class Reference
Inheritance diagram for ots::XmlDocument:
ots::HttpXmlDocument

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)
 
void makeDirectoryBinaryTree (std::string name, std::string rootPath, int indent, xercesc::DOMElement *anchorNode)
 
xercesc::DOMElement * populateBinaryTreeNode (xercesc::DOMElement *anchorNode, std::string name, int indent, bool isLeaf)
 
void setAnchors (std::string fSystemPath, std::string fRootPath)
 
void setDocument (xercesc::DOMDocument *doc)
 
void setDarioStyle (bool darioStyle)
 
void setRootPath (std::string rootPath)
 

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_
 
xercesc::DOMDocument * doc
 
xercesc::DOMElement * rootElem
 
DIR * dir
 
struct dirent * entry
 
int lastIndent
 
int errorCode
 
int level
 
std::string fullPath
 
std::string fullFPath
 
std::stringstream ss_
 
std::map< int,
xercesc::DOMElement * > 
theNodes_
 
std::map< int, std::string > theNames_
 
std::vector< std::string > hierarchyPaths_
 
xercesc::DOMImplementation * impl
 
xercesc::DOMLSSerializer * pSerializer
 
xercesc::DOMConfiguration * pDomConfiguration
 
bool darioXMLStyle_
 
std::string fSystemPath_
 
std::string fRootPath_
 
std::string fFoldersPath_
 
std::string fFileName_
 
std::string fThisFolderPath_
 
int indent_
 
std::map< bool, std::string > isALeaf_
 

Detailed Description

Definition at line 33 of file XmlDocument.h.


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