Sur cette page

QXmlStreamNotationDeclaration Class

La classe QXmlStreamNotationDeclaration représente une déclaration de notation DTD. En savoir plus...

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

CatégorieTypes comparables
égalitéQXmlStreamNotationDeclaration

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 paramètre « name » (), d'un paramètre « systemId » () et d'un paramètre « publicId » ().

Documentation des 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.

Éléments 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 identiques ; sinon, renvoie false.

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

Compare la déclaration en notation « 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.