NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
nfd::name_tree::GetTableEntry< ENTRY > Class Template Reference

a functor to get a table entry from a name tree entry More...

#include <name-tree-entry.hpp>

Public Types

using Getter = ENTRY *(Entry::*)() const
 a function pointer to the getter on Entry class that returns ENTRY More...
 

Public Member Functions

 GetTableEntry (Getter getter=nullptr)
 
const ENTRY & operator() (const Entry &nte) const
 

Detailed Description

template<typename ENTRY>
class nfd::name_tree::GetTableEntry< ENTRY >

a functor to get a table entry from a name tree entry

Template Parameters
ENTRYtype of single table entry attached to name tree entry, such as fib::Entry

Definition at line 185 of file name-tree-entry.hpp.

Member Typedef Documentation

◆ Getter

template<typename ENTRY >
using nfd::name_tree::GetTableEntry< ENTRY >::Getter = ENTRY* (Entry::*)() const

a function pointer to the getter on Entry class that returns ENTRY

Definition at line 190 of file name-tree-entry.hpp.

Constructor & Destructor Documentation

◆ GetTableEntry()

template<typename ENTRY >
nfd::name_tree::GetTableEntry< ENTRY >::GetTableEntry ( Getter  getter = nullptr)
inlineexplicit
Note
The default argument is needed to ensure FIB and StrategyChoice iterators are default-constructible.

Definition at line 196 of file name-tree-entry.hpp.

Member Function Documentation

◆ operator()()

template<typename ENTRY >
const ENTRY& nfd::name_tree::GetTableEntry< ENTRY >::operator() ( const Entry nte) const
inline

Definition at line 202 of file name-tree-entry.hpp.


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