YAML static array field type objects
A static array field type object is the type of static array data fields, found in data streams.
A static array data field is a sequence of data fields, or elements. In CTF, the number of elements in a static array data field (its length) is found in the metadata stream.
Properties
Name | Type | Description | Req? |
---|---|---|---|
String |
This property’s value must be |
Yes if the |
|
String |
Name of a field type alias from which to inherit. |
Yes if the |
|
Positive integer |
Number of elements in this field type’s instances. |
Yes |
|
Field type object (except a structure field type object and a dynamic array field type object) or string |
Type of each element (data fields) in this field type’s instances. If this property’s value is a string, it must be the name of an existing field type alias. This field type must not be a structure field type or a dynamic array field type. |
Yes |
Generated C types
Pointer to const T
, where T
is the generated C type for
the field type object of the element-field-type
property.
Element field type | Generated C type |
---|---|
8-bit unsigned integer |
|
32-bit signed integer |
|
Single-precision real |
|
|
|
Static array of 16-bit signed integers |
|
Static array of double-precision reals |
|
Static array of strings |
|
Static array of static arrays of 32-bit unsigned integers |
|