Sur cette page

QXmlStreamEntityDeclaration Class

La classe QXmlStreamEntityDeclaration représente une déclaration d'entité DTD. Plus d'informations...

En-tête : #include <QXmlStreamEntityDeclaration>
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

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'un name(), d'un notationName(), d'un systemId(), d'un publicId() et d'un value().

Documentation sur les 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é.

Non-membres apparentés

QXmlStreamEntityDeclarations

Synonyme de QList<QXmlStreamEntityDeclaration>.

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

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