QXmlStreamEntityDeclaration Class | Qt Core 6.7.3
Description: The QXmlStreamEntityDeclaration class represents a DTD entity declaration.

- Qt 6.7
- Qt Core
- C++ Classes
- QXmlStreamEntityDeclaration
- Qt 6.7.3 Reference Documentation

# 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

- List of all members, including inherited members
- QXmlStreamEntityDeclaration is part of XML Classes.

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
bool | operator!=(const QXmlStreamEntityDeclaration &other) const
bool | operator==(const QXmlStreamEntityDeclaration &other) const

## Related Non-Members

| QXmlStreamEntityDeclarations

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

### 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

### QXmlStreamEntityDeclarations

Synonym for QList<QXmlStreamEntityDeclaration>.