57 m_direction(direction),
58 m_increment(m_direction == Forward ? 1 : -1)
98 ret = m_start -
m_end;
RangeIterator(const xsInteger start, const Direction direction, const xsInteger end)
#define QT_END_NAMESPACE
This macro expands to.
The QExplicitlySharedDataPointer class represents a pointer to an explicitly shared object...
static Item fromValue(const xsInteger num)
QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< Item > > Ptr
A smart pointer wrapping an instance of a QAbstractXmlForwardIterator subclass.
const Direction m_direction
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual xsInteger count()
Determines the number of items this QAbstractXmlForwardIterator represents.
virtual Item::Iterator::Ptr copy() const
Copies this QAbstractXmlForwardIterator and returns the copy.
The namespace for the internal API of QtXmlPatterns.
void qSwap(T &value1, T &value2)
virtual Item current() const
Returns the current item in the sequence.
virtual Item::Iterator::Ptr toReversed()
Returns a reverse iterator for the sequence.
Represents an item in the XPath 2.0 Data Model.
virtual Item next()
Returns the next item in the sequence, or a null object if the end has been reached.
virtual xsInteger position() const
Returns the current position in the sequence represented by this.
static const KeyPair *const end
Qt::LayoutDirection direction