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