QXmlStreamNotationDeclaration 类

QXmlStreamNotationDeclaration 类表示 DTD (文档类型定义) 表示法声明。 更多...

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

此类 相等可比较 .

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

公共函数

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 )

详细描述

表示法声明组成由 name (), systemId (), 和 publicId ().

成员函数文档编制

QXmlStreamNotationDeclaration:: QXmlStreamNotationDeclaration ()

创建空表示法声明。

QStringView QXmlStreamNotationDeclaration:: 名称 () const

返回表示法名称。

QStringView QXmlStreamNotationDeclaration:: publicId () const

返回公共标识符。

QStringView QXmlStreamNotationDeclaration:: systemId () const

返回系统标识符。

相关非成员

QXmlStreamNotationDeclarations

同义词 QList < QXmlStreamNotationDeclaration >.

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

比较 lhs notation declaration with rhs 并返回 true 若它们不相等;否则返回 false .

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

比较 lhs notation declaration with rhs 并返回 true 若它们相等;否则返回 false .