Location:
sb32tree.h
Link against: estor.lib
CMemPagePool
Supported from 5.0
Uses memory to implement the MPagePool
page pool interface.
The class allocates pages from the default heap, storing them in an array. This pool is not persistent.
|
Defined in CMemPagePool
:
AcquireL()
, AllocL()
, AssignL()
, CMemPagePool()
, LockL()
, NewL()
, NewLC()
, Unlock()
, UpdateL()
, ~CMemPagePool()
Inherited from CBase
:
operator new()
Inherited from MPagePool
:
Delete()
,
DeleteL()
,
Pop()
,
PushL()
static CMemPagePool* NewL();
Allocates and constructs a new CMemPagePool
object.
|
static CMemPagePool* NewLC();
Allocates and constructs a new CMemPagePool
object, and leaves it on the cleanup stack.
|
TPageAbandonFunction AcquireL();
For memory-based pools, there is no need to abandon pages, so the function returned does nothing.
|
TAny* AllocL();
Allocates a new unassigned page.
|
TPageRef AssignL(const TAny* aPage,TPageReclamation aReclamation=EPageDeleteOnly);
Assigns a reference to a new page.
|
|
TAny* LockL(TPageRef aRef);
Returns a pointer to a specified page.
|
|
void Unlock(const TAny* aPage,TPageChange aChange=EPageNoChange);
Memory-based pages do not need to be unlocked, so this function is implemented to do nothing.
|
void UpdateL(const TAny* aPage);
Memory-based pages do not need to be unpdated, so this function is implemented to do nothing.
|