En esta página

QOpcUaDeleteReferenceItem Class

Esta clase almacena la información necesaria para eliminar una referencia del servidor. Más...

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

Funciones públicas

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)

Descripción detallada

Véase también QOpcUaClient::deleteReference().

Documentación de las funciones de miembro

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem()

Por defecto, se crea un elemento de referencia de eliminación sin parámetros definidos.

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)

Crea un elemento de referencia de eliminación a partir de other.

bool QOpcUaDeleteReferenceItem::deleteBidirectional() const

Devuelve el indicador «deleteBidirectional».

Véase también ` setDeleteBidirectional()`.

bool QOpcUaDeleteReferenceItem::isForwardReference() const

Devuelve el indicador «isForwardReference».

Véase también ` setIsForwardReference()`.

QString QOpcUaDeleteReferenceItem::referenceTypeId() const

Devuelve el identificador del tipo de referencia.

Véase también setReferenceTypeId().

void QOpcUaDeleteReferenceItem::setDeleteBidirectional(bool deleteBidirectional)

Establece el indicador « deleteBidirectional » en « deleteBidirectional ». Si este indicador es «false», solo se eliminará esta referencia. De lo contrario, también se eliminará la referencia opuesta del nodo de destino, siempre que el servidor pueda acceder a ella.

Véase también deleteBidirectional().

void QOpcUaDeleteReferenceItem::setIsForwardReference(bool isForwardReference)

Establece el indicador « isForwardReference » en « isForwardReference ».

Véase también isForwardReference().

void QOpcUaDeleteReferenceItem::setReferenceTypeId(const QString &referenceTypeId)

Establece el identificador del tipo de referencia en « referenceTypeId ».

Véase también referenceTypeId().

void QOpcUaDeleteReferenceItem::setSourceNodeId(const QString &sourceNodeId)

Establece el identificador del nodo de origen en sourceNodeId.

Véase también sourceNodeId().

void QOpcUaDeleteReferenceItem::setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId)

Establece el identificador del nodo de destino en targetNodeId.

Véase también targetNodeId().

QString QOpcUaDeleteReferenceItem::sourceNodeId() const

Devuelve el identificador del nodo de origen.

Véase también setSourceNodeId().

QOpcUaExpandedNodeId QOpcUaDeleteReferenceItem::targetNodeId() const

Devuelve el identificador del nodo de destino.

Véase también setTargetNodeId().

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

Establece los valores de rhs en este elemento de referencia de eliminación.

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