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

This class is equality-comparable.

Note: All functions in this class are reentrant.

Public Functions

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)

Detailed Description

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

Member Function Documentation

QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()

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.

Related Non-Members

QXmlStreamEntityDeclarations

Synonym for QList<QXmlStreamEntityDeclaration>.

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

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

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

Compares lhs entity declaration with rhs and returns true if they are equal; otherwise returns false.

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