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