QOpcUaReferenceDescription#
Contains information about a node. More…
Synopsis#
Functions#
- def - browseName()
- def - displayName()
- def - isForwardReference()
- def - nodeClass()
- def - refTypeId()
- def - setBrowseName(browseName)
- def - setDisplayName(displayName)
- def - setIsForwardReference(isForwardReference)
- def - setNodeClass(nodeClass)
- def - setRefTypeId(refTypeId)
- def - setTargetNodeId(targetNodeId)
- def - setTypeDefinition(typeDefinition)
- def - targetNodeId()
- def - typeDefinition()
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
BrowseName
DisplayName
NodeClass
- class PySide6.QtOpcUa.QOpcUaReferenceDescription#
- PySide6.QtOpcUa.QOpcUaReferenceDescription(other) - Parameters:
 
Creates an empty QOpcUaReferenceDescription object
Creates a copy of the QOpcUaReferenceDescription object other.
- PySide6.QtOpcUa.QOpcUaReferenceDescription.browseName()#
- Return type:
 
Returns the browse name of the node.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.displayName()#
- Return type:
 
Returns the display name of the node.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.isForwardReference()#
- Return type:
- bool 
 
Returns true if the reference is forward.
See also
Returns the node class of the node.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.refTypeId()#
- Return type:
- str 
 
Returns the reference type id of the node.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setBrowseName(browseName)#
- Parameters:
- browseName – - PySide6.QtOpcUa.QOpcUaQualifiedName
 
Sets the browse name of the node to browseName.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setDisplayName(displayName)#
- Parameters:
- displayName – - PySide6.QtOpcUa.QOpcUaLocalizedText
 
Sets the display name of the node to displayName.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setIsForwardReference(isForwardReference)#
- Parameters:
- isForwardReference – bool 
 
Sets isForwardReference as isForwardReference information for the reference.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setNodeClass(nodeClass)#
- Parameters:
- nodeClass – - NodeClass
 
Sets the node class of the node to nodeClass.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setRefTypeId(refTypeId)#
- Parameters:
- refTypeId – str 
 
Sets the reference type id of the node to refTypeId.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setTargetNodeId(targetNodeId)#
- Parameters:
- targetNodeId – - PySide6.QtOpcUa.QOpcUaExpandedNodeId
 
Sets the node id of the node to nodeId.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.setTypeDefinition(typeDefinition)#
- Parameters:
- typeDefinition – - PySide6.QtOpcUa.QOpcUaExpandedNodeId
 
Sets typeDefinition as id of the type definition.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.targetNodeId()#
- Return type:
 
Returns the node id of the node.
See also
- PySide6.QtOpcUa.QOpcUaReferenceDescription.typeDefinition()#
- Return type:
 
Returns the type definition id.
See also