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