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