PIT iterator. More...
#include <daemon/table/pit-iterator.hpp>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::forward_iterator_tag |
using | pointer = value_type * |
using | reference = value_type & |
using | value_type = const Entry |
Public Member Functions | |
Iterator (const NameTree::const_iterator &ntIt={}, size_t iPitEntry=0) | |
Constructor. More... | |
bool | operator!= (const Iterator &other) const |
const Entry & | operator* () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
const shared_ptr< Entry > & | operator-> () const |
bool | operator== (const Iterator &other) const |
PIT iterator.
Definition at line 37 of file pit-iterator.hpp.
using nfd::pit::Iterator::difference_type = std::ptrdiff_t |
Definition at line 42 of file pit-iterator.hpp.
using nfd::pit::Iterator::iterator_category = std::forward_iterator_tag |
Definition at line 40 of file pit-iterator.hpp.
using nfd::pit::Iterator::pointer = value_type* |
Definition at line 43 of file pit-iterator.hpp.
using nfd::pit::Iterator::reference = value_type& |
Definition at line 44 of file pit-iterator.hpp.
using nfd::pit::Iterator::value_type = const Entry |
Definition at line 41 of file pit-iterator.hpp.
|
explicit |
Constructor.
ntIt | a name tree iterator that visits name tree entries with one or more PIT entries |
iPitEntry | make this iterator to dereference to the i-th PIT entry in name tree entry |
Definition at line 34 of file pit-iterator.cpp.
|
inline |
Definition at line 80 of file pit-iterator.hpp.
|
inline |
Definition at line 54 of file pit-iterator.hpp.
Iterator & nfd::pit::Iterator::operator++ | ( | ) |
Definition at line 41 of file pit-iterator.cpp.
Iterator nfd::pit::Iterator::operator++ | ( | int | ) |
Definition at line 56 of file pit-iterator.cpp.
|
inline |
Definition at line 60 of file pit-iterator.hpp.
|
inline |
Definition at line 74 of file pit-iterator.hpp.