C++ UA Server SDK
1.5.1.326
|
Array class for the UA stack structure OpcUa_ModelChangeStructureDataType. More...
#include <uamodelchangestructuredatatype.h>
Array class for the UA stack structure OpcUa_ModelChangeStructureDataType.
This class encapsulates an array of the native OpcUa_ModelChangeStructureDataType structure and handles memory allocation and cleanup for you.
UaModelChangeStructureDataTypes::UaModelChangeStructureDataTypes | ( | const UaModelChangeStructureDataTypes & | other | ) |
Constructs an instance of the class UaModelChangeStructureDataTypes with values from another UaModelChangeStructureDataTypes object.
other | the other UaModelChangeStructureDataTypes used to initialize the object |
UaModelChangeStructureDataTypes::UaModelChangeStructureDataTypes | ( | OpcUa_Int32 | length, |
OpcUa_ModelChangeStructureDataType * | data | ||
) |
Constructs an instance of the class UaModelChangeStructureDataTypes using a raw OpcUa_ModelChangeStructureDataType array.
length | the length of the raw OpcUa_ModelChangeStructureDataType array |
data | the raw OpcUa_ModelChangeStructureDataType array |
void UaModelChangeStructureDataTypes::attach | ( | OpcUa_UInt32 | length, |
OpcUa_ModelChangeStructureDataType * | data | ||
) |
Attach to a raw OpcUa_ModelChangeStructureDataType array.
length | the length of the raw OpcUa_ModelChangeStructureDataType array |
data | the raw OpcUa_ModelChangeStructureDataType array |
void UaModelChangeStructureDataTypes::attach | ( | OpcUa_Int32 | length, |
OpcUa_ModelChangeStructureDataType * | data | ||
) |
Attach to a raw OpcUa_ModelChangeStructureDataType array.
length | the length of the raw OpcUa_ModelChangeStructureDataType array |
data | the raw OpcUa_ModelChangeStructureDataType array |
void UaModelChangeStructureDataTypes::create | ( | OpcUa_UInt32 | length | ) |
Clears the array and resizes to the given length.
length | the new length of the array |
OpcUa_ModelChangeStructureDataType * UaModelChangeStructureDataTypes::detach | ( | ) |
Detach from the internal OpcUa_ModelChangeStructureDataType array.
After detaching, the detached array data will not be cleared automatically anymore.
bool UaModelChangeStructureDataTypes::operator!= | ( | const UaModelChangeStructureDataTypes & | other | ) | const |
Compare two UaModelChangeStructureDataTypes.
other | the UaModelChangeStructureDataTypes to compare with. |
UaModelChangeStructureDataTypes & UaModelChangeStructureDataTypes::operator= | ( | const UaModelChangeStructureDataTypes & | other | ) |
Assignment operator.
other | the UaModelChangeStructureDataTypes to assign. |
bool UaModelChangeStructureDataTypes::operator== | ( | const UaModelChangeStructureDataTypes & | other | ) | const |
Compare two UaModelChangeStructureDataTypes.
other | the UaModelChangeStructureDataTypes to compare with. |
const OpcUa_ModelChangeStructureDataType & UaModelChangeStructureDataTypes::operator[] | ( | OpcUa_UInt32 | index | ) | const |
Index operator.
index | the index of the structure to return. |
OpcUa_ModelChangeStructureDataType & UaModelChangeStructureDataTypes::operator[] | ( | OpcUa_UInt32 | index | ) |
Index operator.
index | the index of the structure to return. |
void UaModelChangeStructureDataTypes::resize | ( | OpcUa_UInt32 | length | ) |
Resizes the array to a given length.
length | the new length of the array |