52 #ifndef Patternist_SequenceMappingIterator_H 53 #define Patternist_SequenceMappingIterator_H 88 template<
typename TResult,
typename TSource,
typename TMapper>
104 virtual TResult
next();
106 virtual TResult
current()
const;
130 template<
typename TResult,
typename TSource,
typename TMapper>
132 const TMapper &mapper,
144 template<
typename TResult,
typename TSource,
typename TMapper>
180 template<
typename TResult,
typename TSource,
typename TMapper>
196 template<
typename TResult,
typename TSource,
typename TMapper>
202 template<
typename TResult,
typename TSource,
typename TMapper>
221 template<
typename TResult,
typename TSource,
typename TMapper>
229 (
new SequenceMappingIterator<TResult, TSource, TMapper>(mapper, source, context));
QAbstractXmlForwardIterator< TResult >::Ptr m_currentIterator
#define QT_END_NAMESPACE
This macro expands to.
virtual xsInteger position() const
Returns the current position in the sequence represented by this.
virtual QAbstractXmlForwardIterator< TResult >::Ptr copy() const
virtual xsInteger count()
Determines the number of items this QAbstractXmlForwardIterator represents.
SequenceMappingIterator(const TMapper &mapper, const typename QAbstractXmlForwardIterator< TSource >::Ptr &sourceIterator, const DynamicContext::Ptr &context)
QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< T > > Ptr
A smart pointer wrapping an instance of a QAbstractXmlForwardIterator subclass.
QAbstractXmlForwardIterator< TSource >::Ptr m_mainIterator
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual TResult next()
Returns the next item in the sequence, or a null object if the end has been reached.
The QAbstractXmlForwardIterator class is a base class for forward iterators.
The namespace for the internal API of QtXmlPatterns.
virtual qint64 count()
Determines the number of items this QAbstractXmlForwardIterator represents.
Proxies another QAbstractXmlForwardIterator, and for each item, returns the Sequence returned from a ...
virtual QAbstractXmlForwardIterator< T >::Ptr copy() const
Copies this QAbstractXmlForwardIterator and returns the copy.
bool qIsForwardIteratorEnd(const TResult &unit)
The Callback QAbstractXmlForwardIterator uses for determining whether unit is the end of a sequence...
virtual TResult current() const
Returns the current item in the sequence.
QExplicitlySharedDataPointer< DynamicContext > Ptr
static QAbstractXmlForwardIterator< TResult >::Ptr makeSequenceMappingIterator(const TMapper &mapper, const QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< TSource > > &source, const DynamicContext::Ptr &context)
An object generator for SequenceMappingIterator.
const DynamicContext::Ptr m_context
virtual T next()=0
Returns the next item in the sequence, or a null object if the end has been reached.