Name Tree Entry Class. More...
#include <name-tree-entry.hpp>
Public Member Functions | |
Entry (const Name &prefix) | |
~Entry () | |
const Name & | getPrefix () const |
void | setHash (size_t hash) |
size_t | getHash () const |
void | setParent (shared_ptr< Entry > parent) |
shared_ptr< Entry > | getParent () const |
std::vector< shared_ptr< Entry > > & | getChildren () |
bool | hasChildren () const |
bool | isEmpty () const |
void | setFibEntry (shared_ptr< fib::Entry > fibEntry) |
shared_ptr< fib::Entry > | getFibEntry () const |
void | insertPitEntry (shared_ptr< pit::Entry > pitEntry) |
void | erasePitEntry (shared_ptr< pit::Entry > pitEntry) |
bool | hasPitEntries () const |
const std::vector< shared_ptr< pit::Entry > > & | getPitEntries () const |
void | setMeasurementsEntry (shared_ptr< measurements::Entry > measurementsEntry) |
shared_ptr< measurements::Entry > | getMeasurementsEntry () const |
void | setStrategyChoiceEntry (shared_ptr< strategy_choice::Entry > strategyChoiceEntry) |
shared_ptr< strategy_choice::Entry > | getStrategyChoiceEntry () const |
Friends | |
class | nfd::NameTree |
Name Tree Entry Class.
Definition at line 65 of file name-tree-entry.hpp.
|
explicit |
Definition at line 47 of file name-tree-entry.cpp.
nfd::name_tree::Entry::~Entry | ( | ) |
Definition at line 53 of file name-tree-entry.cpp.
|
inline |
Definition at line 149 of file name-tree-entry.hpp.
Referenced by nfd::clearStrategyInfo(), and nfd::Measurements::Measurements().
|
inline |
Definition at line 161 of file name-tree-entry.hpp.
|
inline |
Definition at line 155 of file name-tree-entry.hpp.
|
inline |
Definition at line 173 of file name-tree-entry.hpp.
|
inline |
Definition at line 167 of file name-tree-entry.hpp.
Referenced by nfd::Measurements::getParent().
|
inline |
Definition at line 179 of file name-tree-entry.hpp.
|
inline |
Definition at line 185 of file name-tree-entry.hpp.
bool nfd::name_tree::Entry::isEmpty | ( | ) | const |
Definition at line 58 of file name-tree-entry.cpp.
void nfd::name_tree::Entry::setFibEntry | ( | shared_ptr< fib::Entry > | fibEntry | ) |
Definition at line 68 of file name-tree-entry.cpp.
|
inline |
Definition at line 191 of file name-tree-entry.hpp.
Referenced by nfd::predicate_NameTreeEntry_hasFibEntry().
void nfd::name_tree::Entry::insertPitEntry | ( | shared_ptr< pit::Entry > | pitEntry | ) |
Definition at line 84 of file name-tree-entry.cpp.
void nfd::name_tree::Entry::erasePitEntry | ( | shared_ptr< pit::Entry > | pitEntry | ) |
Definition at line 94 of file name-tree-entry.cpp.
|
inline |
Definition at line 197 of file name-tree-entry.hpp.
|
inline |
Definition at line 203 of file name-tree-entry.hpp.
Referenced by nfd::clearStrategyInfo().
void nfd::name_tree::Entry::setMeasurementsEntry | ( | shared_ptr< measurements::Entry > | measurementsEntry | ) |
Definition at line 109 of file name-tree-entry.cpp.
Referenced by nfd::Measurements::Measurements().
|
inline |
Definition at line 209 of file name-tree-entry.hpp.
Referenced by nfd::clearStrategyInfo(), nfd::Measurements::findLongestPrefixMatchImpl(), and nfd::Measurements::Measurements().
void nfd::name_tree::Entry::setStrategyChoiceEntry | ( | shared_ptr< strategy_choice::Entry > | strategyChoiceEntry | ) |
Definition at line 125 of file name-tree-entry.cpp.
|
inline |
Definition at line 215 of file name-tree-entry.hpp.
Referenced by nfd::StrategyChoice::begin(), and nfd::StrategyChoice::findEffectiveStrategy().
|
friend |
Definition at line 145 of file name-tree-entry.hpp.