22 #ifndef NDN_META_INFO_HPP 23 #define NDN_META_INFO_HPP 64 using tlv::Error::Error;
75 template<encoding::Tag TAG>
109 return m_freshnessPeriod;
120 const optional<name::Component>&
123 return m_finalBlockId;
140 const std::list<Block>&
211 time::milliseconds m_freshnessPeriod;
212 optional<name::Component> m_finalBlockId;
213 std::list<Block> m_appMetaInfo;
215 mutable Block m_wire;
232 return !(*
this == other);
237 #endif // NDN_META_INFO_HPP Copyright (c) 2011-2015 Regents of the University of California.
std::ostream & operator<<(std::ostream &os, const Data &data)
Represents a TLV element of NDN packet format.
const time::milliseconds DEFAULT_FRESHNESS_PERIOD
NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(Exclude)
uint64_t tlvType
TLV-TYPE of the field; 0 if field does not exist.
represents an error in TLV encoding or decoding