libopie PIM API Documentation

ORecordList< T > Class Template Reference

The recordlist used as a return type from OPimAccessTemplate. More...

#include <orecordlist.h>

Collaboration diagram for ORecordList< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef OTemplateBase< T > Base
typedef ORecordListIterator<
T > 
Iterator

Public Member Functions

 ORecordList ()
 c'tor

 ORecordList (const QArray< int > &ids, const Base *)
 ~ORecordList ()
Iterator begin ()
 the first iterator

Iterator end ()
 the end

uint count () const
 the number of items in the list

operator[] (uint i)
int uidAt (uint i)
bool remove (int uid)
 Remove the contact with given uid.


Detailed Description

template<class T = OPimRecord>
class ORecordList< T >

The recordlist used as a return type from OPimAccessTemplate.

Definition at line 84 of file orecordlist.h.


Member Typedef Documentation

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

Definition at line 86 of file orecordlist.h.

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

template<class T = OPimRecord>
typedef ORecordListIterator<T> ORecordList< T >::Iterator
 

Definition at line 87 of file orecordlist.h.

Referenced by ORecordList< T >::begin(), and ORecordList< T >::end().


Constructor & Destructor Documentation

template<class T = OPimRecord>
ORecordList< T >::ORecordList  )  [inline]
 

c'tor

Definition at line 92 of file orecordlist.h.

template<class T>
ORecordList< T >::ORecordList const QArray< int > &  ids,
const Base
 

Definition at line 246 of file orecordlist.h.

References ORecordList< T >::Base.

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

Definition at line 252 of file orecordlist.h.


Member Function Documentation

template<class T>
ORecordList< T >::Iterator ORecordList< T >::begin  ) 
 

the first iterator

Definition at line 256 of file orecordlist.h.

References ORecordList< T >::Iterator.

template<class T>
ORecordList< T >::Iterator ORecordList< T >::end  ) 
 

the end

Definition at line 261 of file orecordlist.h.

References QArray< int >::count(), ORecordList< T >::Iterator, ORecordListIterator< T >::m_current, and ORecordListIterator< T >::m_end.

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

the number of items in the list

Definition at line 269 of file orecordlist.h.

template<class T>
T ORecordList< T >::operator[] uint  i  ) 
 

Definition at line 273 of file orecordlist.h.

References QArray< int >::count(), and OTemplateBase< T >::find().

template<class T>
int ORecordList< T >::uidAt uint  i  ) 
 

Definition at line 280 of file orecordlist.h.

template<class T>
bool ORecordList< T >::remove int  uid  ) 
 

Remove the contact with given uid.

Definition at line 285 of file orecordlist.h.

References QArray< int >::count(), and QArray::resize().


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:24 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001