nfd::name_tree::PartialEnumerationImpl Class Reference

partial enumeration implementation More...

#include <daemon/table/name-tree-iterator.hpp>

+ Inheritance diagram for nfd::name_tree::PartialEnumerationImpl:
+ Collaboration diagram for nfd::name_tree::PartialEnumerationImpl:

Public Member Functions

 PartialEnumerationImpl (const NameTree &nt, const EntrySubTreeSelector &pred)
 
void advance (Iterator &i) override
 

Protected Attributes

const Hashtableht
 
const NameTreent
 

Detailed Description

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 172 of file name-tree-iterator.hpp.

Constructor & Destructor Documentation

nfd::name_tree::PartialEnumerationImpl::PartialEnumerationImpl ( const NameTree nt,
const EntrySubTreeSelector pred 
)

Definition at line 157 of file name-tree-iterator.cpp.

Member Function Documentation

void nfd::name_tree::PartialEnumerationImpl::advance ( Iterator i)
overridevirtual

Implements nfd::name_tree::EnumerationImpl.

Definition at line 164 of file name-tree-iterator.cpp.

Member Data Documentation

const Hashtable& nfd::name_tree::EnumerationImpl::ht
protectedinherited

Definition at line 150 of file name-tree-iterator.hpp.

const NameTree& nfd::name_tree::EnumerationImpl::nt
protectedinherited

Definition at line 149 of file name-tree-iterator.hpp.