diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-31 23:58:37 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-03-31 23:58:37 (GMT) |
commit | c912952fb5e8072770262c64932c1d8cf2027cf0 (patch) | |
tree | d21ae1340c96f9fe1105f9cdaa62d84342f58cd9 /src/uscxml/Factory.h | |
parent | f64620e28a55dbddaeeefef2e7b8a6a433f21c82 (diff) | |
download | uscxml-c912952fb5e8072770262c64932c1d8cf2027cf0.zip uscxml-c912952fb5e8072770262c64932c1d8cf2027cf0.tar.gz uscxml-c912952fb5e8072770262c64932c1d8cf2027cf0.tar.bz2 |
Various bug-fixes for W3C test conformance and stack traces with exceptions and segfaults
Diffstat (limited to 'src/uscxml/Factory.h')
-rw-r--r-- | src/uscxml/Factory.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uscxml/Factory.h b/src/uscxml/Factory.h index 9cfc202..b86c5d1 100644 --- a/src/uscxml/Factory.h +++ b/src/uscxml/Factory.h @@ -157,6 +157,10 @@ public: return *this; } + virtual std::set<std::string> getNames() { + return _impl->getNames(); + } + virtual Data getDataModelVariables() const { return _impl->getDataModelVariables(); }; @@ -242,6 +246,7 @@ public: virtual bool evalAsBool(const std::string& expr) = 0; virtual void assign(const std::string& location, const std::string& expr) = 0; virtual void assign(const std::string& location, const Data& data) = 0; + virtual bool isDefined(const std::string& expr) = 0; protected: Interpreter* _interpreter; @@ -315,6 +320,10 @@ public: return _impl->assign(location, data); } + virtual bool isDefined(const std::string& expr) { + return _impl->isDefined(expr); + } + protected: boost::shared_ptr<DataModelImpl> _impl; }; |