open62541pp 0.17.0
C++ wrapper of open62541
|
#include <types.hpp>
UA_NumericRange wrapper class.
Numeric ranges 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) | |
NumericRange (UA_NumericRange &&native) noexcept | |
~NumericRange () | |
NumericRange (const NumericRange &other) | |
NumericRange (NumericRange &&other) noexcept | |
NumericRange & | operator= (const NumericRange &other) |
NumericRange & | operator= (NumericRange &&other) noexcept |
bool | empty () const noexcept |
Span< const NumericRangeDimension > | dimensions () const noexcept |
std::string | toString () const |
![]() | |
constexpr | Wrapper () noexcept=default |
constexpr | Wrapper (const UA_NumericRange &native) noexcept |
constexpr | Wrapper (UA_NumericRange &&native) noexcept |
constexpr Wrapper & | operator= (const UA_NumericRange &native) noexcept |
constexpr Wrapper & | operator= (UA_NumericRange &&native) noexcept |
constexpr | operator UA_NumericRange & () noexcept |
constexpr | operator const UA_NumericRange & () const noexcept |
constexpr UA_NumericRange * | operator-> () noexcept |
constexpr const UA_NumericRange * | operator-> () const noexcept |
constexpr UA_NumericRange * | handle () noexcept |
constexpr const UA_NumericRange * | handle () const noexcept |
constexpr void | swap (Wrapper &other) noexcept |
constexpr void | swap (UA_NumericRange &native) noexcept |
Related Symbols | |
(Note that these are not member symbols.) | |
bool | operator== (const NumericRangeDimension &lhs, const NumericRangeDimension &rhs) noexcept |
bool | operator!= (const NumericRangeDimension &lhs, const NumericRangeDimension &rhs) noexcept |
![]() | |
constexpr WrapperType * | asWrapper (NativeType *native) noexcept |
constexpr const WrapperType * | asWrapper (const NativeType *native) noexcept |
constexpr WrapperType & | asWrapper (NativeType &native) noexcept |
constexpr const WrapperType & | asWrapper (const NativeType &native) noexcept |
constexpr NativeType * | asNative (WrapperType *wrapper) noexcept |
constexpr const NativeType * | asNative (const WrapperType *wrapper) noexcept |
constexpr NativeType & | asNative (WrapperType &wrapper) noexcept |
constexpr const NativeType & | asNative (const WrapperType &wrapper) noexcept |
Additional Inherited Members | |
![]() | |
using | NativeType |
![]() | |
constexpr const UA_NumericRange & | native () const noexcept |
constexpr UA_NumericRange & | native () noexcept |
|
default |
|
explicit |
Create a NumericRange from the encoded representation, e.g. 1:2,0:3,5
.
|
inlineexplicit |
|
inlineexplicit |
Create a NumericRange from dimensions.
|
inlineexplicit |
Create a NumericRange from native object (copy).
|
inlinenoexcept |
Create a NumericRange from native object (move).
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
std::string opcua::NumericRange::toString | ( | ) | const |
|
related |
|
related |