| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- //******************************************************************************
- // 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_ITEXTSTREAM_HPP
- #define INCLUDE_SF_ITEXTSTREAM_HPP
- #include <SF/Stream.hpp>
- namespace RCF {
- class MemIstream;
- }
- namespace SF {
- class ITextStream : public IStream
- {
- public:
- ITextStream() : IStream()
- {}
- ITextStream(RCF::MemIstream &is) : IStream(is)
- {}
- ITextStream(std::istream &is) : IStream(is)
- {}
- I_Encoding &getEncoding()
- {
- return mEncoding;
- }
- private:
- EncodingText mEncoding;
- };
- }
- #endif // ! INCLUDE_SF_ITEXTSTREAM_HPP
|