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.
|
explicit |
Definition at line 32 of file strategy-choice-entry.cpp.
|
default |
|
inline |
Definition at line 56 of file strategy-choice-entry.hpp.
Referenced by nfd::name_tree::NameTree::lookup().
const Name & nfd::strategy_choice::Entry::getStrategyInstanceName | ( | ) | const |
Definition at line 40 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 69 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 46 of file strategy-choice-entry.cpp.
References nonstd::optional_lite::std11::move().
Referenced by nfd::strategy_choice::StrategyChoice::insert().
|
friend |
Definition at line 83 of file strategy-choice-entry.hpp.