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 .