PySide6.QtOpcUa.QOpcUaArgument¶
- class QOpcUaArgument¶
- The OPC UA Argument type. More… - Synopsis¶- Methods¶- def - __init__()
- def - dataTypeId()
- def - description()
- def - name()
- def - __eq__()
- def - setDataTypeId()
- def - setDescription()
- def - setName()
- def - setValueRank()
- def - valueRank()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- This is the Qt OPC UA representation for the Argument type defined in OPC UA 1.05 part 3, 8.6. - The Argument type is mainly used for the values of the InputArguments and OutputArguments properties which describe the parameters and return values of method nodes. - __init__()¶
 - Default constructs an argument with no parameters set. - __init__(rhs)
- Parameters:
- rhs – - QOpcUaArgument
 
 - __init__(name, dataTypeId, valueRank, arrayDimensions, description)
- Parameters:
- name – str 
- dataTypeId – str 
- valueRank – int 
- arrayDimensions – .list of quint32 
- description – - QOpcUaLocalizedText
 
 
 - Constructs an argument with name - name, data type id- dataTypeId, value rank- valueRank, array dimensions- arrayDimensionsand description- description.- arrayDimensions()¶
- Return type:
- .list of quint32 
 
 - Returns the array dimensions of the argument. - The array dimensions describe the length of each array dimension. - See also - arrayDimensionsRef()¶
- Return type:
- .list of quint32 
 
 - Returns a reference to the array dimensions of the argument. - dataTypeId()¶
- Return type:
- str 
 
 - Returns the data type node id of the argument. - See also - description()¶
- Return type:
 
 - Returns the description of the argument. - See also - name()¶
- Return type:
- str 
 
 - Returns the name of the argument. - See also - __eq__(other)¶
- Parameters:
- other – - QOpcUaArgument
- Return type:
- bool 
 
 - Returns true if this argument has the same value as - other.- setArrayDimensions(arrayDimensions)¶
- Parameters:
- arrayDimensions – .list of quint32 
 
 - Sets the array dimensions of the argument to - arrayDimensions.- See also - setDataTypeId(dataTypeId)¶
- Parameters:
- dataTypeId – str 
 
 - Sets the data type node id of the argument to - dataTypeId.- See also - setDescription(description)¶
- Parameters:
- description – - QOpcUaLocalizedText
 
 - Sets the description of the argument to - description.- See also - setName(name)¶
- Parameters:
- name – str 
 
 - Sets the name of the argument to - name.- See also - setValueRank(valueRank)¶
- Parameters:
- valueRank – int 
 
 - Sets the value rank of the argument to - valueRank.- See also - valueRank()¶
- Return type:
- int 
 
 - Returns the value rank of the argument. The value rank describes the structure of the value. - ValueRank - Meaning - -3 - Scalar or one dimensional array - -2 - Scalar or array with any number of dimensions - -1 - Not an array - 0 - Array with one or more dimensions - 1 - One dimensional array - >1 - Array with n dimensions - See also