QXmlStreamEntityDeclaration 类

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

头: #include <QXmlStreamEntityDeclaration>
qmake: QT += core
Since: Qt 4.3

该类在 Qt 4.3 引入。

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

公共函数

QXmlStreamEntityDeclaration (const QXmlStreamEntityDeclaration & other )
QXmlStreamEntityDeclaration ()
QXmlStreamEntityDeclaration & operator= (const QXmlStreamEntityDeclaration & other )
~QXmlStreamEntityDeclaration ()
QStringRef name () const
QStringRef notationName () const
QStringRef publicId () const
QStringRef systemId () const
QStringRef value () const
bool operator!= (const QXmlStreamEntityDeclaration & other ) const
bool operator== (const QXmlStreamEntityDeclaration & other ) const
typedef QXmlStreamEntityDeclarations

详细描述

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

成员函数文档编制

QXmlStreamEntityDeclaration:: QXmlStreamEntityDeclaration (const QXmlStreamEntityDeclaration & other )

创建副本为 other .

QXmlStreamEntityDeclaration:: QXmlStreamEntityDeclaration ()

Creates an empty entity declaration.

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

赋值 other to this entity declaration.

QXmlStreamEntityDeclaration:: ~QXmlStreamEntityDeclaration ()

Destructs this entity declaration.

QStringRef QXmlStreamEntityDeclaration:: name () const

Returns the entity name.

QStringRef QXmlStreamEntityDeclaration:: notationName () const

Returns the notation name.

QStringRef QXmlStreamEntityDeclaration:: publicId () const

Returns the public identifier.

QStringRef QXmlStreamEntityDeclaration:: systemId () const

Returns the system identifier.

QStringRef 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 .

相关非成员

typedef QXmlStreamEntityDeclarations

同义词 QVector < QXmlStreamEntityDeclaration >.