Sur cette page

QXmlStreamNotationDeclaration Class

La classe QXmlStreamNotationDeclaration représente une déclaration de notation DTD. Plus d'informations...

En-tête : #include <QXmlStreamNotationDeclaration>
CMake : find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake : QT += core

Cette classe est comparable à l'égalité.

Note : Toutes les fonctions de cette classe sont réentrantes.

Fonctions publiques

QXmlStreamNotationDeclaration()
QStringView name() const
QStringView publicId() const
QStringView systemId() const
QXmlStreamNotationDeclarations
bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)
bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

Description détaillée

Une déclaration de notation se compose d'un name(), d'un systemId() et d'un publicId().

Documentation sur les fonctions membres

QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration()

Crée une déclaration de notation vide.

QStringView QXmlStreamNotationDeclaration::name() const

Renvoie le nom de la notation.

QStringView QXmlStreamNotationDeclaration::publicId() const

Renvoie l'identifiant public.

QStringView QXmlStreamNotationDeclaration::systemId() const

Renvoie l'identifiant du système.

Non-membres associés

QXmlStreamNotationDeclarations

Synonyme de QList<QXmlStreamNotationDeclaration>.

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

Compare la déclaration de notation lhs avec rhs et renvoie true si elles ne sont pas égales ; sinon, renvoie false.

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

Compare la déclaration de notation lhs avec rhs et renvoie true si elles sont égales ; sinon, renvoie false.

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