26 #ifndef NFD_DAEMON_TABLE_NAME_TREE_ITERATOR_HPP 27 #define NFD_DAEMON_TABLE_NAME_TREE_ITERATOR_HPP 88 BOOST_ASSERT(m_impl !=
nullptr);
95 BOOST_ASSERT(m_impl !=
nullptr);
117 shared_ptr<EnumerationImpl> m_impl;
121 const Entry* m_entry;
212 using Range = boost::iterator_range<Iterator>;
217 #endif // NFD_DAEMON_TABLE_NAME_TREE_ITERATOR_HPP
bool operator()(const Entry &) const
an EntrySelector that accepts every Entry
A common index structure for FIB, PIT, StrategyChoice, and Measurements.
bool operator==(const Route &lhs, const Route &rhs)
bool operator!=(const Iterator &other) const
std::pair< bool, bool > operator()(const Entry &) const
std::ostream & operator<<(std::ostream &os, const Iterator &i)
enumeration operation implementation
const Entry * operator->() const
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
partial enumeration implementation
std::ptrdiff_t difference_type
an EntrySubTreeSelector that accepts every Entry and its children
An entry in the name tree.
partial enumeration implementation
boost::iterator_range< Iterator > Range
a Forward Range of name tree entries
std::function< std::pair< bool, bool >(const Entry &)> EntrySubTreeSelector
a predicate to accept or reject an Entry and its children
std::forward_iterator_tag iterator_category
full enumeration implementation
std::function< bool(const Entry &)> EntrySelector
a predicate to accept or reject an Entry in find operations
a hashtable for fast exact name lookup
const Entry & operator*() const