otsdaq  v1_01_02
 All Classes Namespaces Functions
Public Member Functions | List of all members
ots::HttpXmlDocument Class Reference
+ Inheritance diagram for ots::HttpXmlDocument:

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 ()
 
xercesc::DOMElement * addTextElementToData (const std::string &field, const std::string &value="")
 
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)
 

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_
 

Detailed Description

Definition at line 14 of file HttpXmlDocument.h.


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