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