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

Public Member Functions

 HttpXmlDocument (std::string cookieCode="", std::string displayName="")
 
 HttpXmlDocument (const HttpXmlDocument &doc)
 
HttpXmlDocumentoperator= (const HttpXmlDocument &doc)
 
void setHeader (std::string cookieCode="", std::string displayName="")
 
xercesc::DOMElement * getRootDataElement (void)
 
xercesc::DOMElement * addTextElementToData (const std::string &field, const std::string &value="")
 
xercesc::DOMElement * addBinaryStringToData (const std::string &field, const std::string &binary)
 
void copyDataChildren (HttpXmlDocument &document)
 
std::string getMatchingValue (const std::string &field, const unsigned int occurance=0)
 
void getAllMatchingValues (const std::string &field, std::vector< std::string > &retVec)
 
xercesc::DOMElement * getMatchingElement (const std::string &field, const unsigned int occurance=0)
 
xercesc::DOMElement * getMatchingElementInSubtree (xercesc::DOMElement *currEl, const std::string &field, const unsigned int occurance=0)
 
void getAllMatchingElements (const std::string &field, std::vector< xercesc::DOMElement * > &retVec)
 
void outputXmlDocument (std::ostringstream *out, bool dispStdOut=false, bool allowWhiteSpace=false)
 
bool loadXmlDocument (const std::string &filePath)
 
unsigned int getChildrenCount (xercesc::DOMElement *parent=0)
 
void removeDataElement (unsigned int dataChildIndex=0)
 
- Public Member Functions inherited from ots::XmlDocument
 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)
 

Additional Inherited Members

- Protected Member Functions inherited from ots::XmlDocument
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 inherited from ots::XmlDocument
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 14 of file HttpXmlDocument.h.


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