An entry in the name tree.
More...
#include <daemon/table/name-tree-entry.hpp>
|
template<typename ENTRY > |
static Entry * | get (const ENTRY &tableEntry) |
|
An entry in the name tree.
Definition at line 41 of file name-tree-entry.hpp.
◆ Entry()
nfd::name_tree::Entry::Entry |
( |
const Name & |
prefix, |
|
|
Node * |
node |
|
) |
| |
◆ erasePitEntry()
void nfd::name_tree::Entry::erasePitEntry |
( |
pit::Entry * |
pitEntry | ) |
|
◆ get()
template<typename ENTRY >
static Entry* nfd::name_tree::Entry::get |
( |
const ENTRY & |
tableEntry | ) |
|
|
inlinestatic |
- Returns
- name tree entry on which a table entry is attached, or nullptr if the table entry is detached
- Note
- This function is for NameTree internal use. Other components should use NameTree::getEntry(tableEntry) instead.
Definition at line 163 of file name-tree-entry.hpp.
◆ getChildren()
const std::vector<Entry*>& nfd::name_tree::Entry::getChildren |
( |
| ) |
const |
|
inlinenoexcept |
◆ getFibEntry()
fib::Entry* nfd::name_tree::Entry::getFibEntry |
( |
| ) |
const |
|
inline |
◆ getMeasurementsEntry()
◆ getName()
const Name& nfd::name_tree::Entry::getName |
( |
| ) |
const |
|
inlinenoexcept |
◆ getParent()
Entry* nfd::name_tree::Entry::getParent |
( |
| ) |
const |
|
inlinenoexcept |
◆ getPitEntries()
const std::vector<shared_ptr<pit::Entry> >& nfd::name_tree::Entry::getPitEntries |
( |
| ) |
const |
|
inline |
◆ getStrategyChoiceEntry()
◆ hasChildren()
bool nfd::name_tree::Entry::hasChildren |
( |
| ) |
const |
|
inline |
◆ hasPitEntries()
bool nfd::name_tree::Entry::hasPitEntries |
( |
| ) |
const |
|
inline |
◆ hasTableEntries()
bool nfd::name_tree::Entry::hasTableEntries |
( |
| ) |
const |
- Return values
-
true | at least one table entries is attached |
false | no table entry is attached |
Definition at line 63 of file name-tree-entry.cpp.
◆ insertPitEntry()
void nfd::name_tree::Entry::insertPitEntry |
( |
shared_ptr< pit::Entry > |
pitEntry | ) |
|
◆ isEmpty()
bool nfd::name_tree::Entry::isEmpty |
( |
| ) |
const |
|
inline |
- Return values
-
true | this entry has no children and no table entries |
false | this entry has child or attached table entry |
Definition at line 99 of file name-tree-entry.hpp.
◆ setFibEntry()
void nfd::name_tree::Entry::setFibEntry |
( |
unique_ptr< fib::Entry > |
fibEntry | ) |
|
◆ setMeasurementsEntry()
void nfd::name_tree::Entry::setMeasurementsEntry |
( |
unique_ptr< measurements::Entry > |
measurementsEntry | ) |
|
◆ setParent()
void nfd::name_tree::Entry::setParent |
( |
Entry & |
entry | ) |
|
◆ setStrategyChoiceEntry()
void nfd::name_tree::Entry::setStrategyChoiceEntry |
( |
unique_ptr< strategy_choice::Entry > |
strategyChoiceEntry | ) |
|
◆ unsetParent()
void nfd::name_tree::Entry::unsetParent |
( |
| ) |
|
◆ getNode