PySide6.QtOpcUa.QOpcUaBrowsePathTarget¶
- class QOpcUaBrowsePathTarget¶
The OPC UA BrowsePathTarget. More…
Synopsis¶
Methods¶
def
__init__()
def
__eq__()
def
setTargetId()
def
targetId()
def
targetIdRef()
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¶
A BrowsePathTarget contains a target of a browse path and information about the completeness of the node id resolution.
- __init__()¶
Default constructs a browse path target with no parameters set.
- __init__(rhs)
- Parameters:
rhs –
QOpcUaBrowsePathTarget
Constructs a browse path target from
rhs
.- isFullyResolved()¶
- Return type:
bool
Returns
true
if the browse path has been fully resolved.- __eq__(rhs)¶
- Parameters:
rhs –
QOpcUaBrowsePathTarget
- Return type:
bool
Returns
true
if this browse path target has the same value asrhs
.- remainingPathIndex()¶
- Return type:
int
Returns the index of the first unprocessed element in the browse path. If the path was followed to the end, remainingPathIndex has the maximum value of quint32.
See also
- setRemainingPathIndex(remainingPathIndex)¶
- Parameters:
remainingPathIndex – int
Sets the remaining path index to
remainingPathIndex
.See also
- setTargetId(targetId)¶
- Parameters:
targetId –
QOpcUaExpandedNodeId
Sets the node id of the target node to
targetId
.See also
- targetId()¶
- Return type:
Returns the target of the last reference the server was able to follow. If the reference leads to an external server, targetId is the id of the first node on that server.
See also
- targetIdRef()¶
- Return type:
Returns a reference to the target id.