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