High Performance OPC UA Server SDK
1.7.1.383
|
This datatype is used to read or write parts of arrays. More...
#include <indexrange.h>
Public Member Functions | |
ua_statuscode | ua_indexrange_parse (const struct ua_string *index_range, struct ua_indexrange *indexrange_array, unsigned int *max_dimensions) |
Parses an index range string to an ua_indexrange array. More... | |
Data Fields | |
uint32_t | first |
Index of the first element. | |
uint32_t | last |
Index of the last element or zero if only one element is specified. | |
This datatype is used to read or write parts of arrays.
ua_statuscode ua_indexrange_parse | ( | const struct ua_string * | index_range, |
struct ua_indexrange * | indexrange_array, | ||
unsigned int * | max_dimensions | ||
) |
Parses an index range string to an ua_indexrange array.
The caller must provide the array. the parser will at maximum parse max_dimensions
index ranges and write the actual number of index ranges contained in the string to this value.
index_range | ua_string to be parsed. |
indexrange_array | array of index ranges provided by the caller that will contain the result. |
max_dimensions | length of the ua_indexrange array; on success, the number of parsed index ranges will be written to this value. |