diff options
Diffstat (limited to 'src/uscxml/plugins/DataModel.h')
-rw-r--r-- | src/uscxml/plugins/DataModel.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/uscxml/plugins/DataModel.h b/src/uscxml/plugins/DataModel.h index 74277c8..df0143d 100644 --- a/src/uscxml/plugins/DataModel.h +++ b/src/uscxml/plugins/DataModel.h @@ -116,7 +116,7 @@ protected: class USCXML_API DataModel { public: - + DataModel() : _impl() {} DataModel(const boost::shared_ptr<DataModelImpl> impl) : _impl(impl) { } DataModel(const DataModel& other) : _impl(other._impl) { } @@ -140,121 +140,121 @@ public: } virtual std::list<std::string> getNames() { - TIME_BLOCK - return _impl->getNames(); + TIME_BLOCK + return _impl->getNames(); } virtual bool validate(const std::string& location, const std::string& schema) { - TIME_BLOCK + TIME_BLOCK return _impl->validate(location, schema); } virtual bool isLocation(const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->isLocation(expr); } virtual bool isValidSyntax(const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->isValidSyntax(expr); } virtual void setEvent(const Event& event) { - TIME_BLOCK + TIME_BLOCK return _impl->setEvent(event); } virtual Data getStringAsData(const std::string& content) { - TIME_BLOCK + TIME_BLOCK return _impl->getStringAsData(content); } virtual void pushContext() { - TIME_BLOCK + TIME_BLOCK return _impl->pushContext(); } virtual void popContext() { - TIME_BLOCK + TIME_BLOCK return _impl->popContext(); } virtual void eval(const Arabica::DOM::Element<std::string>& scriptElem, const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->eval(scriptElem, expr); } virtual std::string evalAsString(const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->evalAsString(expr); } virtual bool evalAsBool(const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->evalAsBool(expr); } virtual bool evalAsBool(const Arabica::DOM::Element<std::string>& scriptNode, const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->evalAsBool(scriptNode, expr); } virtual uint32_t getLength(const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->getLength(expr); } virtual void setForeach(const std::string& item, const std::string& array, const std::string& index, uint32_t iteration) { - TIME_BLOCK + TIME_BLOCK return _impl->setForeach(item, array, index, iteration); } virtual void assign(const Arabica::DOM::Element<std::string>& assignElem, const Arabica::DOM::Node<std::string>& node, const std::string& content) { - TIME_BLOCK + TIME_BLOCK return _impl->assign(assignElem, node, content); } virtual void assign(const std::string& location, const Data& data) { - TIME_BLOCK + TIME_BLOCK return _impl->assign(location, data); } virtual void init(const Arabica::DOM::Element<std::string>& dataElem, const Arabica::DOM::Node<std::string>& node, const std::string& content) { - TIME_BLOCK + TIME_BLOCK return _impl->init(dataElem, node, content); } virtual void init(const std::string& location, const Data& data) { - TIME_BLOCK + TIME_BLOCK return _impl->init(location, data); } virtual bool isDeclared(const std::string& expr) { - TIME_BLOCK + TIME_BLOCK return _impl->isDeclared(expr); } size_t replaceExpressions(std::string& content) { - TIME_BLOCK + TIME_BLOCK return _impl->replaceExpressions(content); } std::string andExpressions(std::list<std::string> expressions) { - TIME_BLOCK + TIME_BLOCK return _impl->andExpressions(expressions); } virtual void setInterpreter(InterpreterInfo* interpreter) { - TIME_BLOCK + TIME_BLOCK _impl->setInterpreter(interpreter); } virtual void addExtension(DataModelExtension* ext) { - TIME_BLOCK + TIME_BLOCK _impl->addExtension(ext); } - + #ifdef BUILD_PROFILING - Timer timer; + Timer timer; #endif protected: |