26 #ifndef NFD_DAEMON_TABLE_PIT_ITERATOR_HPP 27 #define NFD_DAEMON_TABLE_PIT_ITERATOR_HPP 51 Iterator(
const NameTree::const_iterator& ntIt = NameTree::const_iterator(),
size_t iPitEntry = 0);
59 const shared_ptr<Entry>&
62 BOOST_ASSERT(m_ntIt != NameTree::const_iterator());
63 BOOST_ASSERT(m_iPitEntry < m_ntIt->getPitEntries().size());
64 return m_ntIt->getPitEntries()[m_iPitEntry];
76 return m_ntIt == other.m_ntIt && m_iPitEntry == other.m_iPitEntry;
86 NameTree::const_iterator m_ntIt;
93 #endif // NFD_DAEMON_TABLE_PIT_ITERATOR_HPP std::ptrdiff_t difference_type
bool operator==(const Iterator &other) const
bool operator!=(const Iterator &other) const
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
std::forward_iterator_tag iterator_category
const shared_ptr< Entry > & operator->() const
const Entry & operator*() const