QOpcUaReferenceDescription#

Contains information about a node. More

Inheritance diagram of PySide6.QtOpcUa.QOpcUaReferenceDescription

Synopsis#

Functions#

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 class is used to return the results of a call to browse() or browseChildren() .

It contains the type and direction of the reference used to connect the node to the starting node of the browse operation, the node id of the target’s type definition node and the values of the following node attributes :

Attribute

NodeId

BrowseName

DisplayName

NodeClass

class PySide6.QtOpcUa.QOpcUaReferenceDescription#

PySide6.QtOpcUa.QOpcUaReferenceDescription(other)

Parameters:

otherPySide6.QtOpcUa.QOpcUaReferenceDescription

Creates an empty QOpcUaReferenceDescription object

Creates a copy of the QOpcUaReferenceDescription object other.

PySide6.QtOpcUa.QOpcUaReferenceDescription.browseName()#
Return type:

PySide6.QtOpcUa.QOpcUaQualifiedName

Returns the browse name of the node.

See also

setBrowseName()

PySide6.QtOpcUa.QOpcUaReferenceDescription.displayName()#
Return type:

PySide6.QtOpcUa.QOpcUaLocalizedText

Returns the display name of the node.

See also

setDisplayName()

PySide6.QtOpcUa.QOpcUaReferenceDescription.isForwardReference()#
Return type:

bool

Returns true if the reference is forward.

PySide6.QtOpcUa.QOpcUaReferenceDescription.nodeClass()#
Return type:

NodeClass

Returns the node class of the node.

See also

setNodeClass()

PySide6.QtOpcUa.QOpcUaReferenceDescription.refTypeId()#
Return type:

str

Returns the reference type id of the node.

See also

setRefTypeId()

PySide6.QtOpcUa.QOpcUaReferenceDescription.setBrowseName(browseName)#
Parameters:

browseNamePySide6.QtOpcUa.QOpcUaQualifiedName

Sets the browse name of the node to browseName.

See also

browseName()

PySide6.QtOpcUa.QOpcUaReferenceDescription.setDisplayName(displayName)#
Parameters:

displayNamePySide6.QtOpcUa.QOpcUaLocalizedText

Sets the display name of the node to displayName.

See also

displayName()

PySide6.QtOpcUa.QOpcUaReferenceDescription.setIsForwardReference(isForwardReference)#
Parameters:

isForwardReference – bool

Sets isForwardReference as isForwardReference information for the reference.

PySide6.QtOpcUa.QOpcUaReferenceDescription.setNodeClass(nodeClass)#
Parameters:

nodeClassNodeClass

Sets the node class of the node to nodeClass.

See also

nodeClass()

PySide6.QtOpcUa.QOpcUaReferenceDescription.setRefTypeId(refTypeId)#
Parameters:

refTypeId – str

Sets the reference type id of the node to refTypeId.

PySide6.QtOpcUa.QOpcUaReferenceDescription.setTargetNodeId(targetNodeId)#
Parameters:

targetNodeIdPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets the node id of the node to nodeId.

See also

targetNodeId()

PySide6.QtOpcUa.QOpcUaReferenceDescription.setTypeDefinition(typeDefinition)#
Parameters:

typeDefinitionPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets typeDefinition as id of the type definition.

See also

typeDefinition()

PySide6.QtOpcUa.QOpcUaReferenceDescription.targetNodeId()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns the node id of the node.

PySide6.QtOpcUa.QOpcUaReferenceDescription.typeDefinition()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns the type definition id.