class QOpcUaArgument

The OPC UA Argument type. More

Synopsis

Methods

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:

rhsQOpcUaArgument

__init__(name, dataTypeId, valueRank, arrayDimensions, description)
Parameters:
  • name – str

  • dataTypeId – str

  • valueRank – int

  • arrayDimensions – .list of quint32

  • descriptionQOpcUaLocalizedText

Constructs an argument with name name, data type id dataTypeId, value rank valueRank, array dimensions arrayDimensions and 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.

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

setDataTypeId()

description()
Return type:

QOpcUaLocalizedText

Returns the description of the argument.

See also

setDescription()

name()
Return type:

str

Returns the name of the argument.

See also

setName()

__eq__(other)
Parameters:

otherQOpcUaArgument

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.

setDataTypeId(dataTypeId)
Parameters:

dataTypeId – str

Sets the data type node id of the argument to dataTypeId.

See also

dataTypeId()

setDescription(description)
Parameters:

descriptionQOpcUaLocalizedText

Sets the description of the argument to description.

See also

description()

setName(name)
Parameters:

name – str

Sets the name of the argument to name.

See also

name()

setValueRank(valueRank)
Parameters:

valueRank – int

Sets the value rank of the argument to valueRank.

See also

valueRank()

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

setValueRank()