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