QXmlStreamNamespaceDeclaration Class

Die Klasse QXmlStreamNamespaceDeclaration stellt eine Namespace-Deklaration dar. Mehr...

Kopfzeile: #include <QXmlStreamNamespaceDeclaration>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

Diese Klasse ist gleichwertig vergleichbar.

Hinweis: Alle Funktionen in dieser Klasse sind reentrant.

Öffentliche Funktionen

QXmlStreamNamespaceDeclaration()
QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri)
QStringView namespaceUri() const
QStringView prefix() const
QXmlStreamNamespaceDeclarations
bool operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)
bool operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)

Detaillierte Beschreibung

Eine Namespace-Deklaration besteht aus einem prefix() und einem namespaceUri().

Dokumentation der Mitgliedsfunktionen

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()

Erzeugt eine leere Namespace-Deklaration.

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration(const QString &prefix, const QString &namespaceUri)

Erzeugt eine Namespace-Deklaration mit prefix und namespaceUri.

QStringView QXmlStreamNamespaceDeclaration::namespaceUri() const

Gibt die NamespaceUri zurück.

QStringView QXmlStreamNamespaceDeclaration::prefix() const

Gibt das Präfix zurück.

Verwandte Nicht-Mitglieder

QXmlStreamNamespaceDeclarations

Synonym für QList<QXmlStreamNamespaceDeclaration>.

[noexcept] bool operator!=(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)

Vergleicht die Namespace-Deklaration lhs mit rhs und gibt true zurück, wenn sie nicht gleich sind; andernfalls wird false zurückgegeben.

[noexcept] bool operator==(const QXmlStreamNamespaceDeclaration &lhs, const QXmlStreamNamespaceDeclaration &rhs)

Vergleicht die Namespace-Deklaration lhs mit rhs und gibt true zurück, wenn sie gleich sind; andernfalls wird false zurückgegeben.

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