12 #ifndef __FS_WriterStream__
13 #define __FS_WriterStream__
46 virtual int64 getMemoryUsage(
bool inclusive)
const;
50 std::ostream *
getStream()
const {
return myStream.get(); }
64 virtual bool init(
const char *file);
69 virtual bool destroy(
bool removefile);
SYS_FORCE_INLINE std::ostream * getStream() const
Obtains the output stream.
UT_UniquePtr< std::ostream > myStream
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_StringHolder myTempFile
#define UT_NON_COPYABLE(CLASS)
Define deleted copy constructor and assignment operator inside a class.