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