Qt 4.8
|
Iterates along the sibling axes in an AccelTree. More...
#include <qacceliterators_p.h>
Public Functions | |
virtual QXmlNodeModelIndex::Iterator::Ptr | copy () const |
Copies this QAbstractXmlForwardIterator and returns the copy. More... | |
virtual QXmlNodeModelIndex | next () |
Returns the next item in the sequence, or a null object if the end has been reached. More... | |
SiblingIterator (const AccelTree *const doc, const AccelTree::PreNumber pre) | |
Public Functions inherited from QPatternist::AccelIterator | |
virtual QXmlNodeModelIndex | current () const |
Returns the current item in the sequence. More... | |
virtual xsInteger | position () const |
Returns the current position in the sequence represented by this. More... | |
Public Functions inherited from QAbstractXmlForwardIterator< T > | |
virtual qint64 | count () |
Determines the number of items this QAbstractXmlForwardIterator represents. More... | |
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< T >::Ptr | toReversed () |
Returns a reverse iterator for the sequence. 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... | |
Properties | |
const AccelTree::Depth | m_depth |
Iterates along the sibling axes in an AccelTree.
Definition at line 196 of file qacceliterators_p.h.
|
inline |
Definition at line 199 of file qacceliterators_p.h.
|
inlinevirtual |
Copies this QAbstractXmlForwardIterator and returns the copy.
A copy and the original instance are completely independent of each other. Because evaluating an QAbstractXmlForwardIterator modifies it, one should always use a copy when an QAbstractXmlForwardIterator needs to be used several times.
Reimplemented from QAbstractXmlForwardIterator< T >.
Definition at line 252 of file qacceliterators_p.h.
|
inlinevirtual |
Returns the next item in the sequence, or a null object if the end has been reached.
Implements QAbstractXmlForwardIterator< T >.
Definition at line 209 of file qacceliterators_p.h.
|
private |
Definition at line 258 of file qacceliterators_p.h.