Sfairadora

  • Reference Guide

Struct_def

The definition type of the type categorystructure.
Type
Name
Description
Seq(component definition)
(see below)
items
The list of the structure components.
Dref optional
org_ref
An internal item.

Component Definition

Type
Name
Description
String
name
The component name. It must be an identifier.
type
The type of the component.
Bool
optional
If set TRUE, the component defined is optional.
Bool optional
inline
If set TRUE, the data of the elements is stored in the same memory block as the entire structure. Otherwise, separate memory blocks are allocated for each element.
The component need not be specified. Then, Sfairadora determines the optimal memory allocation automatically.
Bool
hidden
If set TRUE, the component defined is hidden. The universal dispel does not generate any presentation for a hidden component.
Union optional
init_value
An initial value of the structure component. The value must be of the same type as the component defined. If not specified, the initial value of the defined component’s type is used.