17 INLINE StreamWrapperBase::
82 INLINE IStreamWrapper::
83 IStreamWrapper(std::istream *stream,
bool owns_pointer) :
85 _owns_pointer(owns_pointer)
92 INLINE IStreamWrapper::
93 IStreamWrapper(std::istream &stream) :
114 result = _istream->get();
123 INLINE OStreamWrapper::
124 OStreamWrapper(std::ostream *stream,
bool owns_pointer,
bool stringstream_hack) :
126 _owns_pointer(owns_pointer)
128 , _stringstream_hack(stringstream_hack)
136 INLINE OStreamWrapper::
137 OStreamWrapper(std::ostream &stream) :
141 , _stringstream_hack(false)
163 success = !_ostream->bad();
171 INLINE StreamWrapper::
172 StreamWrapper(std::iostream *stream,
bool owns_pointer,
bool stringstream_hack) :
176 _owns_pointer(owns_pointer)
183 INLINE StreamWrapper::
184 StreamWrapper(std::iostream &stream) :