![]() |
xchange v1.0
Structured data exchange for C/C++
|
An SMA-X field, typically as part of an XStructure. A field may be a reference to a nested XStructure itself. More...
#include <xchange.h>
Data Fields | |
| boolean | isSerialized |
| Whether the fields is stored in serialized (string) format. | |
| char * | name |
| int | ndim |
| The dimensionality of the data. | |
| struct XField * | next |
| Pointer to the next linked element (if inside an XStructure). | |
| int | sizes [X_MAX_DIMS] |
| The sizes along each dimension. | |
| char * | subtype |
| XType | type |
| The underlyng data type. | |
| void * | value |
An SMA-X field, typically as part of an XStructure. A field may be a reference to a nested XStructure itself.
| char* name |
Pointer to a designated local name buffer. It may not contain a separator (see X_SEP). NOTE: it should normally be dynamically allocated, to work with xClearField() / xDestroyField().
| char* subtype |
(optional) Descriptive subtype, such a a mime type or encoding (if any). It is entirely up to the user / application to assing meaning to this field. NOTE: it should normally be dynamically allocated, to work with xClearField() / xDestroyField().
| void* value |
Pointer to designated local string content (or structure)... NOTE: it should normally be dynamically allocated, to work with xClearField() / xDestroyField().