22 #ifndef NDN_CXX_LP_FIELD_HPP 23 #define NDN_CXX_LP_FIELD_HPP 25 #include "../common.hpp" 26 #include "../encoding/encoding-buffer.hpp" 27 #include "../util/concepts.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,
"");
72 typename X::ValueType decoded = j.decode(wire);
74 j.encode(enc, decoded);
81 #endif // NDN_CXX_LP_FIELD_HPP Copyright (c) 2013-2017 Regents of the University of California.
Represents a TLV element of NDN packet format.
BOOST_CONCEPT_ASSERT((Field< SequenceField >))
BOOST_CONCEPT_USAGE(Field)
#define NDN_CXX_ASSERT_DEFAULT_CONSTRUCTIBLE(T)
assert T is default constructible
EncodingImpl< EncoderTag > EncodingBuffer