The OPC UA BrowsePathTarget. 更多...
头: | #include <QOpcUaBrowsePathTarget> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
QOpcUaBrowsePathTarget () | |
QOpcUaBrowsePathTarget (const QOpcUaBrowsePathTarget & rhs ) | |
bool | isFullyResolved () const |
quint32 | remainingPathIndex () const |
void | setRemainingPathIndex (quint32 remainingPathIndex ) |
void | setTargetId (const QOpcUaExpandedNodeId & targetId ) |
QOpcUaExpandedNodeId | targetId () const |
QOpcUaExpandedNodeId & | targetIdRef () |
QOpcUaBrowsePathTarget & | operator= (const QOpcUaBrowsePathTarget & rhs ) |
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.
Default constructs a browse path target with no parameters set.
Constructs a browse path target from rhs .
返回
true
if the browse path has been fully resolved.
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 ().
Sets the remaining path index to remainingPathIndex .
另请参阅 remainingPathIndex ().
Sets the node id of the target node to targetId .
另请参阅 targetId ().
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 .
Returns a reference to the target id.
Sets the values of rhs in this browse path target.
返回
true
if this browse path target has the same value as
rhs
.