22 #ifndef NDN_CXX_LP_FIELD_HPP
23 #define NDN_CXX_LP_FIELD_HPP
35 namespace field_location_tags {
63 static_assert(std::is_base_of<field_location_tags::Base, typename X::FieldLocation>::value,
"");
64 static_assert(std::is_same<typename X::TlvType::value_type, uint64_t>::value,
"");
65 static_assert(std::is_same<typename X::IsRepeatable::value_type, bool>::value,
"");
66 static_assert(std::is_default_constructible<typename X::ValueType>::value,
"");
67 static_assert(std::is_copy_constructible<typename X::ValueType>::value,
"");
72 typename X::ValueType decoded = j.decode(wire);
74 j.encode(enc, decoded);
Represents a TLV element of the NDN packet format.
Common includes and macros used throughout the library.
EncodingImpl< EncoderTag > EncodingBuffer
BOOST_CONCEPT_USAGE(Field)