SBufAddLength Class Reference
#include <Algorithms.h>
Collaboration diagram for SBufAddLength:
![Collaboration graph](classSBufAddLength__coll__graph.png)
Public Member Functions | |
SBufAddLength (const SBuf &separator) | |
SBuf::size_type | operator() (const SBuf::size_type sz, const SBuf &item) |
Private Attributes | |
SBuf::size_type | separatorLen_ |
Detailed Description
SBuf size addition accumulator for STL contaniners
Equivalent to prefix_length + SBuf.length() + separator.length()
Definition at line 45 of file Algorithms.h.
Constructor & Destructor Documentation
◆ SBufAddLength()
|
inlineexplicit |
Definition at line 48 of file Algorithms.h.
Member Function Documentation
◆ operator()()
|
inline |
Definition at line 50 of file Algorithms.h.
References SBuf::length(), and separatorLen_.
Member Data Documentation
◆ separatorLen_
|
private |
Definition at line 54 of file Algorithms.h.
Referenced by operator()().
The documentation for this class was generated from the following file:
- src/sbuf/Algorithms.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