Qt 4.8
|
An QAbstractXmlForwardIterator which always is empty. More...
#include <qitem_p.h>
Public Functions | |
virtual QAbstractXmlForwardIterator< T >::Ptr | copy () const |
virtual xsInteger | count () |
virtual T | current () const |
virtual T | next () |
virtual xsInteger | position () const |
virtual QAbstractXmlForwardIterator< T >::Ptr | toReversed () |
Public Functions inherited from QAbstractXmlForwardIterator< T > | |
virtual bool | isEmpty () |
Returns true if the sequence is empty. More... | |
virtual T | last () |
Returns the item at the end of this QAbstractXmlForwardIterator. More... | |
QAbstractXmlForwardIterator () | |
Default constructor. More... | |
virtual qint64 | sizeHint () const |
Gives a hint to the size of the contained sequence. More... | |
virtual QList< T > | toList () |
Performs a copy of this QAbstractXmlForwardIterator(with copy()), and returns its items in a QList. More... | |
virtual | ~QAbstractXmlForwardIterator () |
Destructor. More... | |
Public Functions inherited from QSharedData | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Friends | |
class | CommonValues |
Additional Inherited Members | |
Public Types inherited from QAbstractXmlForwardIterator< T > | |
typedef QList< QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< T > > > | List |
A QList containing QAbstractXmlForwardIterator::Ptr instances. More... | |
typedef QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< T > > | Ptr |
A smart pointer wrapping an instance of a QAbstractXmlForwardIterator subclass. More... | |
typedef QVector< QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< T > > > | Vector |
A QVector containing QAbstractXmlForwardIterator::Ptr instances. More... | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Related Functions inherited from QAbstractXmlForwardIterator< T > | |
template<typename TResult , typename TSource , typename TMapper > | |
static QAbstractXmlForwardIterator< TResult >::Ptr | makeSequenceMappingIterator (const TMapper &mapper, const QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< TSource > > &source, const DynamicContext::Ptr &context) |
An object generator for SequenceMappingIterator. More... | |
bool | qIsForwardIteratorEnd (const T &unit) |
The Callback QAbstractXmlForwardIterator uses for determining whether unit is the end of a sequence. More... | |
An QAbstractXmlForwardIterator which always is empty.
EmptyIterator is an QAbstractXmlForwardIterator over the type T
, which always is empty. Other iterators can also be empty(or, at least behave as they are empty), but this class is special designed for this purpose and is therefore fast.
EmptyIterator's constructor is protected, instances is retrieved from CommonValues.
|
inlinevirtual |
this
Reimplemented from QAbstractXmlForwardIterator< T >.
Definition at line 123 of file qemptyiterator_p.h.
|
inlinevirtual |
Reimplemented from QAbstractXmlForwardIterator< T >.
Definition at line 115 of file qemptyiterator_p.h.
|
inlinevirtual |
Implements QAbstractXmlForwardIterator< T >.
Definition at line 91 of file qemptyiterator_p.h.
|
inlinevirtual |
Implements QAbstractXmlForwardIterator< T >.
Definition at line 83 of file qemptyiterator_p.h.
|
inlinevirtual |
Implements QAbstractXmlForwardIterator< T >.
Definition at line 99 of file qemptyiterator_p.h.
|
inlinevirtual |
this
, the reverse of ()
is ()
. Reimplemented from QAbstractXmlForwardIterator< T >.
Definition at line 107 of file qemptyiterator_p.h.
|
friend |
Definition at line 129 of file qemptyiterator_p.h.