Variants store (arrays of) any data type. Either they provide a pointer to the data in memory, or functions from which the data can be accessed. Variants are replaced together with the data they store (exception: use a data source). More...
#include <ua_types.h>
Public Types | |
| enum | { UA_VARIANT_DATA, UA_VARIANT_DATA_NODELETE } |
Data Fields | |
| const UA_DataType * | type |
| enum UA_Variant:: { ... } | storageType |
| UA_Int32 | arrayLength |
| the number of elements in the data-pointer | |
| void * | data |
| points to the scalar or array data | |
| UA_Int32 | arrayDimensionsSize |
| the number of dimensions the data-array has | |
| UA_Int32 * | arrayDimensions |
| the length of each dimension of the data-array | |
Variants store (arrays of) any data type. Either they provide a pointer to the data in memory, or functions from which the data can be accessed. Variants are replaced together with the data they store (exception: use a data source).
Variant semantics:
| anonymous enum |
the length of each dimension of the data-array
the number of dimensions the data-array has
the number of elements in the data-pointer
| void* UA_Variant::data |
points to the scalar or array data
| enum { ... } UA_Variant::storageType |
| const UA_DataType* UA_Variant::type |
1.7.6.1