summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/datamodel/promela/PromelaDataModel.h
diff options
context:
space:
mode:
authoralexzhornyak <alexander.zhornyak@gmail.com>2017-05-07 17:00:12 (GMT)
committeralexzhornyak <alexander.zhornyak@gmail.com>2017-05-07 17:00:12 (GMT)
commit43936ecb53a0eb582eaf3a56ec0c016f8c47ae7f (patch)
tree2ea3905b58db14856b141cde0aeefb0aead04bd2 /src/uscxml/plugins/datamodel/promela/PromelaDataModel.h
parent75bf929119ca976e0d6b8da75770d07b510d5824 (diff)
downloaduscxml-43936ecb53a0eb582eaf3a56ec0c016f8c47ae7f.zip
uscxml-43936ecb53a0eb582eaf3a56ec0c016f8c47ae7f.tar.gz
uscxml-43936ecb53a0eb582eaf3a56ec0c016f8c47ae7f.tar.bz2
evalAsScript
Implemented evalAsScript function
Diffstat (limited to 'src/uscxml/plugins/datamodel/promela/PromelaDataModel.h')
-rw-r--r--src/uscxml/plugins/datamodel/promela/PromelaDataModel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uscxml/plugins/datamodel/promela/PromelaDataModel.h b/src/uscxml/plugins/datamodel/promela/PromelaDataModel.h
index f19bd5d..37a2cf7 100644
--- a/src/uscxml/plugins/datamodel/promela/PromelaDataModel.h
+++ b/src/uscxml/plugins/datamodel/promela/PromelaDataModel.h
@@ -57,6 +57,7 @@ public:
virtual bool evalAsBool(const std::string& expr);
virtual Data evalAsData(const std::string& expr);
+ virtual void evalAsScript(const std::string& expr) { evalAsData(expr); }
virtual Data getAsData(const std::string& content);
virtual bool isDeclared(const std::string& expr);