PIT iterator. More...
#include <pit-iterator.hpp>
Public Member Functions | |
Iterator (const NameTree::const_iterator &ntIt=NameTree::const_iterator(), size_t iPitEntry=0) | |
constructor More... | |
const Entry & | operator* () const |
const shared_ptr< Entry > & | operator-> () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
bool | operator== (const Iterator &other) const |
bool | operator!= (const Iterator &other) const |
PIT iterator.
Definition at line 37 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 35 of file pit-iterator.cpp.
|
inline |
Definition at line 48 of file pit-iterator.hpp.
References operator->().
|
inline |
Definition at line 54 of file pit-iterator.hpp.
References nfd::name_tree::Entry::getPitEntries().
Referenced by operator*().
Iterator & nfd::pit::Iterator::operator++ | ( | ) |
Definition at line 42 of file pit-iterator.cpp.
References nfd::name_tree::Entry::getPitEntries(), and nfd::name_tree::Entry::hasPitEntries().
Referenced by operator++().
Iterator nfd::pit::Iterator::operator++ | ( | int | ) |
Definition at line 57 of file pit-iterator.cpp.
References operator++().
|
inline |
Definition at line 68 of file pit-iterator.hpp.
Referenced by operator!=().
|
inline |
Definition at line 74 of file pit-iterator.hpp.
References operator==().