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