C++ Based OPC UA Client/Server SDK
1.6.5.478
|
Array class for the UA stack structure OpcUa_MonitoredItemModifyResult. More...
#include <uaarraytemplates.h>
Public Member Functions | |
UaMonitoredItemModifyResults () | |
Constructs an empty instance of the class UaMonitoredItemModifyResults. | |
UaMonitoredItemModifyResults (const UaMonitoredItemModifyResults &other) | |
Constructs an instance of the class MonitoredItemModifyResults with values from another MonitoredItemModifyResults object. More... | |
UaMonitoredItemModifyResults (OpcUa_Int32 length, OpcUa_MonitoredItemModifyResult *data) | |
Constructs an instance of the class UaMonitoredItemModifyResult using a raw OpcUa_MonitoredItemModifyResult array. More... | |
virtual | ~UaMonitoredItemModifyResults () |
Destroys the UaMonitoredItemModifyResults object. | |
UaMonitoredItemModifyResults & | operator= (const UaMonitoredItemModifyResults &other) |
Assignment operator. More... | |
const OpcUa_MonitoredItemModifyResult & | operator[] (OpcUa_UInt32 index) const |
Index operator. More... | |
OpcUa_MonitoredItemModifyResult & | operator[] (OpcUa_UInt32 index) |
Index operator. More... | |
bool | operator== (const UaMonitoredItemModifyResults &other) const |
Compare two UaMonitoredItemModifyResults. More... | |
bool | operator!= (const UaMonitoredItemModifyResults &other) const |
Compare two UaMonitoredItemModifyResults. More... | |
void | attach (OpcUa_UInt32 length, OpcUa_MonitoredItemModifyResult *data) |
Attach to a raw OpcUa_MonitoredItemModifyResult array. More... | |
void | attach (OpcUa_Int32 length, OpcUa_MonitoredItemModifyResult *data) |
Attach to a raw OpcUa_MonitoredItemModifyResult array. More... | |
OpcUa_MonitoredItemModifyResult * | detach () |
Detach from the internal OpcUa_MonitoredItemModifyResult array. More... | |
void | create (OpcUa_UInt32 length) |
Clears the array and resizes to the given length. More... | |
void | resize (OpcUa_UInt32 length) |
Resizes the array to a given length. More... | |
void | clear () |
Clears the array. | |
Array class for the UA stack structure OpcUa_MonitoredItemModifyResult.
This class encapsulates an array of the native OpcUa_MonitoredItemModifyResult structure and handles memory allocation and cleanup for you.
UaMonitoredItemModifyResults::UaMonitoredItemModifyResults | ( | const UaMonitoredItemModifyResults & | other | ) |
Constructs an instance of the class MonitoredItemModifyResults with values from another MonitoredItemModifyResults object.
other | the other MonitoredItemModifyResults used to initialize the object |
UaMonitoredItemModifyResults::UaMonitoredItemModifyResults | ( | OpcUa_Int32 | length, |
OpcUa_MonitoredItemModifyResult * | data | ||
) |
Constructs an instance of the class UaMonitoredItemModifyResult using a raw OpcUa_MonitoredItemModifyResult array.
length | the length of the raw OpcUa_MonitoredItemModifyResult array |
data | the raw OpcUa_MonitoredItemModifyResult array |
void UaMonitoredItemModifyResults::attach | ( | OpcUa_UInt32 | length, |
OpcUa_MonitoredItemModifyResult * | data | ||
) |
Attach to a raw OpcUa_MonitoredItemModifyResult array.
length | the length of the raw OpcUa_MonitoredItemModifyResult array |
data | the raw OpcUa_MonitoredItemModifyResult array |
void UaMonitoredItemModifyResults::attach | ( | OpcUa_Int32 | length, |
OpcUa_MonitoredItemModifyResult * | data | ||
) |
Attach to a raw OpcUa_MonitoredItemModifyResult array.
length | the length of the raw OpcUa_MonitoredItemModifyResult array |
data | the raw OpcUa_MonitoredItemModifyResult array |
void UaMonitoredItemModifyResults::create | ( | OpcUa_UInt32 | length | ) |
Clears the array and resizes to the given length.
length | the new length of the array |
OpcUa_MonitoredItemModifyResult * UaMonitoredItemModifyResults::detach | ( | ) |
Detach from the internal OpcUa_MonitoredItemModifyResult array.
After detaching, the detached array data will not be cleared automatically anymore.
bool UaMonitoredItemModifyResults::operator!= | ( | const UaMonitoredItemModifyResults & | other | ) | const |
Compare two UaMonitoredItemModifyResults.
other | the UaMonitoredItemModifyResults to compare with. |
UaMonitoredItemModifyResults & UaMonitoredItemModifyResults::operator= | ( | const UaMonitoredItemModifyResults & | other | ) |
Assignment operator.
other | the UaMonitoredItemModifyResults to assign. |
bool UaMonitoredItemModifyResults::operator== | ( | const UaMonitoredItemModifyResults & | other | ) | const |
Compare two UaMonitoredItemModifyResults.
other | the UaMonitoredItemModifyResults to compare with. |
const OpcUa_MonitoredItemModifyResult & UaMonitoredItemModifyResults::operator[] | ( | OpcUa_UInt32 | index | ) | const |
Index operator.
index | the index of the structure to return. |
OpcUa_MonitoredItemModifyResult & UaMonitoredItemModifyResults::operator[] | ( | OpcUa_UInt32 | index | ) |
Index operator.
index | the index of the structure to return. |
void UaMonitoredItemModifyResults::resize | ( | OpcUa_UInt32 | length | ) |
Resizes the array to a given length.
length | the new length of the array |