diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-01-18 17:15:46 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-01-18 17:15:46 (GMT) |
commit | fc78cfdc4d1f5bba8dbd6a412f23651e185cb191 (patch) | |
tree | dd32929c07e6c19250f2e8fde1e73712bab0c6fb /src/uscxml/plugins/DataModelImpl.h | |
parent | 01ee860a88b5c8cf25fb7dcc145662d2c27f3ebe (diff) | |
download | uscxml-fc78cfdc4d1f5bba8dbd6a412f23651e185cb191.zip uscxml-fc78cfdc4d1f5bba8dbd6a412f23651e185cb191.tar.gz uscxml-fc78cfdc4d1f5bba8dbd6a412f23651e185cb191.tar.bz2 |
Worked on passing even more IRP tests
Diffstat (limited to 'src/uscxml/plugins/DataModelImpl.h')
-rw-r--r-- | src/uscxml/plugins/DataModelImpl.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/uscxml/plugins/DataModelImpl.h b/src/uscxml/plugins/DataModelImpl.h index e93361d..b1fbd88 100644 --- a/src/uscxml/plugins/DataModelImpl.h +++ b/src/uscxml/plugins/DataModelImpl.h @@ -182,8 +182,11 @@ public: \endverbatim * @param location A variable or locatio to assign to. * @param data The Data object with the respective data. + * @param attr Additional attributes of the XML assign element. */ - virtual void assign(const std::string& location, const Data& data) = 0; + virtual void assign(const std::string& location, + const Data& data, + const std::map<std::string, std::string>& attr = std::map<std::string, std::string>()) = 0; /** * Initialize a variable / location in the data-model with a given data object. @@ -192,8 +195,11 @@ public: * * @param location A variable or locatio to assign to. * @param data The Data object with the respective data. + * @param attr Additional attributes of the XML data element. */ - virtual void init(const std::string& location, const Data& data) = 0; + virtual void init(const std::string& location, + const Data& data, + const std::map<std::string, std::string>& attr = std::map<std::string, std::string>()) = 0; /** * Register an extension to get data into and out of the data-model. @@ -201,15 +207,6 @@ public: */ virtual void addExtension(DataModelExtension* ext); - /** - * Concat the given terms into a conjunctive form. - * @todo This is required to automatically transform a state-chart into a - * state-machine. Actual transformation is still only available in legacy though. - */ - virtual std::string andExpressions(std::list<std::string>) { - return ""; - } - protected: DataModelCallbacks* _callbacks; }; |