staticlib_io  1.2.11
 All Classes Namespaces Files Functions Variables
Public Member Functions | Protected Member Functions | List of all members
staticlib::io::detail::unbuffered_streambuf_base Class Reference

Base class for unbuffered streambuf implementations. More...

#include <staticlib/io/unbuffered_streambuf.hpp>

Inheritance diagram for staticlib::io::detail::unbuffered_streambuf_base:
staticlib::io::unbuffered_istreambuf< Source, source_eof > staticlib::io::unbuffered_ostreambuf< Sink >

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'.

virtual unbuffered_streambuf_base* staticlib::io::detail::unbuffered_streambuf_base::setbuf ( char *  ,
std::streamsize   
)
inlineoverrideprotectedvirtual

Unsupported method, throws 'UtilsException'.

virtual int staticlib::io::detail::unbuffered_streambuf_base::uflow ( )
inlineoverridevirtual

Unsupported method, throws 'UtilsException'.

Reimplemented in staticlib::io::unbuffered_istreambuf< Source, source_eof >, and staticlib::io::unbuffered_istreambuf< Source >.

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

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'.

Parameters
sdestination buffer
countnumber of characters to read

Reimplemented in staticlib::io::unbuffered_istreambuf< Source, source_eof >, and staticlib::io::unbuffered_istreambuf< Source >.

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
ssource buffer
countnumber of characters to erite

Reimplemented in staticlib::io::unbuffered_ostreambuf< Sink >.


The documentation for this class was generated from the following file: