66 INLINE std::istream *get_istream()
const;
67 MAKE_PROPERTY(istream, get_istream);
70 void read(
char *buffer, std::streamsize num_bytes);
71 void read(
char *buffer, std::streamsize num_bytes, std::streamsize &read_bytes);
72 void read(
char *buffer, std::streamsize num_bytes, std::streamsize &read_bytes,
bool &eof);
73 void seek_read(std::streamsize pos,
char *buffer, std::streamsize num_bytes, std::streamsize &read_bytes,
bool &eof);
75 std::streamsize seek_gpos_eof();
78 std::istream *_istream;
88 INLINE
OStreamWrapper(std::ostream *stream,
bool owns_pointer,
bool stringstream_hack =
false);
93 INLINE std::ostream *get_ostream()
const;
94 MAKE_PROPERTY(ostream, get_ostream);
97 void write(
const char *buffer, std::streamsize num_bytes);
98 void write(
const char *buffer, std::streamsize num_bytes,
bool &fail);
99 void seek_write(std::streamsize pos,
const char *buffer, std::streamsize num_bytes,
bool &fail);
100 void seek_eof_write(
const char *buffer, std::streamsize num_bytes,
bool &fail);
101 INLINE
bool put(
char c);
102 std::streamsize seek_ppos_eof();
105 std::ostream *_ostream;
114 bool _stringstream_hack;