Public Member Functions | List of all members
QListIterator< type > Class Template Reference

#include <qlist.h>

Inheritance diagram for QListIterator< type >:
QGListIterator

Public Member Functions

 QListIterator (const QList< type > &l)
 
 ~QListIterator ()
 
uint count () const
 
bool isEmpty () const
 
bool atFirst () const
 
bool atLast () const
 
typetoFirst ()
 
typetoLast ()
 
 operator type * () const
 
typeoperator* ()
 
typecurrent () const
 
typeoperator() ()
 
typeoperator++ ()
 
typeoperator+= (uint j)
 
typeoperator-- ()
 
typeoperator-= (uint j)
 
QListIterator< type > & operator= (const QListIterator< type > &it)
 

Additional Inherited Members

- Protected Member Functions inherited from QGListIterator
 QGListIterator (const QGList &)
 
 QGListIterator (const QGListIterator &)
 
QGListIteratoroperator= (const QGListIterator &)
 
 ~QGListIterator ()
 
bool atFirst () const
 
bool atLast () const
 
QCollection::Item toFirst ()
 
QCollection::Item toLast ()
 
QCollection::Item get () const
 
QCollection::Item operator() ()
 
QCollection::Item operator++ ()
 
QCollection::Item operator+= (uint)
 
QCollection::Item operator-- ()
 
QCollection::Item operator-= (uint)
 
- Protected Attributes inherited from QGListIterator
QGListlist
 

Detailed Description

template<class type>
class QListIterator< type >

Definition at line 126 of file qlist.h.

Constructor & Destructor Documentation

template<class type>
QListIterator< type >::QListIterator ( const QList< type > &  l)
inline

Definition at line 129 of file qlist.h.

129 :QGListIterator((QGList &)l) {}
QGListIterator(const QGList &)
Definition: qglist.cpp:1055
The QGList class is an internal class for implementing Qt collection classes.
Definition: qglist.h:68
template<class type>
QListIterator< type >::~QListIterator ( )
inline

Definition at line 130 of file qlist.h.

130 {}

Member Function Documentation

template<class type>
bool QListIterator< type >::atFirst ( ) const
inline

Definition at line 133 of file qlist.h.

133 { return QGListIterator::atFirst(); }
bool atFirst() const
Definition: qglist.h:241
template<class type>
bool QListIterator< type >::atLast ( ) const
inline

Definition at line 134 of file qlist.h.

134 { return QGListIterator::atLast(); }
bool atLast() const
Definition: qglist.h:246
template<class type>
uint QListIterator< type >::count ( ) const
inline

Definition at line 131 of file qlist.h.

131 { return list->count(); }
QGList * list
Definition: qglist.h:234
uint count() const
Definition: qglist.h:150
template<class type>
type* QListIterator< type >::current ( ) const
inline

Definition at line 146 of file qlist.h.

146 { return (type *)QGListIterator::get(); }
QCollection::Item get() const
Definition: qglist.h:251
template<class type>
bool QListIterator< type >::isEmpty ( ) const
inline

Definition at line 132 of file qlist.h.

132 { return list->count() == 0; }
QGList * list
Definition: qglist.h:234
uint count() const
Definition: qglist.h:150
template<class type>
QListIterator< type >::operator type * ( ) const
inline

Definition at line 137 of file qlist.h.

137 { return (type *)QGListIterator::get(); }
QCollection::Item get() const
Definition: qglist.h:251
template<class type>
type* QListIterator< type >::operator() ( )
inline

Definition at line 147 of file qlist.h.

147 { return (type *)QGListIterator::operator()();}
QCollection::Item operator()()
Definition: qglist.cpp:1166
template<class type>
type* QListIterator< type >::operator* ( )
inline

Definition at line 138 of file qlist.h.

138 { return (type *)QGListIterator::get(); }
QCollection::Item get() const
Definition: qglist.h:251
template<class type>
type* QListIterator< type >::operator++ ( )
inline

Definition at line 148 of file qlist.h.

148 { return (type *)QGListIterator::operator++(); }
QCollection::Item operator++()
Definition: qglist.cpp:1180
template<class type>
type* QListIterator< type >::operator+= ( uint  j)
inline

Definition at line 149 of file qlist.h.

149 { return (type *)QGListIterator::operator+=(j);}
QCollection::Item operator+=(uint)
Definition: qglist.cpp:1193
template<class type>
type* QListIterator< type >::operator-- ( )
inline

Definition at line 150 of file qlist.h.

150 { return (type *)QGListIterator::operator--(); }
QCollection::Item operator--()
Definition: qglist.cpp:1205
template<class type>
type* QListIterator< type >::operator-= ( uint  j)
inline

Definition at line 151 of file qlist.h.

151 { return (type *)QGListIterator::operator-=(j);}
QCollection::Item operator-=(uint)
Definition: qglist.cpp:1218
template<class type>
QListIterator<type>& QListIterator< type >::operator= ( const QListIterator< type > &  it)
inline

Definition at line 152 of file qlist.h.

153  { QGListIterator::operator=(it); return *this; }
QGListIterator & operator=(const QGListIterator &)
Definition: qglist.cpp:1085
template<class type>
type* QListIterator< type >::toFirst ( )
inline

Definition at line 135 of file qlist.h.

135 { return (type *)QGListIterator::toFirst(); }
QCollection::Item toFirst()
Definition: qglist.cpp:1126
template<class type>
type* QListIterator< type >::toLast ( )
inline

Definition at line 136 of file qlist.h.

136 { return (type *)QGListIterator::toLast(); }
QCollection::Item toLast()
Definition: qglist.cpp:1142

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