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

Constructor & Destructor Documentation

◆ PartialEnumerationImpl()

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

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

Member Function Documentation

◆ advance()

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

Implements nfd::name_tree::EnumerationImpl.

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

Member Data Documentation

◆ ht

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

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

◆ nt

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

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