35     return os << 
"NoCache";
    51 template<encoding::Tag TAG>
    61   length += encoder.prependVarNumber(length);
    85   m_wire = buffer.block();
 void wireDecode(const Block &wire)
get CachePolicyType from wire format 
represents a CachePolicy header field 
size_t prependNonNegativeIntegerBlock(EncodingImpl< TAG > &encoder, uint32_t type, uint64_t value)
Prepend a TLV element containing a non-negative integer. 
CachePolicy & setPolicy(CachePolicyType policy)
set policy type code 
void parse() const
Parse TLV-VALUE into sub-elements. 
Represents a TLV element of NDN packet format. 
bool hasWire() const noexcept
Check if the Block contains a fully encoded wire representation. 
element_const_iterator elements_begin() const
Equivalent to elements().begin() 
uint64_t readNonNegativeInteger(const Block &block)
Read a non-negative integer from a TLV element. 
const Block & wireEncode() const
encode CachePolicy into wire format 
element_const_iterator elements_end() const
Equivalent to elements().end() 
void reset() noexcept
Reset the Block to a default-constructed state. 
#define NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
CachePolicyType
indicates the cache policy applied to a Data packet 
CachePolicyType getPolicy() const
std::ostream & operator<<(std::ostream &os, CachePolicyType policy)
EncodingImpl< EncoderTag > EncodingBuffer
uint32_t type() const
Return the TLV-TYPE of the Block. 
EncodingImpl< EstimatorTag > EncodingEstimator