| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //******************************************************************************
- // RCF - Remote Call Framework
- //
- // Copyright (c) 2005 - 2020, Delta V Software. All rights reserved.
- // http://www.deltavsoft.com
- //
- // RCF is distributed under dual licenses - closed source or GPL.
- // Consult your particular license for conditions of use.
- //
- // If you have not purchased a commercial license, you are using RCF
- // under GPL terms.
- //
- // Version: 3.2
- // Contact: support <at> deltavsoft.com
- //
- //******************************************************************************
- #ifndef INCLUDE_SF_OTEXTSTREAM_HPP
- #define INCLUDE_SF_OTEXTSTREAM_HPP
- #include <SF/Stream.hpp>
- namespace SF {
- class OTextStream : public OStream
- {
- public:
- OTextStream() : OStream()
- {}
- OTextStream(RCF::MemOstream &os) : OStream(os)
- {}
- OTextStream(std::ostream &os) : OStream(os)
- {}
- I_Encoding &getEncoding()
- {
- return mEncoding;
- }
- private:
- EncodingText mEncoding;
- };
- }
- #endif // ! INCLUDE_SF_OTEXTSTREAM_HPP
|