22 #ifndef NLSR_TLV_ROUTING_TABLE_ENTRY_HPP 23 #define NLSR_TLV_ROUTING_TABLE_ENTRY_HPP 28 #include <ndn-cxx/util/time.hpp> 29 #include <ndn-cxx/encoding/block.hpp> 30 #include <ndn-cxx/encoding/encoding-buffer.hpp> 31 #include <ndn-cxx/encoding/tlv.hpp> 32 #include <ndn-cxx/name.hpp> 99 const std::list<NextHop>&
111 template<ndn::encoding::Tag TAG>
113 wireEncode(ndn::EncodingImpl<TAG>& block)
const;
133 mutable ndn::Block m_wire;
141 return m_nexthops.begin();
147 return m_nexthops.end();
156 #endif // NLSR_TLV_ROUTING_TABLE_ENTRY_HPP void wireDecode(const ndn::Block &wire)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
Data abstraction for Destination.
Data abstraction for Nexthop.
const Destination & getDestination() const
const std::list< NextHop > & getNextHops() const
Error(const std::string &what)
RoutingTable & clearNexthops()
std::list< NextHop > HopList
Data abstraction for RouteTableInfo.
RoutingTable & setDestination(const Destination &des)
HopList::const_iterator const_iterator
uint64_t getRtSize() const
const ndn::Block & wireEncode() const
RoutingTable & setRtSize(uint64_t size)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
std::ostream & operator<<(std::ostream &os, const AdjacencyLsa &adjacencyLsa)
const_iterator end() const
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(Destination)
const_iterator begin() const
RoutingTable & addNexthops(const NextHop &nexthop)