このページでは

QOpcUaBrowsePathTarget Class

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

詳細な説明

BrowsePathTarget には、ブラウズパスのターゲットと、ノード ID の解決の完了状況に関する情報が含まれます。

メンバ関数のドキュメント

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget()

default は、パラメータが設定されていないブラウズパスのターゲットを生成します。

QOpcUaBrowsePathTarget::QOpcUaBrowsePathTarget(const QOpcUaBrowsePathTarget &rhs)

rhs から閲覧パスのターゲットを構築します。

bool QOpcUaBrowsePathTarget::isFullyResolved() const

参照パスが完全に解決された場合、true を返します。

quint32 QOpcUaBrowsePathTarget::remainingPathIndex() const

ブラウズパス内の、まだ処理されていない最初の要素のインデックスを返します。パスを最後までたどった場合、remainingPathIndex の値は quint32 の最大値になります。

setRemainingPathIndex() およびQOpcUaBrowsePathTarget::targetId()も参照してください 。

void QOpcUaBrowsePathTarget::setRemainingPathIndex(quint32 remainingPathIndex)

残りのパスインデックスをremainingPathIndex に設定します。

remainingPathIndex()も参照してください 。

void QOpcUaBrowsePathTarget::setTargetId(const QOpcUaExpandedNodeId &targetId)

対象ノードのノードIDをtargetId に設定します。

targetId()も参照してください 。

QOpcUaExpandedNodeId QOpcUaBrowsePathTarget::targetId() const

サーバーが追跡できた最後の参照先のターゲットを返します。参照先が外部サーバーである場合、targetIdはそのサーバー上の最初のノードの ID になります。

setTargetId() およびQOpcUaBrowsePathTarget::remainingPathIndexも参照してください 。

QOpcUaExpandedNodeId &QOpcUaBrowsePathTarget::targetIdRef()

対象の ID への参照を返します。

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

このブラウズパスターゲットの「rhs 」の値を設定します。

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

このブラウズパスのターゲットがrhs と同じ値を持つ場合、true を返します。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.