QOpcUaQualifiedName Class
Il tipo QualifiedName di OPC UA. Per saperne di più...
| Intestazione: | #include <QOpcUaQualifiedName> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS OpcUa) target_link_libraries(mytarget PRIVATE Qt6::OpcUa) |
| qmake: | QT += opcua |
Funzioni pubbliche
| 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 |
Elementi non membri correlati
(since 6.3) QDebug | operator<<(QDebug debug, const QOpcUaQualifiedName &name) |
Descrizione dettagliata
Questa è la rappresentazione in formato " Qt OPC UA " per il tipo QualifiedName di OPC UA definito nella specifica OPC UA 1.05, parte 3, sezione 8.3. Un QualifiedName è un nome qualificato da un indice di namespace. L'indice di namespace corrisponde a una voce nell'array dei namespace del server. QualifiedName viene utilizzato principalmente per rappresentare l'attributo BrowseName di un nodo.
Documentazione delle funzioni membro
QOpcUaQualifiedName::QOpcUaQualifiedName()
Il valore predefinito crea un nome qualificato senza parametri specificati.
QOpcUaQualifiedName::QOpcUaQualifiedName(quint16 namespaceIndex, const QString &name)
Crea un nome qualificato con indice dello spazio dei nomi namespaceIndex e il nome name.
QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)
Crea un nome qualificato a partire da rhs.
QString QOpcUaQualifiedName::name() const
Restituisce il nome.
Vedi anche setName().
quint16 QOpcUaQualifiedName::namespaceIndex() const
Restituisce l'indice dello spazio dei nomi.
Vedi anche setNamespaceIndex().
void QOpcUaQualifiedName::setName(const QString &name)
Imposta il nome su name.
Vedi anche name().
void QOpcUaQualifiedName::setNamespaceIndex(quint16 namespaceIndex)
Imposta l'indice dello spazio dei nomi su namespaceIndex.
Vedi anche namespaceIndex().
QOpcUaQualifiedName::operator QVariant() const
Converte questo nome qualificato in QVariant.
QOpcUaQualifiedName &QOpcUaQualifiedName::operator=(const QOpcUaQualifiedName &rhs)
Imposta i valori presenti all'indirizzo rhs in questo nome qualificato.
bool QOpcUaQualifiedName::operator==(const QOpcUaQualifiedName &rhs) const
Restituisce ` true ` se questo nome qualificato ha lo stesso valore di ` rhs`.
Elementi non membri correlati
[since 6.3] QDebug operator<<(QDebug debug, const QOpcUaQualifiedName &name)
Scrive l'name e qualificato nell'output debug.
Questa funzione è stata introdotta in Qt 6.3.
Vedi anche 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.