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)
explicit

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

References ~Entry().

◆ ~Entry()

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

Referenced by Entry().

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 56 of file strategy-choice-entry.hpp.

Referenced by nfd::strategy_choice::clearStrategyInfo(), and 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 83 of file strategy-choice-entry.hpp.


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