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