represents a Strategy Choice entry More...
#include <strategy-choice-entry.hpp>
Public Member Functions | |
Entry (const Name &prefix) | |
~Entry () | |
const Name & | getPrefix () const |
const Name & | getStrategyInstanceName () const |
fw::Strategy & | getStrategy () const |
void | setStrategy (unique_ptr< fw::Strategy > strategy) |
Friends | |
class | name_tree::Entry |
represents a Strategy Choice entry
Definition at line 45 of file strategy-choice-entry.hpp.
nfd::strategy_choice::Entry::Entry | ( | const Name & | prefix | ) |
Definition at line 33 of file strategy-choice-entry.cpp.
|
default |
|
inline |
Definition at line 55 of file strategy-choice-entry.hpp.
Referenced by nfd::name_tree::NameTree::lookup().
const Name & nfd::strategy_choice::Entry::getStrategyInstanceName | ( | ) | const |
Definition at line 42 of file strategy-choice-entry.cpp.
References nfd::fw::Strategy::getInstanceName(), and getStrategy().
Referenced by nfd::strategy_choice::StrategyChoice::get(), and nfd::strategy_choice::StrategyChoice::insert().
|
inline |
Definition at line 68 of file strategy-choice-entry.hpp.
Referenced by nfd::strategy_choice::StrategyChoice::erase(), nfd::strategy_choice::StrategyChoice::findEffectiveStrategyImpl(), getStrategyInstanceName(), and nfd::strategy_choice::StrategyChoice::insert().
void nfd::strategy_choice::Entry::setStrategy | ( | unique_ptr< fw::Strategy > | strategy | ) |
Definition at line 48 of file strategy-choice-entry.cpp.
Referenced by nfd::strategy_choice::StrategyChoice::insert().
|
friend |
Definition at line 82 of file strategy-choice-entry.hpp.