summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/interpreter')
-rw-r--r--src/uscxml/interpreter/InterpreterFast.cpp10
-rw-r--r--src/uscxml/interpreter/InterpreterFast.h26
2 files changed, 18 insertions, 18 deletions
diff --git a/src/uscxml/interpreter/InterpreterFast.cpp b/src/uscxml/interpreter/InterpreterFast.cpp
index 0958c61..94fcdce 100644
--- a/src/uscxml/interpreter/InterpreterFast.cpp
+++ b/src/uscxml/interpreter/InterpreterFast.cpp
@@ -33,10 +33,10 @@ using namespace Arabica::DOM;
void InterpreterFast::handleDOMEvent(Arabica::DOM::Events::Event<std::string>& event) {
- InterpreterImpl::handleDOMEvent(event);
-
- if (event.getType().compare("DOMAttrModified") == 0) // we do not care about attributes
- return;
-
+ InterpreterImpl::handleDOMEvent(event);
+
+ if (event.getType().compare("DOMAttrModified") == 0) // we do not care about attributes
+ return;
+
}
} \ No newline at end of file
diff --git a/src/uscxml/interpreter/InterpreterFast.h b/src/uscxml/interpreter/InterpreterFast.h
index 589e899..5838dc0 100644
--- a/src/uscxml/interpreter/InterpreterFast.h
+++ b/src/uscxml/interpreter/InterpreterFast.h
@@ -23,25 +23,25 @@
#include "uscxml/Interpreter.h"
namespace uscxml {
-
+
class InterpreterFast : public InterpreterImpl {
protected:
- virtual void setupSets();
- virtual void handleDOMEvent(Arabica::DOM::Events::Event<std::string>& event);
-
+ virtual void setupSets();
+ virtual void handleDOMEvent(Arabica::DOM::Events::Event<std::string>& event);
+
private:
- /* TODO: use post-order and document-order per STL comparator (sorted std::set?) */
-
- std::vector<Arabica::XPath::NodeSet<std::string> > _states;
- std::vector<Arabica::XPath::NodeSet<std::string> > _transitions;
-
- std::vector<std::vector<bool> > _conflictingTransitions;
- std::vector<std::vector<bool> > _exitSets;
- std::vector<std::vector<bool> > _targetSets;
+ /* TODO: use post-order and document-order per STL comparator (sorted std::set?) */
+
+ std::vector<Arabica::XPath::NodeSet<std::string> > _states;
+ std::vector<Arabica::XPath::NodeSet<std::string> > _transitions;
+
+ std::vector<std::vector<bool> > _conflictingTransitions;
+ std::vector<std::vector<bool> > _exitSets;
+ std::vector<std::vector<bool> > _targetSets;
};
-
+
}
#endif /* end of include guard: INTERPRETERFAST_H_224A5F07 */