SBufAddLength Class Reference
#include <Algorithms.h>
Collaboration diagram for SBufAddLength:
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