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