Auf dieser Seite

QOpcUaQualifiedName Class

Der OPC-UA-Typ „QualifiedName“. Mehr dazu...

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

Öffentliche Funktionen

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)

Detaillierte Beschreibung

Dies ist die „ Qt OPC UA “-Darstellung für den OPC-UA-Typ „QualifiedName“, der in OPC UA 1.05 Teil 3, 8.3 definiert ist. Ein „QualifiedName“ ist ein durch einen Namespace-Index qualifizierter Name. Der Namespace-Index entspricht einem Eintrag im Namespace-Array des Servers. „QualifiedName“ wird hauptsächlich zur Darstellung des „BrowseName“-Attributs eines Knotens verwendet.

Dokumentation der Mitgliedsfunktionen

QOpcUaQualifiedName::QOpcUaQualifiedName()

„Default“ bildet einen qualifizierten Namen, ohne dass Parameter festgelegt werden.

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

Erstellt einen qualifizierten Namen mit dem Namensraumindex „ namespaceIndex “ und dem Namen „ name “.

QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)

Erstellt einen qualifizierten Namen aus „ rhs “.

QString QOpcUaQualifiedName::name() const

Gibt den Namen zurück.

Siehe auch ` setName()`.

quint16 QOpcUaQualifiedName::namespaceIndex() const

Gibt den Namespace-Index zurück.

Siehe auch ` setNamespaceIndex()`.

void QOpcUaQualifiedName::setName(const QString &name)

Legt den Namen auf „ name “ fest.

Siehe auch name().

void QOpcUaQualifiedName::setNamespaceIndex(quint16 namespaceIndex)

Setzt den Namespace-Index auf „ namespaceIndex “.

Siehe auch namespaceIndex().

QOpcUaQualifiedName::operator QVariant() const

Wandelt diesen qualifizierten Namen in „ QVariant “ um.

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

Legt die Werte aus „ rhs “ in diesem qualifizierten Namen fest.

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

Gibt „ true “ zurück, wenn dieser qualifizierte Name denselben Wert wie „ rhs “ hat.

Verwandte Nicht-Mitglieder

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

Schreibt den qualifizierten „ name “ in die Ausgabe „ debug “.

Diese Funktion wurde in Qt 6.3 eingeführt.

Siehe auch „ 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.