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