![]() |
Qt 4.8
|
Iterates along the child axis in an AccelTree.
More...
#include <qacceliterators_p.h>
Public Functions | |
| ChildIterator (const AccelTree *const doc, const AccelTree::PreNumber pre) | |
| 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... | |
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 child axis in an AccelTree.
Definition at line 156 of file qacceliterators_p.h.
|
inline |
pre must have at least one child.
Definition at line 162 of file qacceliterators_p.h.
|
virtual |
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 151 of file qacceliterators.cpp.
|
virtual |
Returns the next item in the sequence, or a null object if the end has been reached.
Implements QAbstractXmlForwardIterator< T >.
Definition at line 132 of file qacceliterators.cpp.
|
private |
Definition at line 187 of file qacceliterators_p.h.