QOpcUaQualifiedName Class
El tipo «QualifiedName» de OPC UA. Más información...
| Encabezado: | #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 |
Elementos no miembros relacionados
(since 6.3) QDebug | operator<<(QDebug debug, const QOpcUaQualifiedName &name) |
Descripción detallada
Esta es la representación « Qt OPC UA » del tipo «QualifiedName» de OPC UA definido en OPC UA 1.05, parte 3, apartado 8.3. Un «QualifiedName» es un nombre calificado por un índice de espacio de nombres. El índice de espacio de nombres se corresponde con una entrada en la matriz de espacios de nombres del servidor. QualifiedName se utiliza principalmente para representar el atributo «BrowseName» de un nodo.
Documentación de funciones de miembro
QOpcUaQualifiedName::QOpcUaQualifiedName()
«Default» crea un nombre calificado sin parámetros definidos.
QOpcUaQualifiedName::QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)
Crea un nombre cualificado con el índice de espacio de nombres namespaceIndex y el nombre name.
QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)
Crea un nombre calificado 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 en « 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 calificado en « QVariant ».
QOpcUaQualifiedName &QOpcUaQualifiedName::operator=(const QOpcUaQualifiedName &rhs)
Establece los valores de rhs en este nombre calificado.
bool QOpcUaQualifiedName::operator==(const QOpcUaQualifiedName &rhs) const
Devuelve « true » si este nombre calificado tiene el mismo valor que « rhs ».
Elementos no miembros relacionados
[since 6.3] QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)
Escribe el « name » calificado 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.