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;
137 [[deprecated(
"use getFinalBlock")]]
150 [[deprecated(
"use setFinalBlock")]]
163 const std::list<Block>&
234 time::milliseconds m_freshnessPeriod;
235 optional<name::Component> m_finalBlockId;
236 std::list<Block> m_appMetaInfo;
238 mutable Block m_wire;
255 return !(*
this == other);
260 #endif // NDN_META_INFO_HPP Copyright (c) 2013-2017 Regents of the University of California.
std::ostream & operator<<(std::ostream &os, const Data &data)
Represents a TLV element of NDN packet format.
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
const time::milliseconds DEFAULT_FRESHNESS_PERIOD
uint64_t tlvType
TLV-TYPE of the field; 0 if field does not exist.
Represents a name component.
represents an error in TLV encoding or decoding