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)
Data abstraction for Destination.
Data abstraction for Nexthop.
Error(const std::string &what)
const_iterator end() const
RoutingTable & clearNexthops()
uint64_t getRtSize() const
std::list< NextHop > HopList
const Destination & getDestination() const
Data abstraction for RouteTableInfo.
RoutingTable & setDestination(const Destination &des)
const ndn::Block & wireEncode() const
HopList::const_iterator const_iterator
const std::list< NextHop > & getNextHops() const
RoutingTable & setRtSize(uint64_t size)
Copyright (c) 2014-2019, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
const_iterator begin() const
std::ostream & operator<<(std::ostream &os, const AdjacencyLsa &adjacencyLsa)
RoutingTable & addNexthops(const NextHop &nexthop)
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(AdjacencyLsa)