class QOpcUaReferenceDescription

Contains information about a node. 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 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

__init__()

Creates an empty QOpcUaReferenceDescription object

__init__(other)
Parameters:

otherQOpcUaReferenceDescription

Creates a copy of the QOpcUaReferenceDescription object other.

browseName()
Return type:

QOpcUaQualifiedName

Returns the browse name of the node.

See also

setBrowseName()

displayName()
Return type:

QOpcUaLocalizedText

Returns the display name of the node.

See also

setDisplayName()

isForwardReference()
Return type:

bool

Returns true if the reference is forward.

nodeClass()
Return type:

NodeClass

Returns the node class of the node.

See also

setNodeClass()

refTypeId()
Return type:

str

Returns the reference type id of the node.

See also

setRefTypeId()

setBrowseName(browseName)
Parameters:

browseNameQOpcUaQualifiedName

Sets the browse name of the node to browseName.

See also

browseName()

setDisplayName(displayName)
Parameters:

displayNameQOpcUaLocalizedText

Sets the display name of the node to displayName.

See also

displayName()

setIsForwardReference(isForwardReference)
Parameters:

isForwardReference – bool

Sets isForwardReference as isForwardReference information for the reference.

setNodeClass(nodeClass)
Parameters:

nodeClassNodeClass

Sets the node class of the node to nodeClass.

See also

nodeClass()

setRefTypeId(refTypeId)
Parameters:

refTypeId – str

Sets the reference type id of the node to refTypeId.

setTargetNodeId(targetNodeId)
Parameters:

targetNodeIdQOpcUaExpandedNodeId

Sets the node id of the node to nodeId.

See also

targetNodeId()

setTypeDefinition(typeDefinition)
Parameters:

typeDefinitionQOpcUaExpandedNodeId

Sets typeDefinition as id of the type definition.

See also

typeDefinition()

targetNodeId()
Return type:

QOpcUaExpandedNodeId

Returns the node id of the node.

typeDefinition()
Return type:

QOpcUaExpandedNodeId

Returns the type definition id.