| class CAgnSimpleEntryAllocator : public CBase | 
Class for controlling the allocation and deletion of simple entries. These are created in a paged area of memory to prevent too much RAM defragmentation when there are 1000s of entries in the indexes on the server. CAgnSimpleEntrys are pre-allocated in blocks of KMemPageSize entries
| Public Member Functions | |
|---|---|
| CAgnSimpleEntryAllocator() | |
| ~CAgnSimpleEntryAllocator() | |
| IMPORT_C CAgnSimpleEntry * | CreateSimpleEntryL(CCalEntry::TType, const CAgnSimpleEntry *) | 
| IMPORT_C void | Delete(CAgnSimpleEntry *) | 
| Private Member Functions | |
|---|---|
| void | DeleteMemPage(CAgnMemPage *) | 
| CAgnSimpleEntry * | NewSimpleEntryL(TUint) | 
| Private Attributes | |
|---|---|
| TInt | iCount | 
| CAgnMemPage * | iHeadPage | 
| IMPORT_C CAgnSimpleEntry * | CreateSimpleEntryL | ( | CCalEntry::TType | aType, | 
| const CAgnSimpleEntry * | aEntry = NULL | |||
| ) | ||||
| CCalEntry::TType aType | |
| const CAgnSimpleEntry * aEntry = NULL | 
| IMPORT_C void | Delete | ( | CAgnSimpleEntry * | aEntry | ) | 
| CAgnSimpleEntry * aEntry | 
| void | DeleteMemPage | ( | CAgnMemPage * | aPage | ) | [private] | 
| CAgnMemPage * aPage |