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