22 #ifndef NDN_CXX_ENCODING_ENCODING_BUFFER_FWD_HPP
23 #define NDN_CXX_ENCODING_ENCODING_BUFFER_FWD_HPP
49 #define NDN_CXX_DECLARE_WIRE_ENCODE_INSTANTIATIONS(ClassName) \
50 extern template size_t \
51 ClassName::wireEncode<::ndn::encoding::EncoderTag>(::ndn::EncodingBuffer&) const; \
52 extern template size_t \
53 ClassName::wireEncode<::ndn::encoding::EstimatorTag>(::ndn::EncodingEstimator&) const \
55 #define NDN_CXX_DEFINE_WIRE_ENCODE_INSTANTIATIONS(ClassName) \
57 ClassName::wireEncode<::ndn::encoding::EncoderTag>(::ndn::EncodingBuffer&) const; \
59 ClassName::wireEncode<::ndn::encoding::EstimatorTag>(::ndn::EncodingEstimator&) const \
EncodingImpl specialization for actual TLV encoding.
EncodingImpl specialization for TLV size estimation.
Common includes and macros used throughout the library.
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