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

# QXmlStreamNotationDeclaration Class

The QXmlStreamNotationDeclaration class represents a DTD notation declaration. More...

Header: | #include <QXmlStreamNotationDeclaration>
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

| QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration &other)
| QXmlStreamNotationDeclaration()
QXmlStreamNotationDeclaration & | operator=(const QXmlStreamNotationDeclaration &other)
| ~QXmlStreamNotationDeclaration()
QStringRef | name() const
QStringRef | publicId() const
QStringRef | systemId() const
bool | operator!=(const QXmlStreamNotationDeclaration &other) const
bool | operator==(const QXmlStreamNotationDeclaration &other) const

## Related Non-Members

typedef | QXmlStreamNotationDeclarations

## Detailed Description

An notation declaration consists of a name(), a systemId(), and a publicId().

## Member Function Documentation

### QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration(const QXmlStreamNotationDeclaration &other)

Creates a copy of other.

### QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration()

Creates an empty notation declaration.

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

Assigns other to this notation declaration.

### QXmlStreamNotationDeclaration::~QXmlStreamNotationDeclaration()

Destructs this notation declaration.

### QStringRef QXmlStreamNotationDeclaration::name() const

Returns the notation name.

### QStringRef QXmlStreamNotationDeclaration::publicId() const

Returns the public identifier.

### QStringRef QXmlStreamNotationDeclaration::systemId() const

Returns the system identifier.

### bool QXmlStreamNotationDeclaration::operator!=(const QXmlStreamNotationDeclaration &other) const

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

### bool QXmlStreamNotationDeclaration::operator==(const QXmlStreamNotationDeclaration &other) const

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

## Related Non-Members

### typedef QXmlStreamNotationDeclarations

Synonym for QVector<QXmlStreamNotationDeclaration>.