|
Squid Web Cache master
|
write-only std::streambuf that append()s all writes to a given Buffer More...
#include <PackableStream.h>
Public Member Functions | |
| AppendingStreamBuf (Buffer &p) | |
| ~AppendingStreamBuf () override=default | |
Protected Member Functions | |
| int_type | overflow (int_type aChar=traits_type::eof()) override |
| int | sync () override |
| std::streamsize | xsputn (const char *chars, std::streamsize number) override |
Private Member Functions | |
| void | postInit () |
| for specializations that must customize the last construction step | |
| void | postSync () |
| for specializations that must customize the last sync() step | |
| void | lowAppend (const char *s, const std::streamsize n) |
Private Attributes | |
| Buffer & | buf_ |
| the associated character sequence (a.k.a. the sink) | |
Definition at line 19 of file PackableStream.h.
|
inlineexplicit |
Definition at line 22 of file PackableStream.h.
References AppendingStreamBuf< Buffer >::postInit().
|
overridedefault |
|
inlineprivate |
Definition at line 62 of file PackableStream.h.
References AppendingStreamBuf< Buffer >::buf_.
Referenced by AppendingStreamBuf< Buffer >::overflow(), AppendingStreamBuf< Buffer >::sync(), and AppendingStreamBuf< Buffer >::xsputn().
|
inlineoverrideprotected |
Definition at line 28 of file PackableStream.h.
References AppendingStreamBuf< Buffer >::lowAppend(), and AppendingStreamBuf< Buffer >::sync().
|
inlineprivate |
Definition at line 57 of file PackableStream.h.
Referenced by AppendingStreamBuf< Buffer >::AppendingStreamBuf().
|
inlineprivate |
Definition at line 60 of file PackableStream.h.
Referenced by AppendingStreamBuf< Buffer >::sync().
|
inlineoverrideprotected |
Definition at line 43 of file PackableStream.h.
References AppendingStreamBuf< Buffer >::lowAppend(), and AppendingStreamBuf< Buffer >::postSync().
Referenced by AppendingStreamBuf< Buffer >::overflow().
|
inlineoverrideprotected |
Definition at line 50 of file PackableStream.h.
References AppendingStreamBuf< Buffer >::lowAppend().
|
private |
Definition at line 64 of file PackableStream.h.
Referenced by AppendingStreamBuf< Buffer >::lowAppend().