libopie PIM API Documentation

ORecordListIterator< T > Class Template Reference

#include <orecordlist.h>

Collaboration diagram for ORecordListIterator< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef OTemplateBase< T > Base

Public Member Functions

 ORecordListIterator (const QArray< int >, const Base *)
 The c'tor used internally from ORecordList.

 ORecordListIterator ()
 The standard c'tor.

 ~ORecordListIterator ()
 ORecordListIterator (const ORecordListIterator &)
ORecordListIteratoroperator= (const ORecordListIterator &)
operator * ()
 a * operator ;) use it like this T = (*it);

ORecordListIteratoroperator++ ()
ORecordListIteratoroperator-- ()
bool operator== (const ORecordListIterator &it)
bool operator!= (const ORecordListIterator &it)
uint current () const
 the current item

uint count () const
 the number of items

void setCurrent (uint cur)
 sets the current item


Friends

class ORecordList< T >

template<class T = OPimRecord>
class ORecordListIterator< T >


Member Typedef Documentation

template<class T = OPimRecord>
typedef OTemplateBase<T> ORecordListIterator< T >::Base
 

Definition at line 23 of file orecordlist.h.

Referenced by ORecordListIterator< T >::ORecordListIterator().


Constructor & Destructor Documentation

template<class T>
ORecordListIterator< T >::ORecordListIterator const QArray< int ,
const Base
 

The c'tor used internally from ORecordList.

Definition at line 221 of file orecordlist.h.

References ORecordListIterator< T >::Base, and QArray::count().

template<class T>
ORecordListIterator< T >::ORecordListIterator  ) 
 

The standard c'tor.

Definition at line 133 of file orecordlist.h.

template<class T>
ORecordListIterator< T >::~ORecordListIterator  ) 
 

Definition at line 142 of file orecordlist.h.

template<class T>
ORecordListIterator< T >::ORecordListIterator const ORecordListIterator< T > &   ) 
 

Definition at line 147 of file orecordlist.h.

References ORecordListIterator< T >::m_current, ORecordListIterator< T >::m_direction, ORecordListIterator< T >::m_end, ORecordListIterator< T >::m_record, ORecordListIterator< T >::m_temp, and ORecordListIterator< T >::m_uids.


Member Function Documentation

template<class T>
ORecordListIterator< T > & ORecordListIterator< T >::operator= const ORecordListIterator< T > &   ) 
 

Definition at line 158 of file orecordlist.h.

References ORecordListIterator< T >::m_current, ORecordListIterator< T >::m_end, ORecordListIterator< T >::m_record, ORecordListIterator< T >::m_temp, and ORecordListIterator< T >::m_uids.

template<class T>
T ORecordListIterator< T >::operator *  ) 
 

a * operator ;) use it like this T = (*it);

Definition at line 169 of file orecordlist.h.

References OTemplateBase< T >::find().

template<class T>
ORecordListIterator< T > & ORecordListIterator< T >::operator++  ) 
 

Definition at line 182 of file orecordlist.h.

References QArray< int >::count().

template<class T>
ORecordListIterator< T > & ORecordListIterator< T >::operator--  ) 
 

Definition at line 193 of file orecordlist.h.

template<class T>
bool ORecordListIterator< T >::operator== const ORecordListIterator< T > &  it  ) 
 

Definition at line 205 of file orecordlist.h.

References ORecordListIterator< T >::m_current, ORecordListIterator< T >::m_end, ORecordListIterator< T >::m_temp, and ORecordListIterator< T >::m_uids.

template<class T>
bool ORecordListIterator< T >::operator!= const ORecordListIterator< T > &  it  ) 
 

Definition at line 217 of file orecordlist.h.

template<class T>
uint ORecordListIterator< T >::current  )  const
 

the current item

Definition at line 231 of file orecordlist.h.

template<class T>
uint ORecordListIterator< T >::count  )  const
 

the number of items

Definition at line 242 of file orecordlist.h.

template<class T>
void ORecordListIterator< T >::setCurrent uint  cur  ) 
 

sets the current item

Definition at line 235 of file orecordlist.h.

References QArray< int >::count().


Friends And Related Function Documentation

template<class T = OPimRecord>
friend class ORecordList< T > [friend]
 

Definition at line 21 of file orecordlist.h.


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:26:25 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001