diff options
author | Stefan Radomski <github@mintwerk.de> | 2016-05-19 08:03:50 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2016-05-19 08:03:50 (GMT) |
commit | 5de792adc6796b0f03d62124765b4af0676dde46 (patch) | |
tree | e700d6b008b21c037aebcc1882fd9286920b2987 /src/uscxml/transform/Transformer.h | |
parent | f8e0c96fddfdd5f086e1bd973d6b0a19c39c93da (diff) | |
download | uscxml-5de792adc6796b0f03d62124765b4af0676dde46.zip uscxml-5de792adc6796b0f03d62124765b4af0676dde46.tar.gz uscxml-5de792adc6796b0f03d62124765b4af0676dde46.tar.bz2 |
Refactored for public headers and started documentation
Diffstat (limited to 'src/uscxml/transform/Transformer.h')
-rw-r--r-- | src/uscxml/transform/Transformer.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/uscxml/transform/Transformer.h b/src/uscxml/transform/Transformer.h index a490533..fcfda01 100644 --- a/src/uscxml/transform/Transformer.h +++ b/src/uscxml/transform/Transformer.h @@ -23,6 +23,7 @@ #include <iostream> #include <map> #include "uscxml/Interpreter.h" +#include "uscxml/interpreter/InterpreterImpl.h" namespace uscxml { @@ -47,8 +48,8 @@ protected: std::multimap<std::string, std::string> _extensions; std::list<std::string> _options; - xercesc::DOMDocument* _document; - xercesc::DOMElement* _scxml; + XERCESC_NS::DOMDocument* _document; + XERCESC_NS::DOMElement* _scxml; Interpreter interpreter; InterpreterImpl::Binding _binding; @@ -63,7 +64,7 @@ public: // Transformer(const Interpreter& source) { _impl = new (source) } Transformer() : _impl() {} // the empty, invalid interpreter - Transformer(boost::shared_ptr<TransformerImpl> const impl) : _impl(impl) { } + Transformer(std::shared_ptr<TransformerImpl> const impl) : _impl(impl) { } Transformer(const Transformer& other) : _impl(other._impl) { } virtual ~Transformer() {}; @@ -91,7 +92,7 @@ public: return _impl->operator Interpreter(); } - boost::shared_ptr<TransformerImpl> getImpl() { + std::shared_ptr<TransformerImpl> getImpl() { return _impl; } @@ -104,7 +105,7 @@ public: } protected: - boost::shared_ptr<TransformerImpl> _impl; + std::shared_ptr<TransformerImpl> _impl; }; |