DUNE: Uniform Navigational Environment  2022.04.1
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

◆ StreamBuffer() [1/2]

DUNE::Compression::StreamBuffer::StreamBuffer ( std::ostream *  stream,
Methods  method 
)

◆ StreamBuffer() [2/2]

DUNE::Compression::StreamBuffer::StreamBuffer ( std::istream *  stream,
Methods  method 
)

◆ ~StreamBuffer()

DUNE::Compression::StreamBuffer::~StreamBuffer ( void  )
virtual

References sync().

Member Function Documentation

◆ overflow()

StreamBuffer::int_type DUNE::Compression::StreamBuffer::overflow ( int_type  c)
protectedvirtual

◆ seekoff()

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

◆ sync()

int DUNE::Compression::StreamBuffer::sync ( void  )
protectedvirtual

◆ underflow()

StreamBuffer::int_type DUNE::Compression::StreamBuffer::underflow ( void  )
protectedvirtual

◆ xsgetn()

std::streamsize DUNE::Compression::StreamBuffer::xsgetn ( char *  bfr,
std::streamsize  bfr_len 
)
protectedvirtual

◆ xsputn()

std::streamsize DUNE::Compression::StreamBuffer::xsputn ( const char *  bfr,
std::streamsize  bfr_len 
)
protectedvirtual
Collaboration diagram for DUNE::Compression::StreamBuffer:
Collaboration graph