Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: S32PAGE.H
Link against: estor.lib

Class CPageCache

class CPageCache : public CBase;

Description

Provides a cache for page pools.

Persistent page pools rely on a cache to provide in-memory space for their pages and to cache frequently accessed pages.

Derivation

Members

Defined in CPageCache:
CPageCache(), ConstructL(), EDefaultPages, NewL(), NewLC(), anonymous, ~CPageCache()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CPageCache *NewL(TInt aPages=EDefaultPages);

Description

Allocates and constructs a new page cache.

Parameters

TInt aPages

Number of pages in the cache

Return value

CPageCache *

New page cache object


NewLC()

static IMPORT_C CPageCache *NewLC(TInt aPages=EDefaultPages);

Description

Allocates and constructs a new page cache, and leaves it on the cleanup stack.

Parameters

TInt aPages

Number of pages in the cache

Return value

CPageCache *

New page cache object


CPageCache()

IMPORT_C CPageCache();

Description

Default constructor.


ConstructL()

IMPORT_C void ConstructL(TInt aPages=EDefaultPages);

Description

Second phase construction.

Parameters

TInt aPages

Number of pages in the cache


~CPageCache()

IMPORT_C ~CPageCache();

Description

Destructor.

All cache pages are deleted.

[Top]


Member enumerations


Enum anonymous

n/a

Description

EDefaultPages