QXmlStreamNamespaceDeclaration 類

QXmlStreamNamespaceDeclaration 類錶示名稱空間聲明。 更多...

頭: #include <QXmlStreamNamespaceDeclaration>
qmake: QT += core
Since: Qt 4.3

該類在 Qt 4.3 引入。

注意: 此類的所有函數 可重入 .

公共函數

QXmlStreamNamespaceDeclaration (const QXmlStreamNamespaceDeclaration & other )
QXmlStreamNamespaceDeclaration (const QString & prefix , const QString & namespaceUri )
QXmlStreamNamespaceDeclaration ()
QXmlStreamNamespaceDeclaration & operator= (const QXmlStreamNamespaceDeclaration & other )
~QXmlStreamNamespaceDeclaration ()
QStringRef namespaceUri () const
QStringRef prefix () const
bool operator!= (const QXmlStreamNamespaceDeclaration & other ) const
bool operator== (const QXmlStreamNamespaceDeclaration & other ) const
typedef QXmlStreamNamespaceDeclarations

詳細描述

An namespace declaration consists of a prefix () 和 namespaceUri ().

成員函數文檔編製

QXmlStreamNamespaceDeclaration:: QXmlStreamNamespaceDeclaration (const QXmlStreamNamespaceDeclaration & other )

創建副本為 other .

QXmlStreamNamespaceDeclaration:: QXmlStreamNamespaceDeclaration (const QString & prefix , const QString & namespaceUri )

Creates a namespace declaration with prefix and namespaceUri .

該函數在 Qt 4.4 引入。

QXmlStreamNamespaceDeclaration:: QXmlStreamNamespaceDeclaration ()

Creates an empty namespace declaration.

QXmlStreamNamespaceDeclaration &QXmlStreamNamespaceDeclaration:: operator= (const QXmlStreamNamespaceDeclaration & other )

賦值 other to this namespace declaration.

QXmlStreamNamespaceDeclaration:: ~QXmlStreamNamespaceDeclaration ()

Destructs this namespace declaration.

QStringRef QXmlStreamNamespaceDeclaration:: namespaceUri () const

Returns the namespaceUri.

QStringRef QXmlStreamNamespaceDeclaration:: prefix () const

Returns the prefix.

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

Compares this namespace declaration with other 並返迴 true 若它們不相等;否則返迴 false .

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

Compares this namespace declaration with other 並返迴 true 若它們相等;否則返迴 false .

相關非成員

typedef QXmlStreamNamespaceDeclarations

同義詞 QVector < QXmlStreamNamespaceDeclaration >.