PySide6.QtOpcUa.QOpcUaBrowsePathTarget

class QOpcUaBrowsePathTarget

The OPC UA BrowsePathTarget. 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

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:

rhsQOpcUaBrowsePathTarget

Constructs a browse path target from rhs.

isFullyResolved()
Return type:

bool

Returns true if the browse path has been fully resolved.

__eq__(rhs)
Parameters:

rhsQOpcUaBrowsePathTarget

Return type:

bool

Returns true if this browse path target has the same value as rhs.

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.

setRemainingPathIndex(remainingPathIndex)
Parameters:

remainingPathIndex – int

Sets the remaining path index to remainingPathIndex.

setTargetId(targetId)
Parameters:

targetIdQOpcUaExpandedNodeId

Sets the node id of the target node to targetId.

See also

targetId()

targetId()
Return type:

QOpcUaExpandedNodeId

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.

targetIdRef()
Return type:

QOpcUaExpandedNodeId

Returns a reference to the target id.