Public Member Functions | List of all members
BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate > Class Template Reference

#include <baseiterator.h>

Inheritance diagram for BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >:
QListIterator< ElemImpl > QGListIterator

Public Member Functions

 BaseIteratorVia (const QList< ElemImpl > &list)
 
virtual ~BaseIteratorVia ()
 
virtual ElemIntf * toFirst ()
 
virtual ElemIntf * toLast ()
 
virtual ElemIntf * toNext ()
 
virtual ElemIntf * toPrev ()
 
virtual ElemIntf * current () const
 
virtual void release ()
 
- Public Member Functions inherited from QListIterator< ElemImpl >
 QListIterator (const QList< ElemImpl > &l)
 
 ~QListIterator ()
 
uint count () const
 
bool isEmpty () const
 
bool atFirst () const
 
bool atLast () const
 
ElemImpl * toFirst ()
 
ElemImpl * toLast ()
 
 operator ElemImpl * () const
 
ElemImpl * operator* ()
 
ElemImpl * current () const
 
ElemImpl * operator() ()
 
ElemImpl * operator++ ()
 
ElemImpl * operator+= (uint j)
 
ElemImpl * operator-- ()
 
ElemImpl * operator-= (uint j)
 
QListIterator< ElemImpl > & operator= (const QListIterator< ElemImpl > &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 Intf, class ElemIntf, class ElemImpl, class Intermediate>
class BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >

Definition at line 36 of file baseiterator.h.

Constructor & Destructor Documentation

template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::BaseIteratorVia ( const QList< ElemImpl > &  list)
inline

Definition at line 40 of file baseiterator.h.

template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::~BaseIteratorVia ( )
inlinevirtual

Definition at line 41 of file baseiterator.h.

41 {}

Member Function Documentation

template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual ElemIntf* BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::current ( ) const
inlinevirtual

Definition at line 46 of file baseiterator.h.

46 { return static_cast<Intermediate *>(QListIterator<ElemImpl>::current()); }
type * current() const
Definition: qlist.h:146
template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual void BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::release ( )
inlinevirtual

Definition at line 47 of file baseiterator.h.

47 { delete this; }
template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual ElemIntf* BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::toFirst ( )
inlinevirtual

Definition at line 42 of file baseiterator.h.

42 { return static_cast<Intermediate *>(QListIterator<ElemImpl>::toFirst()); }
type * toFirst()
Definition: qlist.h:135
template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual ElemIntf* BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::toLast ( )
inlinevirtual

Definition at line 43 of file baseiterator.h.

43 { return static_cast<Intermediate *>(QListIterator<ElemImpl>::toLast()); }
type * toLast()
Definition: qlist.h:136
template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual ElemIntf* BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::toNext ( )
inlinevirtual

Definition at line 44 of file baseiterator.h.

44 { return static_cast<Intermediate *>(QListIterator<ElemImpl>::operator++()); }
type * operator++()
Definition: qlist.h:148
template<class Intf, class ElemIntf, class ElemImpl, class Intermediate>
virtual ElemIntf* BaseIteratorVia< Intf, ElemIntf, ElemImpl, Intermediate >::toPrev ( )
inlinevirtual

Definition at line 45 of file baseiterator.h.

45 { return static_cast<Intermediate *>(QListIterator<ElemImpl>::operator--()); }
type * operator--()
Definition: qlist.h:150

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