Kea 2.5.7
isc::dns::RRsetCollectionBase::Iterator Class Reference

A forward std::iterator for RRsetCollectionBase. More...

#include <rrset_collection_base.h>

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = isc::dns::AbstractRRset const *
 
using reference = isc::dns::AbstractRRset const &
 
using value_type = isc::dns::AbstractRRset const
 

Public Member Functions

 Iterator (IterPtr iter)
 
bool operator!= (const Iterator &other) const
 
reference operator* ()
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &other) const
 

Detailed Description

A forward std::iterator for RRsetCollectionBase.

It behaves like a std::iterator forward iterator, so please see its documentation for usage.

Definition at line 156 of file rrset_collection_base.h.

Member Typedef Documentation

◆ difference_type

Definition at line 161 of file rrset_collection_base.h.

◆ iterator_category

Definition at line 159 of file rrset_collection_base.h.

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ Iterator()

isc::dns::RRsetCollectionBase::Iterator::Iterator ( IterPtr  iter)
inlineexplicit

Definition at line 165 of file rrset_collection_base.h.

Member Function Documentation

◆ operator!=()

bool isc::dns::RRsetCollectionBase::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 188 of file rrset_collection_base.h.

◆ operator*()

reference isc::dns::RRsetCollectionBase::Iterator::operator* ( )
inline

Definition at line 169 of file rrset_collection_base.h.

◆ operator++() [1/2]

Iterator & isc::dns::RRsetCollectionBase::Iterator::operator++ ( )
inline

Definition at line 173 of file rrset_collection_base.h.

◆ operator++() [2/2]

Iterator isc::dns::RRsetCollectionBase::Iterator::operator++ ( int  )
inline

Definition at line 178 of file rrset_collection_base.h.

◆ operator==()

bool isc::dns::RRsetCollectionBase::Iterator::operator== ( const Iterator other) const
inline

Definition at line 184 of file rrset_collection_base.h.


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