24 #ifndef NDN_CXX_LP_CACHE_POLICY_HPP 25 #define NDN_CXX_LP_CACHE_POLICY_HPP 27 #include "../encoding/encoding-buffer.hpp" 70 template<encoding::Tag TAG>
72 wireEncode(EncodingImpl<TAG>& encoder)
const;
84 wireDecode(
const Block& wire);
103 mutable Block m_wire;
111 #endif // NDN_CXX_LP_CACHE_POLICY_HPP represents a CachePolicy header field
Copyright (c) 2013-2017 Regents of the University of California.
Error(const std::string &what)
Represents a TLV element of NDN packet format.
#define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName)
CachePolicyType
indicates the cache policy applied to a Data packet
std::ostream & operator<<(std::ostream &os, CachePolicyType policy)
represents an error in TLV encoding or decoding