NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::name_tree::PartialEnumerationImpl Class Reference

partial enumeration implementation More...

#include <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)
 
virtual void advance (Iterator &i) override
 
- Public Member Functions inherited from nfd::name_tree::EnumerationImpl
 EnumerationImpl (const NameTree &nt)
 

Additional Inherited Members

- Protected Attributes inherited from nfd::name_tree::EnumerationImpl
const NameTreent
 
const Hashtableht
 

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

Constructor & Destructor Documentation

◆ PartialEnumerationImpl()

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

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

Member Function Documentation

◆ advance()

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

The documentation for this class was generated from the following files: