Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ORecordList< T > Class Template Reference

#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/orecordlist.h>

List of all members.

Public Types

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

Public Member Functions

 ORecordList ()
 ORecordList (const QArray< int > &ids, const Base *)
 ~ORecordList ()
Iterator begin ()
Iterator end ()
uint count () const
operator[] (uint i)
int uidAt (uint i)
bool remove (int uid)

Private Attributes

QArray< int > m_ids
const Basem_acc
ORecordListPrivate * d


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.

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

Definition at line 87 of file orecordlist.h.


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.

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 >::m_acc, and ORecordList< T >::m_ids.

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

the number of items in the list

Definition at line 269 of file orecordlist.h.

References ORecordList< T >::m_ids.

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

the end

Definition at line 261 of file orecordlist.h.

References ORecordList< T >::m_acc, ORecordListIterator< T >::m_current, ORecordListIterator< T >::m_end, and ORecordList< T >::m_ids.

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

Definition at line 273 of file orecordlist.h.

References OTemplateBase< T >::find(), ORecordList< T >::m_acc, and ORecordList< T >::m_ids.

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

Remove the contact with given uid

Definition at line 285 of file orecordlist.h.

References i, and ORecordList< T >::m_ids.

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

Definition at line 280 of file orecordlist.h.

References ORecordList< T >::m_ids.


Member Data Documentation

template<class T = OPimRecord>
ORecordListPrivate* ORecordList< T >::d [private]
 

Definition at line 128 of file orecordlist.h.

template<class T = OPimRecord>
const Base* ORecordList< T >::m_acc [private]
 

Definition at line 127 of file orecordlist.h.

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

template<class T = OPimRecord>
QArray<int> ORecordList< T >::m_ids [private]
 

Definition at line 126 of file orecordlist.h.

Referenced by ORecordList< T >::begin(), ORecordList< T >::count(), ORecordList< T >::end(), ORecordList< T >::operator[](), ORecordList< T >::remove(), and ORecordList< T >::uidAt().


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:43:29 2005 for OPIE by  doxygen 1.4.2