NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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 ()
 
 GetTableEntry (Getter getter)
 
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() [1/2]

template<typename ENTRY >
nfd::name_tree::GetTableEntry< ENTRY >::GetTableEntry ( )
inline

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

◆ GetTableEntry() [2/2]

template<typename ENTRY >
nfd::name_tree::GetTableEntry< ENTRY >::GetTableEntry ( Getter  getter)
inlineexplicit

Definition at line 201 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 207 of file name-tree-entry.hpp.


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