QXmlStreamEntityDeclaration Class

The QXmlStreamEntityDeclaration class represents a DTD entity declaration. More...

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

Note: All functions in this class are reentrant.

Public Functions

QStringView name() const
QStringView notationName() const
QStringView publicId() const
QStringView systemId() const
QStringView value() const
bool operator!=(const QXmlStreamEntityDeclaration &other) const
bool operator==(const QXmlStreamEntityDeclaration &other) const

Detailed Description

An entity declaration consists of a name(), a notationName(), a systemId(), a publicId(), and a value().

Member Function Documentation


Creates an empty entity declaration.

QStringView QXmlStreamEntityDeclaration::name() const

Returns the entity name.

QStringView QXmlStreamEntityDeclaration::notationName() const

Returns the notation name.

QStringView QXmlStreamEntityDeclaration::publicId() const

Returns the public identifier.

QStringView QXmlStreamEntityDeclaration::systemId() const

Returns the system identifier.

QStringView QXmlStreamEntityDeclaration::value() const

Returns the entity's value.

bool QXmlStreamEntityDeclaration::operator!=(const QXmlStreamEntityDeclaration &other) const

Compares this entity declaration with other and returns true if they are not equal; otherwise returns false.

bool QXmlStreamEntityDeclaration::operator==(const QXmlStreamEntityDeclaration &other) const

Compares this entity declaration with other and returns true if they are equal; otherwise returns false.

Related Non-Members


Synonym for QList<QXmlStreamEntityDeclaration>.

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