nl::FieldDescriptor

#include <src/lib/support/SerializationUtils.h>

Structure that describes a TLV field in a schema structure and connects it to data in a c-struct.

Summary

Public attributes

mNestedFieldDescriptors
Pointer to another group of field descriptors, if we have structs, etc.
mOffset
uint16_t
Where to look in the c-struct for the data to write into the TLV field.
mTVDContextTag
uint8_t
Context tag of the TLV field.
mTypeAndFlags
uint8_t
Data type of the TLV field.

Public functions

GetType(void) const
IsNullable(void) const
bool

Public attributes

mNestedFieldDescriptors

const SchemaFieldDescriptor * nl::FieldDescriptor::mNestedFieldDescriptors

Pointer to another group of field descriptors, if we have structs, etc.

mOffset

uint16_t nl::FieldDescriptor::mOffset

Where to look in the c-struct for the data to write into the TLV field.

mTVDContextTag

uint8_t nl::FieldDescriptor::mTVDContextTag

Context tag of the TLV field.

mTypeAndFlags

uint8_t nl::FieldDescriptor::mTypeAndFlags

Data type of the TLV field.

Public functions

GetType

SerializedFieldType nl::FieldDescriptor::GetType(
  void
) const 

IsNullable

bool nl::FieldDescriptor::IsNullable(
  void
) const