Auf dieser Seite

QXmlStreamNamespaceDeclaration Class

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

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

Hinweis: Alle Funktionen dieser Klasse sind reentrant.

Vergleiche zu QXmlStreamNamespaceDeclaration

KategorieVergleichbare Typen
GleichheitQXmlStreamNamespaceDeclaration

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

Ausführliche Beschreibung

Eine Namespace-Deklaration besteht aus einer „ prefix()“- und einer „ namespaceUri()“-Anweisung.

Dokumentation der Mitgliedsfunktionen

QXmlStreamNamespaceDeclaration::QXmlStreamNamespaceDeclaration()

Erstellt eine leere Namespace-Deklaration.

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

Erstellt eine Namespace-Deklaration mit „ prefix “ und „ namespaceUri “.

QStringView QXmlStreamNamespaceDeclaration::namespaceUri() const

Gibt den 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 identisch 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 identisch sind; andernfalls wird „ false “ zurückgegeben.

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