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