Composite
OmfComposite
typedef struct {
size_t n_elements;
const OmfElement *elements;
} OmfComposite;
A container for a set of related sub-elements.
Attribute Locations
OMF_LOCATION_ELEMENTSto apply one value to each sub-element.
Fields
- n_elements:
size_t - Number of sub-elements.
- elements:
const OmfElement * - Pointer to an array of
n_elementssub-elements.
Methods
omf_composite_init
OmfComposite omf_composite_init(void);
Initializes or resets a composite struct.