22 #ifndef NDN_CXX_ENCODING_ENCODING_BUFFER_FWD_HPP
23 #define NDN_CXX_ENCODING_ENCODING_BUFFER_FWD_HPP
47 #define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName) \
48 extern template size_t \
49 ClassName::wireEncode<::ndn::encoding::EncoderTag>(::ndn::EncodingBuffer&) const; \
50 extern template size_t \
51 ClassName::wireEncode<::ndn::encoding::EstimatorTag>(::ndn::EncodingEstimator&) const \
53 #define NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(ClassName) \
55 ClassName::wireEncode<::ndn::encoding::EncoderTag>(::ndn::EncodingBuffer&) const; \
57 ClassName::wireEncode<::ndn::encoding::EstimatorTag>(::ndn::EncodingEstimator&) const \
EncodingImpl specialization for actual TLV encoding.
EncodingImpl specialization for TLV size estimation.
EncodingImpl< EstimatorTag > EncodingEstimator
@ EncoderTag
Tag for EncodingImpl to indicate that Encoder is requested.
@ EstimatorTag
Tag for EncodingImpl to indicate that Estimator is requested.
EncodingImpl< EncoderTag > EncodingBuffer