#include <name-tree-iterator.hpp>
Public Types | |
using | iterator_category = std::forward_iterator_tag |
using | value_type = const Entry |
using | difference_type = std::ptrdiff_t |
using | pointer = value_type * |
using | reference = value_type & |
Public Member Functions | |
Iterator () | |
Iterator (shared_ptr< EnumerationImpl > impl, const Entry *ref) | |
const Entry & | operator * () const |
const Entry * | operator-> () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
bool | operator== (const Iterator &other) const |
bool | operator!= (const Iterator &other) const |
Friends | |
class | FullEnumerationImpl |
class | PartialEnumerationImpl |
class | PrefixMatchImpl |
std::ostream & | operator<< (std::ostream &, const Iterator &) |
NameTree iterator.
Definition at line 72 of file name-tree-iterator.hpp.
using nfd::name_tree::Iterator::iterator_category = std::forward_iterator_tag |
Definition at line 75 of file name-tree-iterator.hpp.
using nfd::name_tree::Iterator::value_type = const Entry |
Definition at line 76 of file name-tree-iterator.hpp.
using nfd::name_tree::Iterator::difference_type = std::ptrdiff_t |
Definition at line 77 of file name-tree-iterator.hpp.
Definition at line 78 of file name-tree-iterator.hpp.
Definition at line 79 of file name-tree-iterator.hpp.
nfd::name_tree::Iterator::Iterator | ( | ) |
Definition at line 41 of file name-tree-iterator.cpp.
nfd::name_tree::Iterator::Iterator | ( | shared_ptr< EnumerationImpl > | impl, |
const Entry * | ref | ||
) |
Definition at line 48 of file name-tree-iterator.cpp.
References NFD_LOG_TRACE.
|
inline |
Definition at line 86 of file name-tree-iterator.hpp.
|
inline |
Definition at line 93 of file name-tree-iterator.hpp.
Iterator & nfd::name_tree::Iterator::operator++ | ( | ) |
Definition at line 59 of file name-tree-iterator.cpp.
References NFD_LOG_TRACE.
Referenced by operator++().
Iterator nfd::name_tree::Iterator::operator++ | ( | int | ) |
Definition at line 68 of file name-tree-iterator.cpp.
References operator++().
bool nfd::name_tree::Iterator::operator== | ( | const Iterator & | other | ) | const |
Definition at line 76 of file name-tree-iterator.cpp.
Referenced by operator!=().
|
inline |
Definition at line 109 of file name-tree-iterator.hpp.
References operator==().
|
friend |
Definition at line 132 of file name-tree-iterator.hpp.
|
friend |
Definition at line 133 of file name-tree-iterator.hpp.
|
friend |
Definition at line 134 of file name-tree-iterator.hpp.
|
friend |
Definition at line 82 of file name-tree-iterator.cpp.