partial enumeration implementation More...
#include <name-tree-iterator.hpp>
Public Member Functions | |
PartialEnumerationImpl (const NameTree &nt, const EntrySubTreeSelector &pred) | |
void | advance (Iterator &i) override |
Public Member Functions inherited from nfd::name_tree::EnumerationImpl | |
EnumerationImpl (const NameTree &nt) | |
virtual | ~EnumerationImpl ()=default |
Additional Inherited Members | |
Protected Attributes inherited from nfd::name_tree::EnumerationImpl | |
const NameTree & | nt |
const Hashtable & | ht |
partial enumeration implementation
Iterator::m_ref should be initialized to subtree root. Iterator::m_state LSB indicates whether to visit children of m_entry.
Definition at line 178 of file name-tree-iterator.hpp.
nfd::name_tree::PartialEnumerationImpl::PartialEnumerationImpl | ( | const NameTree & | nt, |
const EntrySubTreeSelector & | pred | ||
) |
Definition at line 158 of file name-tree-iterator.cpp.
|
overridevirtual |
Implements nfd::name_tree::EnumerationImpl.
Definition at line 165 of file name-tree-iterator.cpp.
References nfd::name_tree::Entry::getChildren(), nfd::name_tree::Entry::getParent(), and nfd::name_tree::Entry::hasChildren().