Qt 4.8
Public Functions | Static Private Functions | Friends | List of all members
QPatternist::StringListIterator Class Reference
Inheritance diagram for QPatternist::StringListIterator:
QPatternist::ListIteratorPlatform< InputType, OutputType, Derived, ListType > QAbstractXmlForwardIterator< OutputType > QSharedData

Public Functions

 StringListIterator (const QStringList &list)
 
- Public Functions inherited from QPatternist::ListIteratorPlatform< InputType, OutputType, Derived, ListType >
virtual QAbstractXmlForwardIterator< OutputType >::Ptr copy () const
 Copies this QAbstractXmlForwardIterator and returns the copy. More...
 
virtual qint64 count ()
 Determines the number of items this QAbstractXmlForwardIterator represents. More...
 
virtual OutputType current () const
 Returns the current item in the sequence. More...
 
virtual OutputType next ()
 Returns the next item in the sequence, or a null object if the end has been reached. More...
 
virtual qint64 position () const
 Returns the current position in the sequence represented by this. More...
 
- Public Functions inherited from QAbstractXmlForwardIterator< OutputType >
virtual bool isEmpty ()
 Returns true if the sequence is empty. More...
 
virtual OutputType 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< OutputType > toList ()
 Performs a copy of this QAbstractXmlForwardIterator(with copy()), and returns its items in a QList. More...
 
virtual QAbstractXmlForwardIterator< OutputType >::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...
 

Static Private Functions

static Item inputToOutputItem (const QString &inputType)
 

Friends

class ListIteratorPlatform< QString, Item, StringListIterator >
 

Additional Inherited Members

- Public Types inherited from QAbstractXmlForwardIterator< OutputType >
typedef QList< QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< OutputType > > > List
 A QList containing QAbstractXmlForwardIterator::Ptr instances. More...
 
typedef QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< OutputType > > Ptr
 A smart pointer wrapping an instance of a QAbstractXmlForwardIterator subclass. More...
 
typedef QVector< QExplicitlySharedDataPointer< QAbstractXmlForwardIterator< OutputType > > > Vector
 A QVector containing QAbstractXmlForwardIterator::Ptr instances. More...
 
- Public Variables inherited from QSharedData
QAtomicInt ref
 
- Protected Functions inherited from QPatternist::ListIteratorPlatform< InputType, OutputType, Derived, ListType >
 ListIteratorPlatform (const ListType &list)
 Constructs a ListIteratorPlatform that walks the given list. More...
 
- Protected Variables inherited from QPatternist::ListIteratorPlatform< InputType, OutputType, Derived, ListType >
OutputType m_current
 
const ListType m_list
 
qint64 m_position
 

Detailed Description

Definition at line 77 of file qvariableloader.cpp.

Constructors and Destructors

◆ StringListIterator()

QPatternist::StringListIterator::StringListIterator ( const QStringList list)
inline

Functions

◆ inputToOutputItem()

static Item QPatternist::StringListIterator::inputToOutputItem ( const QString inputType)
inlinestaticprivate

Definition at line 87 of file qvariableloader.cpp.

88  {
89  return AtomicString::fromValue(inputType);
90  }
static AtomicString::Ptr fromValue(const QString &value)

Friends and Related Functions

◆ ListIteratorPlatform< QString, Item, StringListIterator >

Definition at line 85 of file qvariableloader.cpp.


The documentation for this class was generated from the following file: