QOpcUaRelativePathElement Class
OPC UA RelativePathElement。詳細...
ヘッダ | #include <QOpcUaRelativePathElement> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
qmake: | QT += opcua |
パブリック関数
QOpcUaRelativePathElement() | |
QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType) | |
QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType) | |
QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs) | |
bool | includeSubtypes() const |
bool | isInverse() const |
QString | referenceTypeId() const |
void | setIncludeSubtypes(bool includeSubtypes) |
void | setIsInverse(bool isInverse) |
void | setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId) |
void | setReferenceTypeId(const QString &referenceTypeId) |
void | setTargetName(const QOpcUaQualifiedName &targetName) |
QOpcUaQualifiedName | targetName() const |
(since 6.7) QVariant | operator QVariant() const |
QOpcUaRelativePathElement & | operator=(const QOpcUaRelativePathElement &rhs) |
関連する非メンバー
(since 6.7) bool | operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs) |
bool | operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs) |
詳細説明
QOpcUaRelativePathElement は、OPC UA サーバー上の相対パスの要素を定義します。これは、QOpcUaNode::resolveBrowsePath()におけるノードIDへのブラウズ・パスの解決に必要です。
メンバー関数ドキュメント
QOpcUaRelativePathElement::QOpcUaRelativePathElement()
両方のフラグをfalse
に設定した相対パス要素を構築します。
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, QOpcUa::ReferenceTypeId refType)
targetName target ,QOpcUa::ReferenceTypeId refType および両方のフラグがfalse
に設定された相対パス要素を構築する。
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaQualifiedName &target, const QString &refType)
targetName target 、参照型ノード IDrefType 、両方のフラグがfalse
に設定された相対パス要素を構築する。
QOpcUaRelativePathElement::QOpcUaRelativePathElement(const QOpcUaRelativePathElement &rhs)
rhs から相対パス要素を構築する。
bool QOpcUaRelativePathElement::includeSubtypes() const
includeSubtypes フラグの値を返す。
setIncludeSubtypes()も参照 。
bool QOpcUaRelativePathElement::isInverse() const
isInverse フラグの値を返します。
setIsInverse()も参照 。
QString QOpcUaRelativePathElement::referenceTypeId() const
このノードと前のノードを接続する参照の型 ID を返します。
setReferenceTypeId()も参照してください 。
void QOpcUaRelativePathElement::setIncludeSubtypes(bool includeSubtypes)
includeSubtypes フラグをincludeSubtypes に設定する。フラグがtrue
の場合、検索はreferenceTypeId() のサブタイプを持つ参照にも従う。
includeSubtypes()も参照のこと 。
void QOpcUaRelativePathElement::setIsInverse(bool isInverse)
isInverse フラグをisInverse に設定する。フラグがtrue
の場合、検索は逆参照に従う。
isInverse()も参照のこと 。
void QOpcUaRelativePathElement::setReferenceTypeId(QOpcUa::ReferenceTypeId referenceTypeId)
参照型 ID をreferenceTypeId に設定する。
referenceTypeId()も参照 。
void QOpcUaRelativePathElement::setReferenceTypeId(const QString &referenceTypeId)
参照タイプ ID をreferenceTypeId に設定する。
void QOpcUaRelativePathElement::setTargetName(const QOpcUaQualifiedName &targetName)
ターゲット名をtargetName に設定する。例えば、QOpcUaQualifiedName(0, "DataTypes")。
targetName()も参照のこと 。
QOpcUaQualifiedName QOpcUaRelativePathElement::targetName() const
参照先の修飾名を返します。
setTargetName()も参照してください 。
[since 6.7]
QVariant QOpcUaRelativePathElement::operator QVariant() const
この相対パス要素を含むQVariant を返します。
この関数は Qt 6.7 で導入されました。
QOpcUaRelativePathElement &QOpcUaRelativePathElement::operator=(const QOpcUaRelativePathElement &rhs)
この相対パス要素のrhs の値を設定する。
関連する非会員
[noexcept, since 6.7]
bool operator!=(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
lhs がrhs と異なる値を持つ場合、true
を返します。
この関数は Qt 6.7 で導入されました。
[noexcept]
bool operator==(const QOpcUaRelativePathElement &lhs, const QOpcUaRelativePathElement &rhs)
lhs がrhs と同じ値の場合、true
を返す。
© 2025 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.