21 #ifndef NLSR_NEXTHOP_LIST_HPP 22 #define NLSR_NEXTHOP_LIST_HPP 29 #include <boost/cstdint.hpp> 30 #include <ndn-cxx/face.hpp> 76 removeNextHop(
const NextHop& nh);
81 return m_nexthopList.size();
87 m_nexthopList.clear();
90 std::set<NextHop, NextHopComparator>&
96 typedef std::set<NextHop, NextHopComparator>::iterator
iterator;
102 return m_nexthopList.begin();
108 return m_nexthopList.end();
114 return m_nexthopList.begin();
120 return m_nexthopList.end();
127 std::set<NextHop, NextHopComparator> m_nexthopList;
144 #endif // NLSR_NEXTHOP_LIST_HPP bool operator()(const NextHop &nh1, const NextHop &nh2) const
std::ostream & operator<<(std::ostream &os, const Adjacent &adjacent)
bool operator==(const NamePrefixTableEntry &lhs, const NamePrefixTableEntry &rhs)
const_iterator cend() const
const_iterator cbegin() const
bool operator!=(const NexthopList &lhs, const NexthopList &rhs)
const std::string & getConnectingFaceUri() const
Copyright (c) 2014-2017, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
uint64_t getRouteCostAsAdjustedInteger() const
std::set< NextHop, NextHopComparator >::iterator iterator
std::set< NextHop, NextHopComparator > & getNextHops()
std::set< NextHop, NextHopComparator >::const_iterator const_iterator