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