This class easy implement the custom streambufs.
Definition at line 55 of file StreamBuf.hpp.
#include <StreamBuf.hpp>

Public Member Functions | |
| BasicStreamBuf () | |
| virtual int_type | overflow (int_type c) |
| virtual int_type | pbackfail (int_type c) |
| virtual int_type | uflow () |
| virtual int_type | underflow () |
| virtual std::streamsize | xsgetn (char_type *p, std::streamsize count) |
| ~BasicStreamBuf () | |
Protected Types | |
| typedef std::basic_streambuf< ch, tr > | Base |
| typedef tr | char_traits |
| typedef ch | char_type |
| typedef Base::int_type | int_type |
| typedef std::basic_ios< ch, tr > | IOS |
| typedef Base::off_type | off_type |
| typedef IOS::openmode | openmode |
| typedef Base::pos_type | pos_type |
Static Protected Member Functions | |
| static int_type | charToInt (char_type c) |
Private Member Functions | |
| BasicStreamBuf (const BasicStreamBuf &) | |
| BasicStreamBuf & | operator= (const BasicStreamBuf &) |
| virtual int_type | readFromDevice () |
| virtual int_type | writeToDevice (char_type) |
Private Attributes | |
| bool | _ispb |
| int_type | _pb |
|
protected |
Definition at line 58 of file StreamBuf.hpp.
|
protected |
Definition at line 61 of file StreamBuf.hpp.
|
protected |
Definition at line 60 of file StreamBuf.hpp.
|
protected |
Definition at line 62 of file StreamBuf.hpp.
|
protected |
Definition at line 59 of file StreamBuf.hpp.
|
protected |
Definition at line 64 of file StreamBuf.hpp.
|
protected |
Definition at line 65 of file StreamBuf.hpp.
|
protected |
Definition at line 63 of file StreamBuf.hpp.
|
inline |
Definition at line 68 of file StreamBuf.hpp.
|
inline |
Definition at line 74 of file StreamBuf.hpp.
|
private |
|
inlinestaticprotected |
Definition at line 151 of file StreamBuf.hpp.
|
private |
|
inlinevirtual |
Definition at line 78 of file StreamBuf.hpp.
|
inlinevirtual |
Definition at line 122 of file StreamBuf.hpp.
|
inlineprivatevirtual |
Definition at line 157 of file StreamBuf.hpp.
|
inlinevirtual |
Definition at line 104 of file StreamBuf.hpp.
|
inlinevirtual |
Definition at line 86 of file StreamBuf.hpp.
|
inlineprivatevirtual |
Definition at line 162 of file StreamBuf.hpp.
|
inlinevirtual |
Definition at line 136 of file StreamBuf.hpp.
|
private |
Definition at line 168 of file StreamBuf.hpp.
|
private |
Definition at line 167 of file StreamBuf.hpp.