DOM.h File Reference
#include <set>
#include <list>
#include <string>
#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(attr)))
 
#define ATTR_CAST(elem, attr)   ATTR(static_cast<const DOMElement*>(elem), attr)
 
#define HAS_ATTR(elem, attr)   (elem)->hasAttribute(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)
 

Variables

static const X uscxml::kXMLCharArray = X("array")
 
static const X uscxml::kXMLCharAssign = X("assign")
 
static const X uscxml::kXMLCharAutoForward = X("autoforward")
 
static const X uscxml::kXMLCharBinding = X("binding")
 
static const X uscxml::kXMLCharCond = X("cond")
 
static const X uscxml::kXMLCharContent = X("content")
 
static const X uscxml::kXMLCharData = X("data")
 
static const X uscxml::kXMLCharDataModel = X("datamodel")
 
static const X uscxml::kXMLCharDelay = X("delay")
 
static const X uscxml::kXMLCharDelayExpr = X("delayexpr")
 
static const X uscxml::kXMLCharElse = X("else")
 
static const X uscxml::kXMLCharElseIf = X("elseif")
 
static const X uscxml::kXMLCharEvent = X("event")
 
static const X uscxml::kXMLCharEventExpr = X("eventexpr")
 
static const X uscxml::kXMLCharExpr = X("expr")
 
static const X uscxml::kXMLCharFinal = X("final")
 
static const X uscxml::kXMLCharForEach = X("foreach")
 
static const X uscxml::kXMLCharHistory = X("history")
 
static const X uscxml::kXMLCharId = X("id")
 
static const X uscxml::kXMLCharIdLocation = X("idlocation")
 
static const X uscxml::kXMLCharIf = X("if")
 
static const X uscxml::kXMLCharIndex = X("index")
 
static const X uscxml::kXMLCharInitial = X("initial")
 
static const X uscxml::kXMLCharInvokeId = X("invokeid")
 
static const X uscxml::kXMLCharItem = X("item")
 
static const X uscxml::kXMLCharLabel = X("label")
 
static const X uscxml::kXMLCharLocation = X("location")
 
static const X uscxml::kXMLCharLog = X("log")
 
static const X uscxml::kXMLCharName = X("name")
 
static const X uscxml::kXMLCharNameList = X("namelist")
 
static const X uscxml::kXMLCharOnEntry = X("onentry")
 
static const X uscxml::kXMLCharOnExit = X("onexit")
 
static const X uscxml::kXMLCharParallel = X("parallel")
 
static const X uscxml::kXMLCharParam = X("param")
 
static const X uscxml::kXMLCharRaise = X("raise")
 
static const X uscxml::kXMLCharScript = X("script")
 
static const X uscxml::kXMLCharScxml = X("scxml")
 
static const X uscxml::kXMLCharSendId = X("sendid")
 
static const X uscxml::kXMLCharSendIdExpr = X("sendidexpr")
 
static const X uscxml::kXMLCharSource = X("src")
 
static const X uscxml::kXMLCharSourceExpr = X("srcexpr")
 
static const X uscxml::kXMLCharState = X("state")
 
static const X uscxml::kXMLCharTarget = X("target")
 
static const X uscxml::kXMLCharTargetExpr = X("targetexpr")
 
static const X uscxml::kXMLCharTransition = X("transition")
 
static const X uscxml::kXMLCharType = X("type")
 
static const X uscxml::kXMLCharTypeExpr = X("typeexpr")
 

Detailed Description