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