En esta página

QOpcUaQualifiedName Class

El tipo de nombre OPC UA QualifiedName. Más...

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

Funciones públicas

QOpcUaQualifiedName()
QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)
QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)
QString name() const
quint16 namespaceIndex() const
void setName(const QString &name)
void setNamespaceIndex(quint16 namespaceIndex)
operator QVariant() const
QOpcUaQualifiedName &operator=(const QOpcUaQualifiedName &rhs)
bool operator==(const QOpcUaQualifiedName &rhs) const
(since 6.3) QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

Descripción detallada

Esta es la representación Qt OPC UA para el tipo OPC UA QualifiedName definido en OPC UA 1.05 parte 3, 8.3. Un QualifiedName es un nombre cualificado por un índice de espacio de nombres. El índice de espacio de nombres corresponde a una entrada de la matriz de espacios de nombres del servidor. QualifiedName se utiliza principalmente para representar el atributo BrowseName de un nodo.

Documentación de las funciones miembro

QOpcUaQualifiedName::QOpcUaQualifiedName()

Por defecto construye un nombre cualificado sin parámetros.

QOpcUaQualifiedName::QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)

Construye un nombre cualificado con el índice del espacio de nombres namespaceIndex y el nombre name.

QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)

Construye un nombre cualificado a partir de rhs.

QString QOpcUaQualifiedName::name() const

Devuelve el nombre.

Véase también setName().

quint16 QOpcUaQualifiedName::namespaceIndex() const

Devuelve el índice del espacio de nombres.

Véase también setNamespaceIndex().

void QOpcUaQualifiedName::setName(const QString &name)

Establece el nombre name.

Véase también name().

void QOpcUaQualifiedName::setNamespaceIndex(quint16 namespaceIndex)

Establece el índice del espacio de nombres en namespaceIndex.

Véase también namespaceIndex().

QOpcUaQualifiedName::operator QVariant() const

Convierte este nombre cualificado en QVariant.

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

Establece los valores de rhs en este nombre cualificado.

bool QOpcUaQualifiedName::operator==(const QOpcUaQualifiedName &rhs) const

Devuelve true si este nombre cualificado tiene el mismo valor que rhs.

No miembros relacionados

[since 6.3] QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)

Escribe la dirección name cualificada en la salida debug.

Esta función se introdujo en Qt 6.3.

Véase también QDebug.

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