|
| UaRange () |
| Constructs an instance of the class UaRange with empty default values.
|
|
| UaRange (const UaRange &other) |
| Constructs an instance of the class UaRange with values from another UaRange object. More...
|
|
| UaRange (const OpcUa_Range &other) |
| Constructs an instance of the class UaRange with values from another OpcUa_Range structure. More...
|
|
| UaRange (OpcUa_Double low, OpcUa_Double high) |
| Constructs an instance of the class UaRange with values provided in the constructor.
|
|
| UaRange (const UaExtensionObject &extensionObject) |
| Constructs an instance of the class UaRange initialized with value from a UaExtensionObject. More...
|
|
| UaRange (const OpcUa_ExtensionObject &extensionObject) |
| Constructs an instance of the class UaRange initialized with value from an OpcUa_ExtensionObject structure. More...
|
|
| UaRange (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| UaRange (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| ~UaRange () |
| Destroys the UaRange object.
|
|
void | clear () |
| Clear the data of the UaRange. More...
|
|
bool | operator== (const UaRange &other) const |
| Compare two UaRange if they are similar. More...
|
|
bool | operator!= (const UaRange &other) const |
| Returns true if the other UaRange is not equal to this. More...
|
|
UaRange & | operator= (const UaRange &other) |
| Assignment operator. More...
|
|
OpcUa_Range * | copy () const |
| Copy UaRange data to a newly allocated OpcUa_Range. More...
|
|
void | copyTo (OpcUa_Range *pDst) const |
| Copy UaRange data to an existing OpcUa_Range structure. More...
|
|
void | attach (const OpcUa_Range *pValue) |
| Attaches the data of the parameter pValue. More...
|
|
OpcUa_Range * | detach (OpcUa_Range *pDst) |
| Detaches the internal Range structure from this class. More...
|
|
void | toVariant (UaVariant &variant) const |
|
void | toVariant (OpcUa_Variant &variant) const |
|
void | toVariant (UaVariant &variant, OpcUa_Boolean bDetach) |
|
void | toVariant (OpcUa_Variant &variant, OpcUa_Boolean bDetach) |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toExtensionObject (UaExtensionObject &extensionObject) const |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject) const |
|
void | toExtensionObject (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setRange (const UaExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setRange (const OpcUa_ExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setRange (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setRange (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | setRange (OpcUa_Double low, OpcUa_Double high) |
|
OpcUa_Double | getLow () const |
|
OpcUa_Double | getHigh () const |
|
void | setLow (OpcUa_Double low) |
|
void | setHigh (OpcUa_Double high) |
|
Wrapper class for the UA stack structure OpcUa_Range.
This class encapsulates the native OpcUa_Range structure and handles memory allocation and cleanup for you. UaRange uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared Range it creates a copy for that (copy-on-write). So assigning another UaRange or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.