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

represents a Strategy Choice entry More...

#include <strategy-choice-entry.hpp>

Inheritance diagram for nfd::strategy_choice::Entry:
Collaboration diagram for nfd::strategy_choice::Entry:

Public Member Functions

 Entry (const Name &prefix)
 
 ~Entry ()
 
const NamegetPrefix () const
 
const NamegetStrategyInstanceName () const
 
fw::StrategygetStrategy () const
 
void setStrategy (unique_ptr< fw::Strategy > strategy)
 

Friends

class name_tree::Entry
 

Detailed Description

represents a Strategy Choice entry

Definition at line 45 of file strategy-choice-entry.hpp.

Constructor & Destructor Documentation

◆ Entry()

nfd::strategy_choice::Entry::Entry ( const Name prefix)

Definition at line 32 of file strategy-choice-entry.cpp.

◆ ~Entry()

nfd::strategy_choice::Entry::~Entry ( )
default

Member Function Documentation

◆ getPrefix()

const Name& nfd::strategy_choice::Entry::getPrefix ( ) const
inline
Returns
name prefix on which this strategy choice is applied

Definition at line 55 of file strategy-choice-entry.hpp.

Referenced by nfd::name_tree::NameTree::lookup().

◆ getStrategyInstanceName()

const Name & nfd::strategy_choice::Entry::getStrategyInstanceName ( ) const

◆ getStrategy()

◆ setStrategy()

void nfd::strategy_choice::Entry::setStrategy ( unique_ptr< fw::Strategy strategy)

Friends And Related Function Documentation

◆ name_tree::Entry

friend class name_tree::Entry
friend

Definition at line 82 of file strategy-choice-entry.hpp.


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