summaryrefslogtreecommitdiffstats
path: root/src/bindings/swig/wrapped/WrappedInterpreterMonitor.h
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-03 12:10:57 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-08-03 12:10:57 (GMT)
commit6e1a4a67d5b17e92135cd3f5daf51bf044d76e40 (patch)
tree63d8de9a5ba99dbcd16c6bd867241a7e7466c559 /src/bindings/swig/wrapped/WrappedInterpreterMonitor.h
parent37f8735a66aadd0e3f019f5edbb9356cf4a7b974 (diff)
downloaduscxml-6e1a4a67d5b17e92135cd3f5daf51bf044d76e40.zip
uscxml-6e1a4a67d5b17e92135cd3f5daf51bf044d76e40.tar.gz
uscxml-6e1a4a67d5b17e92135cd3f5daf51bf044d76e40.tar.bz2
Got rid of more dynamic_casts
Diffstat (limited to 'src/bindings/swig/wrapped/WrappedInterpreterMonitor.h')
-rw-r--r--src/bindings/swig/wrapped/WrappedInterpreterMonitor.h8
1 files changed, 4 insertions, 4 deletions
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,