DUNE: Uniform Navigational Environment
2016.09.0
|
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) |
DUNE::Compression::StreamBuffer::StreamBuffer | ( | std::ostream * | stream, |
Methods | method | ||
) |
References DUNE::Compression::Factory::compressor().
DUNE::Compression::StreamBuffer::StreamBuffer | ( | std::istream * | stream, |
Methods | method | ||
) |
|
virtual |
References sync().
|
protectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtual |
References DUNE::Compression::Compressor::compress(), DUNE::Utils::ByteBuffer::getBufferSigned(), DUNE::Utils::ByteBuffer::getSize(), and DUNE::Utils::ByteBuffer::setSize().
Referenced by xsputn(), and ~StreamBuffer().
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
References DUNE::Utils::ByteBuffer::appendSigned(), DUNE::Utils::ByteBuffer::getSize(), and sync().