26 #ifndef NFD_DAEMON_TABLE_PIT_ITERATOR_HPP 27 #define NFD_DAEMON_TABLE_PIT_ITERATOR_HPP 45 Iterator(
const NameTree::const_iterator& ntIt = NameTree::const_iterator(),
size_t iPitEntry = 0);
53 const shared_ptr<Entry>&
56 BOOST_ASSERT(m_ntIt != NameTree::const_iterator());
57 BOOST_ASSERT(m_iPitEntry < m_ntIt->getPitEntries().size());
58 return m_ntIt->getPitEntries()[m_iPitEntry];
70 return m_ntIt == other.m_ntIt && m_iPitEntry == other.m_iPitEntry;
80 NameTree::const_iterator m_ntIt;
87 #endif // NFD_DAEMON_TABLE_PIT_ITERATOR_HPP bool operator==(const Iterator &other) const
bool operator!=(const Iterator &other) const
Table::const_iterator iterator
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
Iterator(const NameTree::const_iterator &ntIt=NameTree::const_iterator(), size_t iPitEntry=0)
constructor
const shared_ptr< Entry > & operator->() const
const Entry & operator*() const