- Qt 5.15
- Qt Core
- C++ Classes
- QXmlStreamEntityDeclaration
- Qt 5.15.19 Reference Documentation

# QXmlStreamEntityDeclaration Class

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

Header: | #include <QXmlStreamEntityDeclaration>
qmake: | QT += core
Since: | Qt 4.3

This class was introduced in Qt 4.3.

- List of all members, including inherited members

Note: All functions in this class are reentrant.

## Public Functions

| QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration &other)
| QXmlStreamEntityDeclaration()
QXmlStreamEntityDeclaration & | operator=(const QXmlStreamEntityDeclaration &other)
| ~QXmlStreamEntityDeclaration()
QStringRef | name() const
QStringRef | notationName() const
QStringRef | publicId() const
QStringRef | systemId() const
QStringRef | value() const
bool | operator!=(const QXmlStreamEntityDeclaration &other) const
bool | operator==(const QXmlStreamEntityDeclaration &other) const

## Related Non-Members

typedef | QXmlStreamEntityDeclarations

## Detailed Description

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

## Member Function Documentation

### QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration(const QXmlStreamEntityDeclaration &other)

Creates a copy of other.

### QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()

Creates an empty entity declaration.

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

Assigns other to this entity declaration.

### QXmlStreamEntityDeclaration::~QXmlStreamEntityDeclaration()

Destructs this entity declaration.

### QStringRef QXmlStreamEntityDeclaration::name() const

Returns the entity name.

### QStringRef QXmlStreamEntityDeclaration::notationName() const

Returns the notation name.

### QStringRef QXmlStreamEntityDeclaration::publicId() const

Returns the public identifier.

### QStringRef QXmlStreamEntityDeclaration::systemId() const

Returns the system identifier.

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

### typedef QXmlStreamEntityDeclarations

Synonym for QVector<QXmlStreamEntityDeclaration>.