36   : m_prefixAnn(
std::
move(prefixAnn))
    38   if (m_prefixAnn->getData() == 
nullopt) {
    43 template<encoding::Tag TAG>
    48     NDN_THROW(
Error(
"PrefixAnnouncementHeader does not contain a PrefixAnnouncement"));
    52   length += m_prefixAnn->getData()->wireEncode(encoder);
    53   length += encoder.prependVarNumber(length);
 
void parse() const
Parse TLV-VALUE into sub-elements. 
Represents a TLV element of NDN packet format. 
A prefix announcement object that represents an application's intent of registering a prefix toward i...
const Block & get(uint32_t type) const
Return the first sub-element of the specified TLV-TYPE. 
#define NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
const nullopt_t nullopt((nullopt_t::init()))
uint32_t type() const
Return the TLV-TYPE of the Block.