UA Server SDK C++ Bundle
1.3.2.200
|
Wrapper class for the UA stack structure OpcUa_Argument. More...
#include <uaargument.h>
Public Member Functions | |
UaArgument () | |
construction | |
UaArgument (const UaArgument &other) | |
construction | |
UaArgument (const OpcUa_Argument &other) | |
construction | |
UaArgument (const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description) | |
construction | |
~UaArgument () | |
destruction | |
void | clear () |
Clear the data of the UaArgument. | |
UaArgument & | operator= (const UaArgument &other) |
Assignment operator. | |
operator const OpcUa_Argument * () const | |
Return internal OpcUa_Argument structure. | |
OpcUa_Argument * | copy () const |
Copy UaArgument data to a newly allocated OpcUa_Argument. | |
void | copyTo (OpcUa_Argument *pDst) const |
Copy UaArgument data to an existing OpcUa_Argument structure. | |
void | detach () |
Reset OpcUa_Argument structure without clearing the data. | |
UaString | toString () const |
Converts the UaArgument into a UaString. | |
void | setArgument (const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description) |
Set an argument. | |
const OpcUa_String * | name () const |
Get the name as OpcUa_String. | |
const OpcUa_NodeId * | dataType () const |
Get the DataType for the DataVariable. | |
OpcUa_Int32 | valueRank () const |
Get the ValueRank for the DataVariable. | |
const OpcUa_LocalizedText * | description () const |
Get the description of the OpcUa_LocalizedText. | |
UaUInt32Array * | arrayDimensions () const |
Get the array dimensions. |
Static Public Member Functions | |
static OpcUa_Argument * | clone (const OpcUa_Argument &source) |
Copy OpcUa_Argument data to a newly allocated OpcUa_Argument. | |
static void | cloneTo (const OpcUa_Argument &source, OpcUa_Argument ©) |
Copy OpcUa_Argument data to an existing OpcUa_Argument structure. |
Wrapper class for the UA stack structure OpcUa_Argument.
Derived from OpcUa_Argument.
UaArgument::UaArgument | ( | const UaArgument & | other | ) |
construction
other | the UaArgument to assign |
UaArgument::UaArgument | ( | const OpcUa_Argument & | other | ) |
construction
other | the OpcUa_Argument to assign |
UaArgument::UaArgument | ( | const UaString & | name, |
const UaNodeId & | dataType, | ||
OpcUa_Int32 | valueRank, | ||
const UaUInt32Array & | arrayDimensions, | ||
const UaLocalizedText & | description | ||
) |
construction
name | the name as UaString. |
dataType | the data type of the actual used data variable. |
valueRank | the ValueRank of the DataVariable. |
arrayDimensions | the arrayDimensions value for the passed UaUInt32Array. |
description | the description as UaLocalizedText. |
UaUInt32Array * UaArgument::arrayDimensions | ( | ) | const |
Get the array dimensions.
void UaArgument::clear | ( | ) |
Clear the data of the UaArgument.
|
static |
Copy OpcUa_Argument data to a newly allocated OpcUa_Argument.
source | the source of this operation. |
|
static |
Copy OpcUa_Argument data to an existing OpcUa_Argument structure.
source | the source of this operation. |
copy | an existing OpcUa_Argument structure. |
OpcUa_Argument * UaArgument::copy | ( | ) | const |
Copy UaArgument data to a newly allocated OpcUa_Argument.
void UaArgument::copyTo | ( | OpcUa_Argument * | pDst | ) | const |
Copy UaArgument data to an existing OpcUa_Argument structure.
pDst | the destination of this operation. |
|
inline |
Get the DataType for the DataVariable.
|
inline |
Get the description of the OpcUa_LocalizedText.
void UaArgument::detach | ( | ) |
Reset OpcUa_Argument structure without clearing the data.
|
inline |
Get the name as OpcUa_String.
UaArgument::operator const OpcUa_Argument * | ( | ) | const |
Return internal OpcUa_Argument structure.
UaArgument & UaArgument::operator= | ( | const UaArgument & | other | ) |
void UaArgument::setArgument | ( | const UaString & | name, |
const UaNodeId & | dataType, | ||
OpcUa_Int32 | valueRank, | ||
const UaUInt32Array & | arrayDimensions, | ||
const UaLocalizedText & | description | ||
) |
Set an argument.
name | the name of the actual node. |
dataType | the data type of the variable. |
valueRank | the ValueRank of the DataVariable. |
arrayDimensions | the arrayDimensions value for the passed UaUInt32Array. |
description | the description as UaLocalizedText. |
UaString UaArgument::toString | ( | ) | const |
Converts the UaArgument into a UaString.
|
inline |
Get the ValueRank for the DataVariable.