DOM.h File Reference
#include <set>
#include <list>
#include <iostream>
#include "uscxml/Common.h"
#include <xercesc/util/XMLString.hpp>
#include <xercesc/dom/DOM.hpp>
Include dependency graph for DOM.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  uscxml::DOMUtils
 
class  uscxml::X
 

Macros

#define ATTR(elem, attr)   std::string(X((elem)->getAttribute(X(attr))))
 
#define ATTR_CAST(elem, attr)   ATTR(static_cast<const DOMElement*>(elem), attr)
 
#define HAS_ATTR(elem, attr)   (elem)->hasAttribute(X(attr))
 
#define HAS_ATTR_CAST(elem, attr)   HAS_ATTR(static_cast<const DOMElement*>(elem), attr)
 
#define LOCALNAME(elem)   std::string(X((elem)->getLocalName()))
 
#define LOCALNAME_CAST(elem)   LOCALNAME(static_cast<const DOMElement*>(elem))
 
#define TAGNAME(elem)   std::string(X((elem)->getTagName()))
 
#define TAGNAME_CAST(elem)   TAGNAME(static_cast<const DOMElement*>(elem))
 
#define XML_PREFIX(element)   X(element->getPrefix() ? X(element->getPrefix()).str() + ":" : "")
 

Functions

std::ostream & uscxml::operator<< (std::ostream &os, const X &xmlString)
 
USCXML_API std::ostream & uscxml::operator<< (std::ostream &os, const XERCESC_NS::DOMNode &node)
 

Detailed Description