26 #ifndef NFD_DAEMON_TABLE_NAME_TREE_ENTRY_HPP
27 #define NFD_DAEMON_TABLE_NAME_TREE_ENTRY_HPP
65 class Entry :
public enable_shared_from_this<Entry>, noncopyable
88 std::vector<shared_ptr<Entry> >&
101 shared_ptr<fib::Entry>
113 const std::vector<shared_ptr<pit::Entry> >&
119 shared_ptr<measurements::Entry>
125 shared_ptr<strategy_choice::Entry>
134 shared_ptr<Entry> m_parent;
135 std::vector<shared_ptr<Entry> > m_children;
136 shared_ptr<fib::Entry> m_fibEntry;
137 std::vector<shared_ptr<pit::Entry> > m_pitEntries;
138 shared_ptr<measurements::Entry> m_measurementsEntry;
139 shared_ptr<strategy_choice::Entry> m_strategyChoiceEntry;
166 inline shared_ptr<Entry>
178 inline std::vector<shared_ptr<name_tree::Entry> >&
187 return !m_children.empty();
190 inline shared_ptr<fib::Entry>
199 return !m_pitEntries.empty();
202 inline const std::vector<shared_ptr<pit::Entry> >&
208 inline shared_ptr<measurements::Entry>
211 return m_measurementsEntry;
214 inline shared_ptr<strategy_choice::Entry>
217 return m_strategyChoiceEntry;
223 #endif // NFD_DAEMON_TABLE_NAME_TREE_ENTRY_HPP
void insertPitEntry(shared_ptr< pit::Entry > pitEntry)
shared_ptr< Entry > m_entry
const std::vector< shared_ptr< pit::Entry > > & getPitEntries() const
shared_ptr< Entry > getParent() const
void setParent(shared_ptr< Entry > parent)
void setHash(size_t hash)
bool hasPitEntries() const
void erasePitEntry(shared_ptr< pit::Entry > pitEntry)
void setStrategyChoiceEntry(shared_ptr< strategy_choice::Entry > strategyChoiceEntry)
void setFibEntry(shared_ptr< fib::Entry > fibEntry)
void setMeasurementsEntry(shared_ptr< measurements::Entry > measurementsEntry)
shared_ptr< strategy_choice::Entry > getStrategyChoiceEntry() const
const Name & getPrefix() const
std::vector< shared_ptr< Entry > > & getChildren()
Entry(const Name &prefix)
shared_ptr< measurements::Entry > getMeasurementsEntry() const
shared_ptr< fib::Entry > getFibEntry() const