PySide6.QtOpcUa.QOpcUaAttributeOperand

class QOpcUaAttributeOperand

The OPC UA AttributeOperand type.

Details

The AttributeOperand is defined in OPC UA 1.05 part 4, 7.7.4.4. It has the same purpose as QOpcUaSimpleAttributeOperand but has more configurable options.

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

__init__()

Default constructs an attribute operand with no parameters set.

__init__(rhs)
Parameters:

rhsQOpcUaAttributeOperand

Constructs an attribute operand from rhs.

alias()
Return type:

str

Returns the alias for this QAttributeOperand.

See also

setAlias()

attributeId()
Return type:

NodeAttribute

Returns the attribute id for an attribute of the node browsePath is pointing to.

See also

setAttributeId()

browsePath()
Return type:

.list of QOpcUaRelativePathElement

Returns the browse path.

See also

setBrowsePath()

browsePathRef()
Return type:

.list of QOpcUaRelativePathElement

Returns a reference to the browse path.

See also

browsePath()

indexRange()
Return type:

str

Returns the index range string.

See also

setIndexRange()

nodeId()
Return type:

str

Returns the node id of the type definition node.

See also

setNodeId()

__ne__(rhs)
Parameters:

rhsQOpcUaAttributeOperand

Return type:

bool

Returns true if lhs has a different value than rhs.

__eq__(rhs)
Parameters:

rhsQOpcUaAttributeOperand

Return type:

bool

Returns true if lhs has the same value as rhs.

setAlias(alias)
Parameters:

alias – str

Sets the alias to alias. This allows using this instance as operand for other operations in the filter.

See also

alias()

setAttributeId(attributeId)
Parameters:

attributeIdNodeAttribute

Sets the attribute id to attributeId.

See also

attributeId()

setBrowsePath(browsePath)
Parameters:

browsePath – .list of QOpcUaRelativePathElement

Sets the relative path to a node starting from nodeId() to browsePath.

See also

browsePath()

setIndexRange(indexRange)
Parameters:

indexRange – str

Sets the index range string used to identify a single value or subset of the attribute’s value to indexRange.

See also

indexRange()

setNodeId(nodeId)
Parameters:

nodeId – str

Sets the node id of the type definition node to nodeId.

See also

nodeId()