write-only std::streambuf that append()s all writes to a given Buffer More...
#include <PackableStream.h>
![Inheritance graph](classAppendingStreamBuf__inherit__graph.png)
![Collaboration graph](classAppendingStreamBuf__coll__graph.png)
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 More... | |
void | postSync () |
for specializations that must customize the last sync() step More... | |
void | lowAppend (const char *s, const std::streamsize n) |
Private Attributes | |
Buffer & | buf_ |
the associated character sequence (a.k.a. the sink) More... | |
Detailed Description
template<class Buffer>
class AppendingStreamBuf< Buffer >
Definition at line 19 of file PackableStream.h.
Constructor & Destructor Documentation
◆ AppendingStreamBuf()
|
inlineexplicit |
Definition at line 22 of file PackableStream.h.
◆ ~AppendingStreamBuf()
|
overridedefault |
Member Function Documentation
◆ lowAppend()
|
inlineprivate |
Definition at line 62 of file PackableStream.h.
Referenced by AppendingStreamBuf< Packable >::overflow(), AppendingStreamBuf< Packable >::sync(), and AppendingStreamBuf< Packable >::xsputn().
◆ overflow()
|
inlineoverrideprotected |
Definition at line 28 of file PackableStream.h.
◆ postInit()
|
inlineprivate |
Definition at line 57 of file PackableStream.h.
Referenced by AppendingStreamBuf< Packable >::AppendingStreamBuf().
◆ postSync()
|
inlineprivate |
Definition at line 60 of file PackableStream.h.
Referenced by AppendingStreamBuf< Packable >::sync().
◆ sync()
|
inlineoverrideprotected |
Definition at line 43 of file PackableStream.h.
Referenced by AppendingStreamBuf< Packable >::overflow().
◆ xsputn()
|
inlineoverrideprotected |
Definition at line 50 of file PackableStream.h.
Member Data Documentation
◆ buf_
|
private |
Definition at line 64 of file PackableStream.h.
Referenced by AppendingStreamBuf< Packable >::lowAppend().
The documentation for this class was generated from the following file:
- src/base/PackableStream.h
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products