|
| UaArgument () |
| Constructs an instance of the class UaArgument with empty default values.
|
|
| UaArgument (const UaArgument &other) |
| Constructs an instance of the class UaArgument with values from another UaArgument object. More...
|
|
| UaArgument (const OpcUa_Argument &other) |
| Constructs an instance of the class UaArgument with values from another OpcUa_Argument structure. More...
|
|
| UaArgument (const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description) |
| Constructs an instance of the class UaArgument with values provided in the constructor.
|
|
| UaArgument (const UaExtensionObject &extensionObject) |
| Constructs an instance of the class UaArgument initialized with value from a UaExtensionObject. More...
|
|
| UaArgument (const OpcUa_ExtensionObject &extensionObject) |
| Constructs an instance of the class UaArgument initialized with value from an OpcUa_ExtensionObject structure. More...
|
|
| UaArgument (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| UaArgument (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| ~UaArgument () |
| Destroys the UaArgument object.
|
|
void | clear () |
| Clear the data of the UaArgument. More...
|
|
bool | operator== (const UaArgument &other) const |
| Compare two UaArgument if they are similar. More...
|
|
bool | operator!= (const UaArgument &other) const |
| Returns true if the other UaArgument is not equal to this. More...
|
|
UaArgument & | operator= (const UaArgument &other) |
| Assignment operator. More...
|
|
OpcUa_Argument * | copy () const |
| Copy UaArgument data to a newly allocated OpcUa_Argument. More...
|
|
void | copyTo (OpcUa_Argument *pDst) const |
| Copy UaArgument data to an existing OpcUa_Argument structure. More...
|
|
void | attach (const OpcUa_Argument *pValue) |
| Attaches the data of the parameter pValue. More...
|
|
OpcUa_Argument * | detach (OpcUa_Argument *pDst) |
| Detaches the internal Argument structure from this class. More...
|
|
void | toVariant (UaVariant &variant) const |
|
void | toVariant (OpcUa_Variant &variant) const |
|
void | toVariant (UaVariant &variant, OpcUa_Boolean bDetach) |
|
void | toVariant (OpcUa_Variant &variant, OpcUa_Boolean bDetach) |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toExtensionObject (UaExtensionObject &extensionObject) const |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject) const |
|
void | toExtensionObject (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setArgument (const UaExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setArgument (const OpcUa_ExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setArgument (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setArgument (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | setArgument (const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description) |
|
UaString | getName () const |
|
UaNodeId | getDataType () const |
|
OpcUa_Int32 | getValueRank () const |
|
void | getArrayDimensions (UaUInt32Array &arrayDimensions) const |
|
UaLocalizedText | getDescription () const |
|
void | setName (const UaString &name) |
|
void | setDataType (const UaNodeId &dataType) |
|
void | setValueRank (OpcUa_Int32 valueRank) |
|
void | setArrayDimensions (const UaUInt32Array &arrayDimensions) |
|
void | setDescription (const UaLocalizedText &description) |
|
Wrapper class for the UA stack structure OpcUa_Argument.
This class encapsulates the native OpcUa_Argument structure and handles memory allocation and cleanup for you. UaArgument uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared Argument it creates a copy for that (copy-on-write). So assigning another UaArgument or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.