24 #ifndef NDN_CXX_LP_PREFIX_ANNOUNCEMENT_HPP 25 #define NDN_CXX_LP_PREFIX_ANNOUNCEMENT_HPP 27 #include "../data.hpp" 28 #include "../name.hpp" 61 template<encoding::Tag TAG>
74 shared_ptr<const Data>
81 setData(shared_ptr<const Data> data);
84 shared_ptr<const Data> m_data;
92 #endif // NDN_CXX_LP_PREFIX_ANNOUNCEMENT_HPP Copyright (c) 2013-2017 Regents of the University of California.
Represents a TLV element of NDN packet format.
PrefixAnnouncement & setData(shared_ptr< const Data > data)
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
Name getAnnouncedName() const
Get announced name.
Error(const std::string &what)
void wireDecode(const Block &wire)
Represents an absolute name.
shared_ptr< const Data > getData() const
size_t wireEncode(EncodingImpl< TAG > &encoder) const
represents a Prefix Announcement
represents an error in TLV encoding or decoding