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
bool operator!= (const QXmlStreamNotationDeclaration & other ) const
bool operator== (const QXmlStreamNotationDeclaration & other ) const
QXmlStreamNotationDeclarations

详细描述

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

成员函数文档编制

QXmlStreamNotationDeclaration:: QXmlStreamNotationDeclaration ()

创建空表示法声明。

QStringView QXmlStreamNotationDeclaration:: name () const

返回表示法名称。

QStringView QXmlStreamNotationDeclaration:: publicId () const

返回公共标识符。

QStringView QXmlStreamNotationDeclaration:: systemId () const

返回系统标识符。

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

比较此表示法声明与 other 并返回 true 若它们不相等;否则返回 false .

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

比较此表示法声明与 other 并返回 true 若它们相等;否则返回 false .

相关非成员

QXmlStreamNotationDeclarations

同义词 QList < QXmlStreamNotationDeclaration >.