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()
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)

Detailed Description

See also QOpcUaClient::deleteReference().

Member Function Documentation

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem()

Default constructs a delete reference item with no parameters set.

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)

Constructs a delete reference item from other.

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().

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

Sets the values from rhs in this delete reference item.