libcommonc++  0.7
BasicBufferedStream< C >::StreamBuf Class Reference

An implementation of basic_streambuf from the standard C++ library. More...

#include <BasicBufferedStream.h++>

Inheritance diagram for BasicBufferedStream< C >::StreamBuf:
Collaboration diagram for BasicBufferedStream< C >::StreamBuf:

Public Member Functions

 StreamBuf (size_t bufferSize, Stream &stream)
 
 ~StreamBuf ()
 
int sync ()
 

Protected Member Functions

int_type overflow (int_type c)
 
int_type underflow ()
 
pos_type seekpos (pos_type streampos, std::ios::openmode mode)
 
pos_type seekoff (off_type offset, std::ios::seekdir dir, std::ios::openmode mode)
 
std::streamsize showmanyc ()
 

Detailed Description

template<typename C>
class ccxx::BasicBufferedStream< C >::StreamBuf

An implementation of basic_streambuf from the standard C++ library.

Author
Mark Lindner

Constructor & Destructor Documentation

◆ StreamBuf()

StreamBuf ( size_t  bufferSize,
Stream stream 
)

◆ ~StreamBuf()

~StreamBuf ( )

Member Function Documentation

◆ overflow()

int_type overflow ( int_type  c)
protected

◆ seekoff()

pos_type seekoff ( off_type  offset,
std::ios::seekdir  dir,
std::ios::openmode  mode 
)
protected

◆ seekpos()

pos_type seekpos ( pos_type  streampos,
std::ios::openmode  mode 
)
protected

◆ showmanyc()

std::streamsize showmanyc ( )
protected

◆ sync()

int sync ( )

◆ underflow()

int_type underflow ( )
protected

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