このページでは

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
BrowseName
DisplayName
NodeClass

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

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)

typeDefinition を型定義の ID として設定します。

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

QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const

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

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

QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const

型定義のIDを返します。

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

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

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

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