SofaBuffers C/C++ 0.12.0
API Documentation
Loading...
Searching...
No Matches
sofab_object_descr_field_t Struct Reference

Description of a single field within a SofaBuffer object. More...

#include <object.h>

Data Fields

const sofab_object_descr_id_t id
 
const sofab_object_descr_offset_t offset
 
const sofab_object_descr_size_t size
 
const uint8_t nested_idx
 
const uint8_t type: 4
 
const uint8_t element_size: 4
 

Detailed Description

Description of a single field within a SofaBuffer object.

Definition at line 680 of file object.h.

Field Documentation

◆ element_size

const uint8_t sofab_object_descr_field_t::element_size

Size of individual elements for arrays (4bit for type length: 1..8)

Definition at line 687 of file object.h.

◆ id

const sofab_object_descr_id_t sofab_object_descr_field_t::id

Field ID (width per SOFAB_OBJECT_DESCR_PROFILE)

Definition at line 682 of file object.h.

◆ nested_idx

const uint8_t sofab_object_descr_field_t::nested_idx

SEQUENCE: index into the nested object descriptor list. BLOB/ARRAY: byte width of the companion length member (0 = not sized), see SOFAB_OBJECT_FIELD_BLOB_SIZED / SOFAB_OBJECT_FIELD_ARRAY_SIZED

Definition at line 685 of file object.h.

◆ offset

const sofab_object_descr_offset_t sofab_object_descr_field_t::offset

Offset within the object structure (width per profile)

Definition at line 683 of file object.h.

◆ size

const sofab_object_descr_size_t sofab_object_descr_field_t::size

Size of the field in bytes (width per profile)

Definition at line 684 of file object.h.

◆ type

const uint8_t sofab_object_descr_field_t::type

Field type (4bit for types: 0x0..0xC)

Definition at line 686 of file object.h.


The documentation for this struct was generated from the following file: