En esta página

QOpcUaDeleteReferenceItem Class

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

Cabecera: #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 los miembros

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem()

Por defecto construye un elemento de referencia de borrado sin parámetros establecidos.

QOpcUaDeleteReferenceItem::QOpcUaDeleteReferenceItem(const QOpcUaDeleteReferenceItem &other)

Construye un elemento de referencia de borrado 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 id del tipo de referencia.

Véase también setReferenceTypeId().

void QOpcUaDeleteReferenceItem::setDeleteBidirectional(bool deleteBidirectional)

Establece la bandera deleteBidirectional a deleteBidirectional. Si esta bandera es falsa, sólo se borrará esta referencia. De lo contrario, la referencia opuesta del nodo destino también se borrará si es accesible por el servidor.

Véase también deleteBidirectional().

void QOpcUaDeleteReferenceItem::setIsForwardReference(bool isForwardReference)

Establece la bandera isForwardReference a isForwardReference.

Véase también isForwardReference().

void QOpcUaDeleteReferenceItem::setReferenceTypeId(const QString &referenceTypeId)

Establece el id del tipo de referencia en referenceTypeId.

Véase también referenceTypeId().

void QOpcUaDeleteReferenceItem::setSourceNodeId(const QString &sourceNodeId)

Establece el id del nodo de origen en sourceNodeId.

Véase también sourceNodeId().

void QOpcUaDeleteReferenceItem::setTargetNodeId(const QOpcUaExpandedNodeId &targetNodeId)

Establece el id del nodo de destino en targetNodeId.

Véase también targetNodeId().

QString QOpcUaDeleteReferenceItem::sourceNodeId() const

Devuelve el id del nodo origen.

Véase también setSourceNodeId().

QOpcUaExpandedNodeId QOpcUaDeleteReferenceItem::targetNodeId() const

Devuelve el id 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 borrado.

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