Qt 4.8
Public Functions | Public Variables | List of all members
QXmlSimpleReaderPrivate::XmlRef Struct Reference

Public Functions

bool isEmpty () const
 
QChar next ()
 
 XmlRef ()
 
 XmlRef (const QString &_name, const QString &_value)
 

Public Variables

int index
 
QString name
 
QString value
 

Detailed Description

Definition at line 316 of file qxml.cpp.

Constructors and Destructors

◆ XmlRef() [1/2]

QXmlSimpleReaderPrivate::XmlRef::XmlRef ( )
inline

Definition at line 317 of file qxml.cpp.

318  : index(0) {}

◆ XmlRef() [2/2]

QXmlSimpleReaderPrivate::XmlRef::XmlRef ( const QString _name,
const QString _value 
)
inline

Definition at line 319 of file qxml.cpp.

Functions

◆ isEmpty()

bool QXmlSimpleReaderPrivate::XmlRef::isEmpty ( ) const
inline

Definition at line 321 of file qxml.cpp.

321 { return index == value.length(); }
int length() const
Returns the number of characters in this string.
Definition: qstring.h:696

◆ next()

QChar QXmlSimpleReaderPrivate::XmlRef::next ( )
inline

Definition at line 322 of file qxml.cpp.

322 { return value.at(index++); }
const QChar at(int i) const
Returns the character at the given index position in the string.
Definition: qstring.h:698

Properties

◆ index

int QXmlSimpleReaderPrivate::XmlRef::index

Definition at line 325 of file qxml.cpp.

◆ name

QString QXmlSimpleReaderPrivate::XmlRef::name

Definition at line 323 of file qxml.cpp.

◆ value

QString QXmlSimpleReaderPrivate::XmlRef::value

Definition at line 324 of file qxml.cpp.


The documentation for this struct was generated from the following file: