#include <uanumericrange.h>
Public Member Functions | |
UaNumericRange () | |
UaNumericRange (const UaNumericRange &other) | |
UaNumericRange (const UaString &sNumericRange) | |
~UaNumericRange () | |
UaNumericRange & | operator= (const UaNumericRange &other) |
void | clear () |
OpcUa_StatusCode | setNumericRange (const UaString &sNumericRange) |
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.
UaNumericRange::UaNumericRange | ( | const UaNumericRange & | other ) |
Constructs a numeric range object with the passed numeric range object.
UaNumericRange::UaNumericRange | ( | const UaString & | sNumericRange ) |
Constructs a numeric range object with the passed numeric range string.
UaNumericRange::~UaNumericRange | ( | ) |
Destroys the numeric range object
void UaNumericRange::clear | ( | ) |
Clear all memory that has been allocated and reset all members
UaNumericRange & UaNumericRange::operator= | ( | const UaNumericRange & | other ) |
operator=
OpcUa_StatusCode UaNumericRange::setNumericRange | ( | const UaString & | sNumericRange ) |
Sets the numeric range object with the passed numeric range string.