QXmlStreamNotationDeclaration Class

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

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

QXmlStreamNotationDeclaration()
QStringView name() const
QStringView publicId() const
QStringView systemId() const
QXmlStreamNotationDeclarations
bool operator!=(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)
bool operator==(const QXmlStreamNotationDeclaration &lhs, const QXmlStreamNotationDeclaration &rhs)

Detailed Description

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

Member Function Documentation

QXmlStreamNotationDeclaration::QXmlStreamNotationDeclaration()

Creates an empty notation declaration.

QStringView QXmlStreamNotationDeclaration::name() const

Returns the notation name.

QStringView QXmlStreamNotationDeclaration::publicId() const

Returns the public identifier.

QStringView QXmlStreamNotationDeclaration::systemId() const

Returns the system identifier.

Related Non-Members

QXmlStreamNotationDeclarations

Synonym for QList<QXmlStreamNotationDeclaration>.

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

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

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

Compares lhs notation 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.