Sur cette page

QXmlStreamEntityDeclaration Class

La classe QXmlStreamEntityDeclaration représente une déclaration d'entité DTD. En savoir plus...

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

Remarque : toutes les fonctions de cette classe sont réentrantes.

Comparaisons de QXmlStreamEntityDeclaration

CatégorieTypes comparables
égalitéQXmlStreamEntityDeclaration

Fonctions publiques

QXmlStreamEntityDeclaration()
QStringView name() const
QStringView notationName() const
QStringView publicId() const
QStringView systemId() const
QStringView value() const
QXmlStreamEntityDeclarations
bool operator!=(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs)
bool operator==(const QXmlStreamEntityDeclaration &lhs, const QXmlStreamEntityDeclaration &rhs)

Description détaillée

Une déclaration d'entité se compose d'une déclaration de type ( name()), d'une déclaration de structure ( notationName()), d'une déclaration de classe ( systemId()), d'une déclaration de type ( publicId()) et d'une déclaration de type ( value()).

Documentation des fonctions membres

QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()

Crée une déclaration d'entité vide.

QStringView QXmlStreamEntityDeclaration::name() const

Renvoie le nom de l'entité.

QStringView QXmlStreamEntityDeclaration::notationName() const

Renvoie le nom de la notation.

QStringView QXmlStreamEntityDeclaration::publicId() const

Renvoie l'identifiant public.

QStringView QXmlStreamEntityDeclaration::systemId() const

Renvoie l'identifiant du système.

QStringView QXmlStreamEntityDeclaration::value() const

Renvoie la valeur de l'entité.

Éléments non membres associés

QXmlStreamEntityDeclarations

Synonyme de QList<QXmlStreamEntityDeclaration>.

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

Compare la déclaration d'entité lhs avec celle de rhs et renvoie true si elles ne sont pas identiques ; sinon, renvoie false.

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

Compare la déclaration d'entité lhs avec rhs et renvoie true si elles sont identiques ; 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.