summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/DataModel.cpp
diff options
context:
space:
mode:
authoralexzhornyak <alexander.zhornyak@gmail.com>2017-05-13 21:39:11 (GMT)
committeralexzhornyak <alexander.zhornyak@gmail.com>2017-05-13 21:39:11 (GMT)
commitb3c8edc7788fc6bcdd941ecdee5435957bc08366 (patch)
tree4e4238ad748c5f9e7baf28a24783bb2cccc07cdd /src/uscxml/plugins/DataModel.cpp
parent43370419fb7a9f14d85f96f39ffff86a337756d4 (diff)
parent82087b37adc295d1aab5afd51f855f8d9f0923f8 (diff)
downloaduscxml-b3c8edc7788fc6bcdd941ecdee5435957bc08366.zip
uscxml-b3c8edc7788fc6bcdd941ecdee5435957bc08366.tar.gz
uscxml-b3c8edc7788fc6bcdd941ecdee5435957bc08366.tar.bz2
Merge branch 'Improving-EvalAsData' into Explicit-Eval
Diffstat (limited to 'src/uscxml/plugins/DataModel.cpp')
-rw-r--r--src/uscxml/plugins/DataModel.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/uscxml/plugins/DataModel.cpp b/src/uscxml/plugins/DataModel.cpp
index 07fd4b4..cf4dda2 100644
--- a/src/uscxml/plugins/DataModel.cpp
+++ b/src/uscxml/plugins/DataModel.cpp
@@ -42,6 +42,10 @@ Data DataModel::evalAsData(const std::string& content) {
return _impl->evalAsData(content);
}
+void DataModel::eval(const std::string& content) {
+ _impl->eval(content);
+}
+
bool DataModel::evalAsBool(const std::string& expr) {
return _impl->evalAsBool(expr);
}