Base class for unbuffered streambuf implementations.
More...
#include <staticlib/io/unbuffered_streambuf.hpp>
Public Member Functions |
| virtual int | underflow () override |
| | Unsupported method, throws 'UtilsException'.
|
| virtual int | uflow () override |
| | Unsupported method, throws 'UtilsException'.
|
| virtual int | overflow (int) override |
| | Unsupported method, throws 'UtilsException'.
|
Protected Member Functions |
| virtual std::streamsize | xsgetn (char *, std::streamsize) override |
| | Reads count characters from the input sequence and stores them into a character array pointed to by s Should be overriden by Source streambuf inheritors, default implementation throws 'UtilsException'.
|
| virtual std::streamsize | xsputn (const char *, std::streamsize) override |
| | Writes count characters to the output sequence from the character array whose first element is pointed to by s.
|
| virtual unbuffered_streambuf_base * | setbuf (char *, std::streamsize) override |
| | Unsupported method, throws 'UtilsException'.
|
| virtual std::streampos | seekoff (std::streamoff, std::ios_base::seekdir, std::ios_base::openmode) override |
| | Unsupported method, throws 'UtilsException'.
|
| virtual std::streampos | seekpos (std::streampos, std::ios_base::openmode) override |
| | Unsupported method, throws 'UtilsException'.
|
Detailed Description
Base class for unbuffered streambuf implementations.
Member Function Documentation
| virtual int staticlib::io::detail::unbuffered_streambuf_base::overflow |
( |
int |
| ) |
|
|
inlineoverridevirtual |
Unsupported method, throws 'UtilsException'.
| virtual std::streampos staticlib::io::detail::unbuffered_streambuf_base::seekoff |
( |
std::streamoff |
, |
|
|
std::ios_base::seekdir |
, |
|
|
std::ios_base::openmode |
|
|
) |
| |
|
inlineoverrideprotectedvirtual |
Unsupported method, throws 'UtilsException'.
| virtual std::streampos staticlib::io::detail::unbuffered_streambuf_base::seekpos |
( |
std::streampos |
, |
|
|
std::ios_base::openmode |
|
|
) |
| |
|
inlineoverrideprotectedvirtual |
Unsupported method, throws 'UtilsException'.
|
|
inlineoverrideprotectedvirtual |
Unsupported method, throws 'UtilsException'.
| virtual int staticlib::io::detail::unbuffered_streambuf_base::uflow |
( |
| ) |
|
|
inlineoverridevirtual |
| virtual int staticlib::io::detail::unbuffered_streambuf_base::underflow |
( |
| ) |
|
|
inlineoverridevirtual |
Unsupported method, throws 'UtilsException'.
| virtual std::streamsize staticlib::io::detail::unbuffered_streambuf_base::xsgetn |
( |
char * |
, |
|
|
std::streamsize |
|
|
) |
| |
|
inlineoverrideprotectedvirtual |
| virtual std::streamsize staticlib::io::detail::unbuffered_streambuf_base::xsputn |
( |
const char * |
, |
|
|
std::streamsize |
|
|
) |
| |
|
inlineoverrideprotectedvirtual |
Writes count characters to the output sequence from the character array whose first element is pointed to by s.
Should be overriden by Sink streambuf inheritors, default implementation throws 'UtilsException'
- Parameters
-
| s | source buffer |
| count | number of characters to erite |
Reimplemented in staticlib::io::unbuffered_ostreambuf< Sink >.
The documentation for this class was generated from the following file: