En esta página

QOpcUaReferenceDescription Class

Contiene información sobre un nodo. Más...

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

Funciones públicas

QOpcUaReferenceDescription()
QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)
~QOpcUaReferenceDescription()
QOpcUaQualifiedName browseName() const
QOpcUaLocalizedText displayName() const
bool isForwardReference() const
QOpcUa::NodeClass nodeClass() const
QString refTypeId() const
void setBrowseName(const QOpcUaQualifiedName &browseName)
void setDisplayName(const QOpcUaLocalizedText &displayName)
void setIsForwardReference(bool isForwardReference)
void setNodeClass(QOpcUa::NodeClass nodeClass)
void setRefTypeId(const QString &refTypeId)
void setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)
void setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)
QOpcUaExpandedNodeId targetNodeId() const
QOpcUaExpandedNodeId typeDefinition() const
QOpcUaReferenceDescription &operator=(const QOpcUaReferenceDescription &other)

Descripción detallada

Esta clase se utiliza para devolver los resultados de una llamada a QOpcUaNode::browse() o QOpcUaNode::browseChildren().

Contiene el tipo y la dirección de la referencia utilizada para conectar el nodo con el nodo de inicio de la operación browse, el id del nodo de definición de tipo del destino y los valores de los siguientes node attributes:

Atributo
NodeId
BrowseName
DisplayName
NodeClass

Documentación de la función de miembro

QOpcUaReferenceDescription::QOpcUaReferenceDescription()

Crea un objeto vacío QOpcUaReferenceDescription

QOpcUaReferenceDescription::QOpcUaReferenceDescription(const QOpcUaReferenceDescription &other)

Crea una copia del objeto QOpcUaReferenceDescription other.

[noexcept] QOpcUaReferenceDescription::~QOpcUaReferenceDescription()

Destructor para QOpcUaReferenceDescription

QOpcUaQualifiedName QOpcUaReferenceDescription::browseName() const

Devuelve el nombre de navegación del nodo.

Véase también setBrowseName().

QOpcUaLocalizedText QOpcUaReferenceDescription::displayName() const

Devuelve el nombre para mostrar del nodo.

Véase también setDisplayName().

bool QOpcUaReferenceDescription::isForwardReference() const

Devuelve true si la referencia es hacia adelante.

Véase también setIsForwardReference().

QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const

Devuelve la clase de nodo del nodo.

Véase también setNodeClass().

QString QOpcUaReferenceDescription::refTypeId() const

Devuelve el id del tipo de referencia del nodo.

Véase también setRefTypeId().

void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)

Establece el nombre de navegación del nodo en browseName.

Véase también browseName().

void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)

Establece el nombre de visualización del nodo en displayName.

Véase también displayName().

void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)

Establece isForwardReference como isForwardReference información para la referencia.

Véase también isForwardReference().

void QOpcUaReferenceDescription::setNodeClass(QOpcUa::NodeClass nodeClass)

Establece la clase del nodo en nodeClass.

Véase también nodeClass().

void QOpcUaReferenceDescription::setRefTypeId(const QString &refTypeId)

Establece el id del tipo de referencia del nodo a refTypeId.

Véase también refTypeId() y QOpcUa::nodeIdFromReferenceType().

void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)

Establece el id del nodo en nodeId.

Véase también targetNodeId().

void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)

Establece typeDefinition como id de la definición de tipo.

Véase también typeDefinition().

QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const

Devuelve el id del nodo.

Véase también setTargetNodeId().

QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const

Devuelve el id de definición del tipo.

Véase también setTypeDefinition().

QOpcUaReferenceDescription &QOpcUaReferenceDescription::operator=(const QOpcUaReferenceDescription &other)

Asigna el valor de other a este objeto.

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