QOpcUaBrowsePathTarget#

The OPC UA BrowsePathTarget. More

Synopsis#

Functions#

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.

class PySide6.QtOpcUa.QOpcUaBrowsePathTarget#

PySide6.QtOpcUa.QOpcUaBrowsePathTarget(arg__1)

Parameters:

arg__1PySide6.QtOpcUa.QOpcUaBrowsePathTarget

Default constructs a browse path target with no parameters set.

Constructs a browse path target from rhs.

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.isFullyResolved()#
Return type:

bool

Returns true if the browse path has been fully resolved.

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.__eq__(rhs)#
Parameters:

rhsPySide6.QtOpcUa.QOpcUaBrowsePathTarget

Return type:

bool

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

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.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.

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.setRemainingPathIndex(remainingPathIndex)#
Parameters:

remainingPathIndex – int

Sets the remaining path index to remainingPathIndex.

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.setTargetId(targetId)#
Parameters:

targetIdPySide6.QtOpcUa.QOpcUaExpandedNodeId

Sets the node id of the target node to targetId.

See also

targetId()

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.targetId()#
Return type:

PySide6.QtOpcUa.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.

PySide6.QtOpcUa.QOpcUaBrowsePathTarget.targetIdRef()#
Return type:

PySide6.QtOpcUa.QOpcUaExpandedNodeId

Returns a reference to the target id.