Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
Friends |
List of all members
SBufIterator Class Reference
#include <SBuf.h>
Inheritance diagram for SBufIterator:
![Inheritance graph](classSBufIterator__inherit__graph.png)
Collaboration diagram for SBufIterator:
![Collaboration graph](classSBufIterator__coll__graph.png)
Public Types | |
using | iterator_category = std::input_iterator_tag |
using | value_type = char |
using | difference_type = std::ptrdiff_t |
using | pointer = char * |
using | reference = char & |
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 |
SBufIterator & | operator++ () |
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.
Member Typedef Documentation
◆ difference_type
using SBufIterator::difference_type = std::ptrdiff_t |
◆ iterator_category
using SBufIterator::iterator_category = std::input_iterator_tag |
◆ pointer
using SBufIterator::pointer = char* |
◆ reference
using SBufIterator::reference = char& |
◆ size_type
◆ value_type
using SBufIterator::value_type = char |
Constructor & Destructor Documentation
◆ SBufIterator()
Member Function Documentation
◆ operator!=()
|
inline |
◆ operator*()
|
inline |
◆ operator++()
|
inline |
◆ operator==()
|
inline |
Friends And Related Function Documentation
◆ SBuf
Member Data Documentation
◆ iter
|
protected |
Definition at line 69 of file SBuf.h.
Referenced by operator!=(), operator*(), SBufReverseIterator::operator*(), operator++(), SBufReverseIterator::operator++(), and operator==().
The documentation for this class was generated from the following file:
- src/sbuf/SBuf.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