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.