#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::SBufAddLength ( const SBuf separator)
inlineexplicit

Definition at line 48 of file Algorithms.h.

Member Function Documentation

SBuf::size_type SBufAddLength::operator() ( const SBuf::size_type  sz,
const SBuf item 
)
inline

Definition at line 50 of file Algorithms.h.

References SBuf::length(), and separatorLen_.

Member Data Documentation

SBuf::size_type SBufAddLength::separatorLen_
private

Definition at line 54 of file Algorithms.h.

Referenced by operator()().


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors