DUNE: Uniform Navigational Environment  2016.03.0
DUNE::Compression::StreamBuffer Class Reference

Public Member Functions

 StreamBuffer (std::ostream *stream, Methods method)
 
 StreamBuffer (std::istream *stream, Methods method)
 
virtual ~StreamBuffer (void)
 

Protected Member Functions

virtual int_type overflow (int_type c)
 
virtual int_type underflow (void)
 
virtual int sync (void)
 
virtual std::streamsize xsputn (const char *bfr, std::streamsize bfr_len)
 
virtual std::streamsize xsgetn (char *bfr, std::streamsize bfr_len)
 
virtual std::streampos seekoff (std::streamoff off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out)
 

Constructor & Destructor Documentation

DUNE::Compression::StreamBuffer::StreamBuffer ( std::ostream *  stream,
Methods  method 
)
DUNE::Compression::StreamBuffer::StreamBuffer ( std::istream *  stream,
Methods  method 
)
DUNE::Compression::StreamBuffer::~StreamBuffer ( void  )
virtual

References sync().

Member Function Documentation

StreamBuffer::int_type DUNE::Compression::StreamBuffer::overflow ( int_type  c)
protectedvirtual
virtual std::streampos DUNE::Compression::StreamBuffer::seekoff ( std::streamoff  off,
std::ios_base::seekdir  way,
std::ios_base::openmode  which = std::ios_base::in | std::ios_base::out 
)
inlineprotectedvirtual
int DUNE::Compression::StreamBuffer::sync ( void  )
protectedvirtual
StreamBuffer::int_type DUNE::Compression::StreamBuffer::underflow ( void  )
protectedvirtual
std::streamsize DUNE::Compression::StreamBuffer::xsgetn ( char *  bfr,
std::streamsize  bfr_len 
)
protectedvirtual
std::streamsize DUNE::Compression::StreamBuffer::xsputn ( const char *  bfr,
std::streamsize  bfr_len 
)
protectedvirtual
Collaboration diagram for DUNE::Compression::StreamBuffer:
Collaboration graph