22 #ifndef NLSR_TLV_DESTINATION_HPP 23 #define NLSR_TLV_DESTINATION_HPP 27 #include <ndn-cxx/util/time.hpp> 28 #include <ndn-cxx/encoding/block.hpp> 29 #include <ndn-cxx/encoding/encoding-buffer.hpp> 30 #include <ndn-cxx/encoding/tlv.hpp> 31 #include <ndn-cxx/name.hpp> 32 #include <boost/throw_exception.hpp> 78 template<ndn::encoding::Tag TAG>
80 wireEncode(ndn::EncodingImpl<TAG>& block)
const;
91 mutable ndn::Block m_wire;
99 std::shared_ptr<Destination>
105 #endif // NLSR_TLV_DESTINATION_HPP Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
Data abstraction for Destination.
const ndn::Block & wireEncode() const
std::shared_ptr< Destination > makeDes(const RoutingTableEntry &rte)
Error(const std::string &what)
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
const ndn::Name & getName() const
void wireDecode(const ndn::Block &wire)
std::ostream & operator<<(std::ostream &os, const AdjacencyLsa &adjacencyLsa)
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(Destination)
Destination & setName(const ndn::Name &name)