UA Server SDK C++ Bundle
1.4.0.258
|
Helper class for NumericRange handling. More...
#include <uanumericrange.h>
Public Member Functions | |
UaNumericRange () | |
Constructs a numeric range object with initial value. More... | |
UaNumericRange (const UaNumericRange &other) | |
Constructs a numeric range object with the passed numeric range object. | |
UaNumericRange (const UaString &sNumericRange) | |
Constructs a numeric range object with the passed numeric range string. | |
~UaNumericRange () | |
Destroys the numeric range object. | |
UaNumericRange & | operator= (const UaNumericRange &other) |
operator= | |
bool | isValid () const |
Test the numeric range for validity. More... | |
void | clear () |
Clear all memory that has been allocated and reset all members. | |
OpcUa_StatusCode | setNumericRange (const UaString &sNumericRange) |
Sets the numeric range object with the passed numeric range string. | |
int | dimensions () const |
UaNumericRangeDimension | dimension (OpcUa_UInt32 index) const |
Helper class for NumericRange handling.
The numeric range provides a way to identify a subset of a single or multidimensional array of data. The numeric range is provided as a string with a defined syntax for different constructs like single index into an array, a range of the array or a subset of a multidimensional array.
BNF for NumericRange:
<numeric-range> ::= dimension [',' dimension]
dimension ::= index [':' index]
index ::= digit [digit]
digit ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'
UaNumericRange::UaNumericRange | ( | ) |
Constructs a numeric range object with initial value.
No numeric range is set.
bool UaNumericRange::isValid | ( | ) | const |
Test the numeric range for validity.