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