#include </home/clem/local/src/opie/libopie2/opiepim/core/opimtemplatebase.h>
Inheritance diagram for Opie::OTemplateBase< T >:


Public Types | |
| enum | CacheDirection { Forward = 0, Reverse } |
Public Member Functions | |
| OTemplateBase () | |
| virtual | ~OTemplateBase () |
| virtual T | find (int uid) const =0 |
| virtual T | find (int uid, const QArray< int > &items, uint current, CacheDirection dir=Forward) const =0 |
| virtual void | cache (const T &) const =0 |
| virtual void | setSaneCacheSize (int)=0 |
| OPimRecord * | record () const |
| OPimRecord * | record (int uid) const |
Static Public Member Functions | |
| static T * | rec () |
Private Attributes | |
| OTemplateBasePrivate * | d |
|
|||||
|
The Direction for ReadAhead/ReadBehind which will be used by the backends to Cache Items in advance. For example if you know that you will access the next ten items you can give the backend a hint to read ahead or read before. Definition at line 184 of file opimtemplatebase.h. |
|
|||||||||
|
Definition at line 191 of file opimtemplatebase.h. |
|
|||||||||
|
Definition at line 192 of file opimtemplatebase.h. |
|
||||||||||
|
Put element into Cache Implemented in Opie::OPimAccessTemplate< T >, Opie::OPimAccessTemplate< OPimEvent >, Opie::OPimAccessTemplate< OPimContact >, and Opie::OPimAccessTemplate< OPimTodo >. Referenced by Opie::OPimAccessBackend< T >::cache(). |
|
||||||||||||||||||||||||
|
read ahead find |
|
||||||||||
|
Referenced by Opie::OPimRecordListIterator< T >::operator *(), Opie::OPimRecordList< T >::operator[](), and Opie::OTemplateBase< T >::record(). |
|
|||||||||
|
Definition at line 237 of file opimtemplatebase.h. |
|
||||||||||
|
Implements Opie::OPimBase. Definition at line 229 of file opimtemplatebase.h. References Opie::OTemplateBase< T >::find(). |
|
|||||||||
|
Implements Opie::OPimBase. Definition at line 224 of file opimtemplatebase.h. References t. |
|
||||||||||
|
|||||
|
Reimplemented from Opie::OPimBase. Reimplemented in Opie::OPimContactAccess, Opie::ODateBookAccess, Opie::OPimAccessTemplate< T >, Opie::OPimTodoAccess, Opie::OPimAccessTemplate< OPimEvent >, Opie::OPimAccessTemplate< OPimContact >, and Opie::OPimAccessTemplate< OPimTodo >. Definition at line 219 of file opimtemplatebase.h. |
1.4.2