open62541pp 0.16.0
C++ wrapper of open62541
|
#include <types.hpp>
Numeric range to indicate subsets of (multidimensional) arrays.
They are no official data type in the OPC UA standard and are transmitted only with a string encoding, such as "1:2,0:3,5". The colon separates min/max index and the comma separates dimensions. A single value indicates a range with a single element (min==max).
Public Member Functions | |
NumericRange ()=default | |
NumericRange (std::string_view encodedRange) | |
NumericRange (const char *encodedRange) | |
NumericRange (Span< const NumericRangeDimension > dimensions) | |
NumericRange (const UA_NumericRange &native) | |
bool | empty () const noexcept |
Span< const NumericRangeDimension > | dimensions () const noexcept |
std::string | toString () const |
|
default |
|
explicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlinenoexcept |
std::string opcua::NumericRange::toString | ( | ) | const |