QOpcUaReferenceDescription Class

ノードに関する情報を含む。詳細...

ヘッダー #include <QOpcUaReferenceDescription>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

パブリック関数

QOpcUaReferenceDescription()
QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
~QOpcUaReferenceDescription()
QOpcUaQualifiedName browseName() const
QOpcUaLocalizedText displayName() const
bool isForwardReference() const
QOpcUa::NodeClass nodeClass() const
QString refTypeId() const
void setBrowseName(const QOpcUaQualifiedName &browseName)
void setDisplayName(const QOpcUaLocalizedText &displayName)
void setIsForwardReference(bool isForwardReference)
void setNodeClass(QOpcUa::NodeClass nodeClass)
void setRefTypeId(const QString &refTypeId)
void setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)
void setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
QOpcUaExpandedNodeId targetNodeId() const
QOpcUaExpandedNodeId typeDefinition() const
QOpcUaReferenceDescription &operator=(const QOpcUaReferenceDescription &other)

詳細説明

このクラスは、QOpcUaNode::browse() またはQOpcUaNode::browseChildren() の呼び出しの結果を返すために使用されます。

このクラスには、ノードをブラウズ操作の開始ノードに接続するために使用される参照のタイプと方向、ターゲットの型定義ノードのノード ID、および以下のnode attributes の値が含まれます:

属性
NodeId
ブラウズ名
表示名
ノードクラス

メンバ関数 ドキュメント

QOpcUaReferenceDescription::QOpcUaReferenceDescription()

空の QOpcUaReferenceDescription オブジェクトを作成します。

QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)

QOpcUaReferenceDescription オブジェクトのコピーを作成するother

[noexcept] QOpcUaReferenceDescription::~QOpcUaReferenceDescription()

のデストラクタ。QOpcUaReferenceDescription

QOpcUaQualifiedName QOpcUaReferenceDescription::browseName() const

ノードのブラウズ名を返します。

setBrowseName()も参照してください

QOpcUaLocalizedText QOpcUaReferenceDescription::displayName() const

ノードの表示名を返します。

setDisplayName()も参照してください

bool QOpcUaReferenceDescription::isForwardReference() const

参照が順方向ならtrue を返す。

setIsForwardReference()も参照

QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const

ノードのノード・クラスを返します。

setNodeClass()も参照してください

QString QOpcUaReferenceDescription::refTypeId() const

ノードの参照型 ID を返します。

setRefTypeId()も参照してください

void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)

ノードのブラウズ名をbrowseName に設定する。

browseName()も参照

void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)

ノードの表示名をdisplayName に設定する。

displayName()も参照

void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)

isForwardReference の情報をisForwardReference に設定する。

isForwardReference()も参照のこと

void QOpcUaReferenceDescription::setNodeClass(QOpcUa::NodeClass nodeClass)

ノードのノード・クラスをnodeClass に設定します。

nodeClass()も参照してください

void QOpcUaReferenceDescription::setRefTypeId(const QString &refTypeId)

ノードの参照タイプ ID をrefTypeId に設定します。

refTypeId() およびQOpcUa::nodeIdFromReferenceType()も参照

void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)

ノードのノード ID をnodeId に設定する。

targetNodeId()も参照してください

void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)

型定義の id としてtypeDefinition を設定する。

typeDefinition()も参照してください

QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const

ノードのノード ID を返します。

setTargetNodeId()も参照してください

QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const

型定義 ID を返します。

setTypeDefinition()も参照

QOpcUaReferenceDescription &QOpcUaReferenceDescription::operator=(const QOpcUaReferenceDescription &other)

このオブジェクトにother の値を割り当てる。

© 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.