nl::FieldDescriptor

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

Cấu trúc mô tả một trường TLV trong cấu trúc giản đồ và kết nối trường đó với dữ liệu theo cấu trúc c-struct.

Tóm tắt

Thuộc tính công khai

mNestedFieldDescriptors
Con trỏ đến một nhóm bộ mô tả trường khác, nếu chúng ta có cấu trúc, v.v.
mOffset
uint16_t
Nơi xem dữ liệu trong cấu trúc c để ghi dữ liệu vào trường TLV.
mTVDContextTag
uint8_t
Thẻ ngữ cảnh của trường TLV.
mTypeAndFlags
uint8_t
Loại dữ liệu của trường TLV.

Hàm công khai

GetType(void) const
IsNullable(void) const
bool

Thuộc tính công khai

mNestedFieldDescriptors

const SchemaFieldDescriptor * nl::FieldDescriptor::mNestedFieldDescriptors

Con trỏ đến một nhóm bộ mô tả trường khác, nếu chúng ta có cấu trúc, v.v.

mOffset

uint16_t nl::FieldDescriptor::mOffset

Nơi xem dữ liệu trong cấu trúc c để ghi dữ liệu vào trường TLV.

mTVDContextTag

uint8_t nl::FieldDescriptor::mTVDContextTag

Thẻ ngữ cảnh của trường TLV.

mTypeAndFlags

uint8_t nl::FieldDescriptor::mTypeAndFlags

Loại dữ liệu của trường TLV.

Hàm công khai

GetType

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

IsNullable

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