#include <SBuf.h>

Inheritance diagram for SBufIterator:
Collaboration diagram for SBufIterator:

Public Types

typedef MemBlob::size_type size_type
 

Public Member Functions

bool operator== (const SBufIterator &s) const
 
bool operator!= (const SBufIterator &s) const
 
const char & operator* () const
 
SBufIteratoroperator++ ()
 

Protected Member Functions

 SBufIterator (const SBuf &, size_type)
 

Protected Attributes

const char * iter = nullptr
 

Friends

class SBuf
 

Detailed Description

Forward input const_iterator for SBufs

Please note that any operation on the underlying SBuf may invalidate all iterators over it, resulting in undefined behavior by them.

Definition at line 49 of file SBuf.h.

Member Typedef Documentation

Definition at line 53 of file SBuf.h.

Constructor & Destructor Documentation

SBufIterator::SBufIterator ( const SBuf s,
size_type  pos 
)
inlineprotected

Definition at line 767 of file SBuf.h.

Member Function Documentation

bool SBufIterator::operator!= ( const SBufIterator s) const
inline

Definition at line 779 of file SBuf.h.

References iter.

const char& SBufIterator::operator* ( ) const
inline

Definition at line 57 of file SBuf.h.

References iter.

SBufIterator& SBufIterator::operator++ ( )
inline

Definition at line 58 of file SBuf.h.

References iter.

bool SBufIterator::operator== ( const SBufIterator s) const
inline

Definition at line 772 of file SBuf.h.

References iter.

Friends And Related Function Documentation

friend class SBuf
friend

Definition at line 52 of file SBuf.h.

Member Data Documentation

const char* SBufIterator::iter = nullptr
protected

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors