QOpcUaQualifiedName Class

Der OPC UA QualifiedName Typ. Mehr...

Kopfzeile: #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)
QVariant 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 QualifiedName Typ, definiert in OPC UA 1.05 Teil 3, 8.3. Ein QualifiedName ist ein Name, der durch einen Namespace-Index qualifiziert ist. 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()

Standard konstruiert einen qualifizierten Namen ohne Parameter.

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

Konstruiert einen qualifizierten Namen mit Namespace-Index namespaceIndex und dem Namen name.

QOpcUaQualifiedName::QOpcUaQualifiedName(const QOpcUaQualifiedName &rhs)

Konstruiert 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)

Setzt den Namen auf name.

Siehe auch name().

void QOpcUaQualifiedName::setNamespaceIndex(quint16 namespaceIndex)

Setzt den Namespace-Index auf namespaceIndex.

Siehe auch namespaceIndex().

QVariant QOpcUaQualifiedName::operator QVariant() const

Wandelt diesen qualifizierten Namen in QVariant um.

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

Legt die Werte von rhs in diesem qualifizierten Namen fest.

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

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

Verwandte Nicht-Mitglieder

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

Schreibt die qualifizierte name in die debug Ausgabe.

Diese Funktion wurde in Qt 6.3 eingeführt.

Siehe auch QDebug.

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