QOpcUaBrowsePathTarget Class

The OPC UA BrowsePathTarget. 更多...

头: #include <QOpcUaBrowsePathTarget>
qmake: QT += opcua

公共函数

  QOpcUaBrowsePathTarget (const QOpcUaBrowsePathTarget & rhs )
QOpcUaBrowsePathTarget & operator= (const QOpcUaBrowsePathTarget & rhs )
bool isFullyResolved () const
quint32 remainingPathIndex () const
void setRemainingPathIndex (quint32 remainingPathIndex )
void setTargetId (const QOpcUaExpandedNodeId & targetId )
QOpcUaExpandedNodeId targetId () const
QOpcUaExpandedNodeId & targetIdRef ()
bool operator== (const QOpcUaBrowsePathTarget & rhs ) const

详细描述

A BrowsePathTarget contains a target of a browse path and information about the completeness of the node id resolution.

成员函数文档编制

QOpcUaBrowsePathTarget:: QOpcUaBrowsePathTarget (const QOpcUaBrowsePathTarget & rhs )

Constructs a browse path target from rhs .

QOpcUaBrowsePathTarget &QOpcUaBrowsePathTarget:: operator= (const QOpcUaBrowsePathTarget & rhs )

Sets the values of rhs in this browse path target.

bool QOpcUaBrowsePathTarget:: isFullyResolved () const

返回 true if the browse path has been fully resolved.

quint32 QOpcUaBrowsePathTarget:: remainingPathIndex () const

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 () 和 QOpcUaBrowsePathTarget::targetId ().

void QOpcUaBrowsePathTarget:: setRemainingPathIndex ( quint32 remainingPathIndex )

Sets the remaining path index to remainingPathIndex .

另请参阅 remainingPathIndex ().

void QOpcUaBrowsePathTarget:: setTargetId (const QOpcUaExpandedNodeId & targetId )

Sets the node id of the target node to targetId .

另请参阅 targetId ().

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget:: targetId () const

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.

另请参阅 setTargetId () 和 QOpcUaBrowsePathTarget::remainingPathIndex .

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget:: targetIdRef ()

Returns a reference to the target id.

bool QOpcUaBrowsePathTarget:: operator== (const QOpcUaBrowsePathTarget & rhs ) const

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