nfd::name_tree::PartialEnumerationImpl Class Referencefinal

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) final
 

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

Constructor & Destructor Documentation

◆ PartialEnumerationImpl()

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

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

Member Function Documentation

◆ advance()

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

Implements nfd::name_tree::EnumerationImpl.

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

Member Data Documentation

◆ ht

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

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

◆ nt

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

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