summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/wrapped
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/swig/wrapped')
-rw-r--r--src/bindings/swig/wrapped/WrappedDataModel.h2
-rw-r--r--src/bindings/swig/wrapped/WrappedExecutableContent.h4
-rw-r--r--src/bindings/swig/wrapped/WrappedInterpreterMonitor.h8
3 files changed, 7 insertions, 7 deletions
diff --git a/src/bindings/swig/wrapped/WrappedDataModel.h b/src/bindings/swig/wrapped/WrappedDataModel.h
index 481f0ea..e988dc0 100644
--- a/src/bindings/swig/wrapped/WrappedDataModel.h
+++ b/src/bindings/swig/wrapped/WrappedDataModel.h
@@ -89,7 +89,7 @@ public:
return evalAsBool("", expr);
}
- virtual bool evalAsBool(const Arabica::DOM::Node<std::string>& node, const std::string& expr) {
+ virtual bool evalAsBool(const Arabica::DOM::Element<std::string>& node, const std::string& expr) {
std::ostringstream ssNode;
ssNode << node;
return evalAsBool(ssNode.str(), expr);
diff --git a/src/bindings/swig/wrapped/WrappedExecutableContent.h b/src/bindings/swig/wrapped/WrappedExecutableContent.h
index b1ce4f9..d194f0d 100644
--- a/src/bindings/swig/wrapped/WrappedExecutableContent.h
+++ b/src/bindings/swig/wrapped/WrappedExecutableContent.h
@@ -55,13 +55,13 @@ public:
return "http://www.w3.org/2005/07/scxml";
}
- virtual void enterElement(const Arabica::DOM::Node<std::string>& node) {
+ virtual void enterElement(const Arabica::DOM::Element<std::string>& node) {
std::ostringstream ssElement;
ssElement << node;
enterElement(ssElement.str());
}
- virtual void exitElement(const Arabica::DOM::Node<std::string>& node) {
+ virtual void exitElement(const Arabica::DOM::Element<std::string>& node) {
std::ostringstream ssElement;
ssElement << node;
exitElement(ssElement.str());
diff --git a/src/bindings/swig/wrapped/WrappedInterpreterMonitor.h b/src/bindings/swig/wrapped/WrappedInterpreterMonitor.h
index 0aac660..60fa5a5 100644
--- a/src/bindings/swig/wrapped/WrappedInterpreterMonitor.h
+++ b/src/bindings/swig/wrapped/WrappedInterpreterMonitor.h
@@ -129,10 +129,10 @@ public:
std::list<std::string> targets;
for (int i = 0; i < targetStates.size(); i++) {
- targets.push_back(ATTR(targetStates[i], "id"));
+ targets.push_back(ATTR_CAST(targetStates[i], "id"));
}
- beforeTakingTransition(interpreter, DOMUtils::xPathForNode(transition), ATTR(sourceState, "id"), targets, ss.str(), moreComing);
+ beforeTakingTransition(interpreter, DOMUtils::xPathForNode(transition), ATTR_CAST(sourceState, "id"), targets, ss.str(), moreComing);
}
virtual void beforeTakingTransition(Interpreter interpreter,
const std::string& xpath,
@@ -152,10 +152,10 @@ public:
std::list<std::string> targets;
for (int i = 0; i < targetStates.size(); i++) {
- targets.push_back(ATTR(targetStates[i], "id"));
+ targets.push_back(ATTR_CAST(targetStates[i], "id"));
}
- afterTakingTransition(interpreter, DOMUtils::xPathForNode(transition), ATTR(sourceState, "id"), targets, ss.str(), moreComing);
+ afterTakingTransition(interpreter, DOMUtils::xPathForNode(transition), ATTR_CAST(sourceState, "id"), targets, ss.str(), moreComing);
}
virtual void afterTakingTransition(Interpreter interpreter,
const std::string& xpath,