Nesta página

QXmlStreamEntityDeclaration Class

A classe QXmlStreamEntityDeclaration representa uma declaração de entidade DTD. Mais...

Cabeçalho: #include <QXmlStreamEntityDeclaration>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core

Observação: Todas as funções desta classe são reentrantes.

Comparações de QXmlStreamEntityDeclaration

CategoriaTipos comparáveis
igualdadeQXmlStreamEntityDeclaration

Funções públicas

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)

Descrição detalhada

Uma declaração de entidade consiste em um ` name()`, um ` notationName()`, um ` systemId()`, um ` publicId()` e um ` value()`.

Documentação das funções-membro

QXmlStreamEntityDeclaration::QXmlStreamEntityDeclaration()

Cria uma declaração de entidade vazia.

QStringView QXmlStreamEntityDeclaration::name() const

Retorna o nome da entidade.

QStringView QXmlStreamEntityDeclaration::notationName() const

Retorna o nome da notação.

QStringView QXmlStreamEntityDeclaration::publicId() const

Retorna o identificador público.

QStringView QXmlStreamEntityDeclaration::systemId() const

Retorna o identificador do sistema.

QStringView QXmlStreamEntityDeclaration::value() const

Retorna o valor da entidade.

Não-membros relacionados

QXmlStreamEntityDeclarations

Sinônimo de QList<QXmlStreamEntityDeclaration>.

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

Compara a declaração de entidade lhs com rhs e retorna true caso não sejam iguais; caso contrário, retorna false.

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

Compara a declaração de entidade lhs com rhs e retorna true caso sejam iguais; caso contrário, retorna false.

© 2026 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.