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