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