Remote Call Framework 3.2
ITextStream.hpp
1 
2 //******************************************************************************
3 // RCF - Remote Call Framework
4 //
5 // Copyright (c) 2005 - 2020, Delta V Software. All rights reserved.
6 // http://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
12 // under GPL terms.
13 //
14 // Version: 3.2
15 // Contact: support <at> deltavsoft.com
16 //
17 //******************************************************************************
18 
19 #ifndef INCLUDE_SF_ITEXTSTREAM_HPP
20 #define INCLUDE_SF_ITEXTSTREAM_HPP
21 
22 #include <SF/Stream.hpp>
23 
24 namespace RCF {
25  class MemIstream;
26 }
27 
28 namespace SF {
29 
30  class ITextStream : public IStream
31  {
32  public:
33  ITextStream() : IStream()
34  {}
35 
36  ITextStream(RCF::MemIstream &is) : IStream(is)
37  {}
38 
39  ITextStream(std::istream &is) : IStream(is)
40  {}
41 
42  I_Encoding &getEncoding()
43  {
44  return mEncoding;
45  }
46 
47  private:
48  EncodingText mEncoding;
49  };
50 
51 }
52 
53 #endif // ! INCLUDE_SF_ITEXTSTREAM_HPP
Definition: ByteBuffer.hpp:189
Definition: AmiIoHandler.hpp:24