QXmlStreamEntityDeclaration 类

QXmlStreamEntityDeclaration 类表示 DTD 实体声明。 更多...

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

注意: 此类的所有函数 可重入 .

公共函数

  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
  QXmlStreamEntityDeclarations

详细描述

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

成员函数文档编制

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 并返回 true if they are not equal; otherwise returns false .

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

Compares this entity declaration with other 并返回 true if they are equal; otherwise returns false .

相关非成员

QXmlStreamEntityDeclarations

同义词 QList < QXmlStreamEntityDeclaration >.