diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-01 12:55:04 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-08-01 12:55:04 (GMT) |
commit | 3df6c9c6630f3b3b9b0876ae5bc8f2d12a15b253 (patch) | |
tree | 41f234c33e1e04015ef92a6b94212d9c7e97ad72 /src/uscxml/Factory.h | |
parent | 720bbe5c1b8c0789b5c7ad9ffca33e52bf77f1da (diff) | |
download | uscxml-3df6c9c6630f3b3b9b0876ae5bc8f2d12a15b253.zip uscxml-3df6c9c6630f3b3b9b0876ae5bc8f2d12a15b253.tar.gz uscxml-3df6c9c6630f3b3b9b0876ae5bc8f2d12a15b253.tar.bz2 |
Bug fixes and version bump
- New calendar invoker
- Fixed memory leaks with JavaScriptCore
- Compiles on windows again
- Beautified source code indentation
Diffstat (limited to 'src/uscxml/Factory.h')
-rw-r--r-- | src/uscxml/Factory.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/Factory.h b/src/uscxml/Factory.h index 58002fe..3ddd9ad 100644 --- a/src/uscxml/Factory.h +++ b/src/uscxml/Factory.h @@ -15,7 +15,7 @@ namespace uscxml { inline bool isnan(double x) { - return x != x; + return x != x; } // see http://stackoverflow.com/questions/228005/alternative-to-itoa-for-converting-integer-to-string-c @@ -259,7 +259,7 @@ public: virtual Data getStringAsData(const std::string& content) = 0; size_t replaceExpressions(std::string& content); - + // foreach virtual uint32_t getLength(const std::string& expr) = 0; virtual void setForeach(const std::string& item, @@ -270,8 +270,8 @@ public: virtual void popContext() = 0; virtual void eval(const Arabica::DOM::Element<std::string>& scriptElem, - const std::string& expr) = 0; - + const std::string& expr) = 0; + virtual std::string evalAsString(const std::string& expr) = 0; virtual bool evalAsBool(const std::string& expr) = 0; @@ -333,7 +333,7 @@ public: } virtual void eval(const Arabica::DOM::Element<std::string>& scriptElem, - const std::string& expr) { + const std::string& expr) { return _impl->eval(scriptElem, expr); } virtual std::string evalAsString(const std::string& expr) { |