このページでは

QOpcUaDeleteReferenceItem Class

このクラスは、サーバーから参照を削除するために必要な情報を格納します。詳細...

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

パブリック関数

QOpcUaDeleteReferenceItem()
QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)
bool deleteBidirectional() const
bool isForwardReference() const
QString referenceTypeId() const
void setDeleteBidirectional(bool deleteBidirectional)
void setIsForwardReference(bool isForwardReference)
void setReferenceTypeId(const QString &referenceTypeId)
void setSourceNodeId(const QString &sourceNodeId)
void setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId)
QString sourceNodeId() const
QOpcUaExpandedNodeId targetNodeId() const
QOpcUaDeleteReferenceItem &operator=(const QOpcUaDeleteReferenceItem &rhs)

詳細な説明

QOpcUaClient::deleteReference()も参照してください 。

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

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem()

default は、パラメータが設定されていない削除参照項目を生成します。

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)

other から削除参照項目を作成します。

bool QOpcUaDeleteReferenceItem::deleteBidirectional() const

deleteBidirectionalフラグを返します。

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

bool QOpcUaDeleteReferenceItem::isForwardReference() const

isForwardReference フラグを返します。

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

QString QOpcUaDeleteReferenceItem::referenceTypeId() const

参照型 id を返します。

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

void QOpcUaDeleteReferenceItem::setDeleteBidirectional(bool deleteBidirectional)

deleteBidirectional フラグをdeleteBidirectional に設定します。このフラグがfalseの場合、この参照のみが削除されます。それ以外の場合は、サーバーからアクセス可能な場合、ターゲットノードからの反対側の参照も削除されます。

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

void QOpcUaDeleteReferenceItem::setIsForwardReference(bool isForwardReference)

isForwardReference フラグをisForwardReference に設定します。

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

void QOpcUaDeleteReferenceItem::setReferenceTypeId(const QString &referenceTypeId)

参照型 id を「referenceTypeId 」に設定します。

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

void QOpcUaDeleteReferenceItem::setSourceNodeId(const QString &sourceNodeId)

ソースノードのノードIDをsourceNodeId に設定します。

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

void QOpcUaDeleteReferenceItem::setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId)

対象ノードのノードIDを「targetNodeId 」に設定します。

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

QString QOpcUaDeleteReferenceItem::sourceNodeId() const

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

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

QOpcUaExpandedNodeId QOpcUaDeleteReferenceItem::targetNodeId() const

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

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

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

この「参照の削除」項目に、rhs の値を設定します。

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