Definition at line 135 of file qxmlstream.h.
#include <qxmlstream.h>
Public Member Functions |
|
| QXmlStreamAttribute () | |
| QXmlStreamAttribute (const QString &qualifiedName, const QString &value) | |
| QXmlStreamAttribute (const QString &namespaceUri, const QString &name, const QString &value) | |
| QXmlStreamAttribute (const QXmlStreamAttribute &) | |
| QXmlStreamAttribute & | operator= (const QXmlStreamAttribute &) |
| ~QXmlStreamAttribute () | |
| QStringRef | namespaceUri () const |
| QStringRef | name () const |
| QStringRef | qualifiedName () const |
| QStringRef | prefix () const |
| QStringRef | value () const |
| bool | isDefault () const |
| bool | operator== (const QXmlStreamAttribute &other) const |
| bool | operator!= (const QXmlStreamAttribute &other) const |
Friends |
|
| class | QXmlStreamReaderPrivate |
| class | QXmlStreamAttributes |
| QXmlStreamAttribute | ( | const QString & | qualifiedName, |
| const QString & | value | ||
| ) |
| QXmlStreamAttribute | ( | const QString & | namespaceUri, |
| const QString & | name, | ||
| const QString & | value | ||
| ) |
| QXmlStreamAttribute | ( | const QXmlStreamAttribute & | ) |
| ~QXmlStreamAttribute | ( | ) |
| QXmlStreamAttribute& operator= | ( | const QXmlStreamAttribute & | ) |
| QStringRef namespaceUri | ( | ) | const [inline] |
| QStringRef name | ( | ) | const [inline] |
| QStringRef qualifiedName | ( | ) | const [inline] |
| QStringRef prefix | ( | ) | const [inline] |
Definition at line 151 of file qxmlstream.h.
{
return QStringRef(m_qualifiedName.string(),
m_qualifiedName.position(),
qMax(0, m_qualifiedName.size() - m_name.size() - 1));
}
| QStringRef value | ( | ) | const [inline] |
| bool isDefault | ( | ) | const [inline] |
| bool operator== | ( | const QXmlStreamAttribute & | other | ) | const [inline] |
Definition at line 158 of file qxmlstream.h.
{
return (value() == other.value()
&& (namespaceUri().isNull() ? (qualifiedName() == other.qualifiedName())
: (namespaceUri() == other.namespaceUri() && name() == other.name())));
}
| bool operator!= | ( | const QXmlStreamAttribute & | other | ) | const [inline] |
Definition at line 163 of file qxmlstream.h.
{ return !operator==(other); }
friend class QXmlStreamReaderPrivate
[friend] |
Definition at line 139 of file qxmlstream.h.
friend class QXmlStreamAttributes
[friend] |
Definition at line 140 of file qxmlstream.h.