QOpcUaDeleteReferenceItem Class

This class stores the necessary information to delete a reference from the server. More...

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

Public Functions

QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)
QOpcUaDeleteReferenceItem &operator=(const QOpcUaDeleteReferenceItem &rhs)
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

Detailed Description

See also QOpcUaClient::deleteReference().

Member Function Documentation

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)

Constructs a delete reference item from other.

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

Sets the values from rhs in this delete reference item.

bool QOpcUaDeleteReferenceItem::deleteBidirectional() const

Returns the deleteBidirectional Flag.

See also setDeleteBidirectional().

bool QOpcUaDeleteReferenceItem::isForwardReference() const

Returns the isForwardReference flag.

See also setIsForwardReference().

QString QOpcUaDeleteReferenceItem::referenceTypeId() const

Returns the reference type id.

See also setReferenceTypeId().

void QOpcUaDeleteReferenceItem::setDeleteBidirectional(bool deleteBidirectional)

Sets the deleteBidirectional flag to deleteBidirectional. If this flag is false, only this reference will be deleted. Else, the opposite reference from the target node is deleted too if accessible by the server.

See also deleteBidirectional().

void QOpcUaDeleteReferenceItem::setIsForwardReference(bool isForwardReference)

Sets the isForwardReference flag to isForwardReference.

See also isForwardReference().

void QOpcUaDeleteReferenceItem::setReferenceTypeId(const QString &referenceTypeId)

Sets the reference type id to referenceTypeId.

See also referenceTypeId().

void QOpcUaDeleteReferenceItem::setSourceNodeId(const QString &sourceNodeId)

Sets the node id of the source node to sourceNodeId.

See also sourceNodeId().

void QOpcUaDeleteReferenceItem::setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId)

Sets the node id of the target node to targetNodeId.

See also targetNodeId().

QString QOpcUaDeleteReferenceItem::sourceNodeId() const

Returns the source node id.

See also setSourceNodeId().

QOpcUaExpandedNodeId QOpcUaDeleteReferenceItem::targetNodeId() const

Returns the target node id.

See also setTargetNodeId().

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