En esta página

QOpcUaReferenceDescription Class

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

Encabezado: #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 al nodo inicial de la operación de exploración, el identificador del nodo de definición de tipo del destino y los valores de los siguientes node attributes:

Atributo
NodeId
NombreDeNavegación
Nombre de visualización
Clase del nodo

Documentación de funciones de miembro

QOpcUaReferenceDescription::QOpcUaReferenceDescription()

Crea un objeto QOpcUaReferenceDescription vacío

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 visible del nodo.

Véase también setDisplayName().

bool QOpcUaReferenceDescription::isForwardReference() const

Devuelve « true » si la referencia es de tipo «forward».

Véase también setIsForwardReference().

QOpcUa::NodeClass QOpcUaReferenceDescription::nodeClass() const

Devuelve la clase del nodo.

Véase también setNodeClass().

QString QOpcUaReferenceDescription::refTypeId() const

Devuelve el identificador de tipo de referencia del nodo.

Véase también setRefTypeId().

void QOpcUaReferenceDescription::setBrowseName(const QOpcUaQualifiedName &browseName)

Establece el nombre de exploración del nodo como browseName.

Véase también browseName().

void QOpcUaReferenceDescription::setDisplayName(const QOpcUaLocalizedText &displayName)

Establece el nombre que se muestra del nodo como « displayName ».

Véase también displayName().

void QOpcUaReferenceDescription::setIsForwardReference(bool isForwardReference)

Establece « isForwardReference » como información de « isForwardReference » 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 identificador de tipo de referencia del nodo en « refTypeId ».

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

void QOpcUaReferenceDescription::setTargetNodeId(const QOpcUaExpandedNodeId &nodeId)

Establece el identificador del nodo en nodeId.

Véase también targetNodeId().

void QOpcUaReferenceDescription::setTypeDefinition(const QOpcUaExpandedNodeId &typeDefinition)

Establece « typeDefinition » como identificador de la definición de tipo.

Véase también typeDefinition().

QOpcUaExpandedNodeId QOpcUaReferenceDescription::targetNodeId() const

Devuelve el identificador del nodo.

Véase también setTargetNodeId().

QOpcUaExpandedNodeId QOpcUaReferenceDescription::typeDefinition() const

Devuelve el identificador de la definición de 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.