![]() |
Kea
2.3.5-git
|
SectionIterator
is a templated class to provide standard-compatible iterators for Questions and RRsets for a given DNS message section.
More...
#include <message.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::input_iterator_tag |
using | pointer = T * |
using | reference = T & |
using | value_type = T |
Public Member Functions | |
SectionIterator () | |
SectionIterator (const SectionIteratorImpl< T > &impl) | |
SectionIterator (const SectionIterator< T > &source) | |
~SectionIterator () | |
bool | operator!= (const SectionIterator< T > &other) const |
const T & | operator* () const |
SectionIterator< T > & | operator++ () |
SectionIterator< T > | operator++ (int) |
const T * | operator-> () const |
void | operator= (const SectionIterator< T > &source) |
bool | operator== (const SectionIterator< T > &other) const |
SectionIterator
is a templated class to provide standard-compatible iterators for Questions and RRsets for a given DNS message section.
The template parameter is either QuestionPtr
(for the question section) or RRsetPtr
(for the answer, authority, or additional section).
using isc::dns::SectionIterator< T >::difference_type = std::ptrdiff_t |
using isc::dns::SectionIterator< T >::iterator_category = std::input_iterator_tag |
using isc::dns::SectionIterator< T >::pointer = T* |
using isc::dns::SectionIterator< T >::reference = T& |
using isc::dns::SectionIterator< T >::value_type = T |
|
inline |
Definition at line 100 of file message.h.
References isc::flex_option::impl, isc::data::operator!=(), and isc::data::operator==().
isc::dns::SectionIterator< T >::SectionIterator | ( | const SectionIteratorImpl< T > & | impl | ) |
Definition at line 1039 of file dns/message.cc.
References isc::dns::SectionIteratorImpl< T >::it_.
isc::dns::SectionIterator< T >::~SectionIterator | ( | ) |
Definition at line 1044 of file dns/message.cc.
isc::dns::SectionIterator< T >::SectionIterator | ( | const SectionIterator< T > & | source | ) |
Definition at line 1049 of file dns/message.cc.
bool isc::dns::SectionIterator< T >::operator!= | ( | const SectionIterator< T > & | other | ) | const |
Definition at line 1100 of file dns/message.cc.
const T & isc::dns::SectionIterator< T >::operator* | ( | ) | const |
Definition at line 1082 of file dns/message.cc.
SectionIterator< T > & isc::dns::SectionIterator< T >::operator++ | ( | ) |
Definition at line 1067 of file dns/message.cc.
SectionIterator< T > isc::dns::SectionIterator< T >::operator++ | ( | int | ) |
Definition at line 1074 of file dns/message.cc.
const T * isc::dns::SectionIterator< T >::operator-> | ( | ) | const |
Definition at line 1088 of file dns/message.cc.
void isc::dns::SectionIterator< T >::operator= | ( | const SectionIterator< T > & | source | ) |
Definition at line 1055 of file dns/message.cc.
bool isc::dns::SectionIterator< T >::operator== | ( | const SectionIterator< T > & | other | ) | const |
Definition at line 1094 of file dns/message.cc.