22 #ifndef NDN_ENCODING_ENCODING_BUFFER_FWD_HPP 23 #define NDN_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 \ 61 #endif // NDN_ENCODING_ENCODING_BUFFER_FWD_HPP
EncodingImpl specialization for actual TLV encoding.
EncodingImpl specialization for TLV size estimation.
Common includes and macros used throughout the library.
Tag for EncodingImpl to indicate that Estimator is requested.
Tag for EncodingImpl to indicate that Encoder is requested.
EncodingImpl< EncoderTag > EncodingBuffer
EncodingImpl< EstimatorTag > EncodingEstimator