Remote Call Framework 3.3
ITextStream.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2022, Delta V Software. All rights reserved.
6 // https://www.deltavsoft.com
7 //
8 // RCF is distributed under dual licenses - closed source or GPL.
9 // Consult your particular license for conditions of use.
10 //
11 // If you have not purchased a commercial license, you are using RCF under GPL terms.
12 //
13 // Version: 3.3
14 // Contact: support <at> deltavsoft.com
15 //
16 //******************************************************************************
17 
18 #ifndef INCLUDE_SF_ITEXTSTREAM_HPP
19 #define INCLUDE_SF_ITEXTSTREAM_HPP
20 
21 #include <SF/Stream.hpp>
22 
23 namespace RCF {
24  class MemIstream;
25 }
26 
27 namespace SF {
28 
29  class ITextStream : public IStream
30  {
31  public:
32  ITextStream() : IStream()
33  {}
34 
35  ITextStream(RCF::MemIstream &is) : IStream(is)
36  {}
37 
38  ITextStream(std::istream &is) : IStream(is)
39  {}
40 
41  I_Encoding &getEncoding()
42  {
43  return mEncoding;
44  }
45 
46  private:
47  EncodingText mEncoding;
48  };
49 
50 }
51 
52 #endif // ! INCLUDE_SF_ITEXTSTREAM_HPP
Definition: ByteBuffer.hpp:188
Definition: AmiIoHandler.hpp:23