diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-05-19 08:03:50 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-05-19 08:03:50 (GMT) |
commit | 5de792adc6796b0f03d62124765b4af0676dde46 (patch) | |
tree | e700d6b008b21c037aebcc1882fd9286920b2987 /src/uscxml/debug/InterpreterIssue.cpp | |
parent | f8e0c96fddfdd5f086e1bd973d6b0a19c39c93da (diff) | |
download | uscxml-5de792adc6796b0f03d62124765b4af0676dde46.zip uscxml-5de792adc6796b0f03d62124765b4af0676dde46.tar.gz uscxml-5de792adc6796b0f03d62124765b4af0676dde46.tar.bz2 |
Refactored for public headers and started documentation
Diffstat (limited to 'src/uscxml/debug/InterpreterIssue.cpp')
-rw-r--r-- | src/uscxml/debug/InterpreterIssue.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/uscxml/debug/InterpreterIssue.cpp b/src/uscxml/debug/InterpreterIssue.cpp index ce61af6..86947c1 100644 --- a/src/uscxml/debug/InterpreterIssue.cpp +++ b/src/uscxml/debug/InterpreterIssue.cpp @@ -23,15 +23,14 @@ #include "uscxml/util/DOM.h" #include "uscxml/util/String.h" #include "uscxml/util/Predicates.h" -//#include "uscxml/debug/Complexity.h" -#include "uscxml/Interpreter.h" +#include "uscxml/interpreter/InterpreterImpl.h" #include "uscxml/plugins/Factory.h" #include <xercesc/dom/DOMDocument.hpp> -namespace uscxml { +using namespace XERCESC_NS; -using namespace xercesc; +namespace uscxml { InterpreterIssue::InterpreterIssue(const std::string& msg, DOMNode* node, IssueSeverity severity, const std::string& specRef) : message(msg), node(node), severity(severity), specRef(specRef) { if (node) @@ -181,7 +180,7 @@ std::list<InterpreterIssue> InterpreterIssue::forInterpreter(InterpreterImpl* in std::list<DOMElement*> scxmls = nodeSets["scxml"]; scxmls.push_back(_scxml); - std::list<xercesc::DOMElement*> reachable = getReachableStates(_scxml); + std::list<XERCESC_NS::DOMElement*> reachable = getReachableStates(_scxml); std::list<DOMElement*>& states = nodeSets["state"]; std::list<DOMElement*>& parallels = nodeSets["parallel"]; |