#include <field-decl.hpp>
Public Types | |
typedef LOCATION | FieldLocation |
typedef std::integral_constant< bool, REPEATABLE > | IsRepeatable |
typedef std::integral_constant< uint64_t, TYPE > | TlvType |
typedef VALUE | ValueType |
Static Public Member Functions | |
static ValueType | decode (const Block &wire) |
decodes a field More... | |
template<typename encoding::Tag TAG, typename T > | |
static size_t | encode (EncodingImpl< TAG > &encoder, const T &value) |
encodes a field and prepends to encoder its Block with top-level type TYPE More... | |
Definition at line 108 of file field-decl.hpp.
typedef LOCATION ndn::lp::FieldDecl< LOCATION, VALUE, TYPE, REPEATABLE >::FieldLocation |
Definition at line 111 of file field-decl.hpp.
typedef std::integral_constant<bool, REPEATABLE> ndn::lp::FieldDecl< LOCATION, VALUE, TYPE, REPEATABLE >::IsRepeatable |
Definition at line 114 of file field-decl.hpp.
typedef std::integral_constant<uint64_t, TYPE> ndn::lp::FieldDecl< LOCATION, VALUE, TYPE, REPEATABLE >::TlvType |
Definition at line 113 of file field-decl.hpp.
typedef VALUE ndn::lp::FieldDecl< LOCATION, VALUE, TYPE, REPEATABLE >::ValueType |
Definition at line 112 of file field-decl.hpp.
|
inlinestatic |
decodes a field
wire | a Block with top-level type TYPE |
Definition at line 121 of file field-decl.hpp.
|
inlinestatic |
encodes a field and prepends to encoder
its Block with top-level type TYPE
encoder | Instance of the buffer encoder or buffer estimator |
value | value of the field |
Definition at line 136 of file field-decl.hpp.