NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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)
 
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 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 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)
overridevirtual

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