TStorePagePoolToken Class Reference

class TStorePagePoolToken

Persistent settings to use for a RStorePagePool .

RStorePagePool

Constructor & Destructor Documentation

TStorePagePoolToken()

TStorePagePoolToken ( ) [inline]

Default constructor.

TStorePagePoolToken(TEmpty)

TStorePagePoolToken ( TEmpty ) [inline]

Constructor that intialises the TStorePagePoolToken for an empty page pool.

Parameters

TEmpty

TStorePagePoolToken(TStreamId, TPageRef)

TStorePagePoolToken ( TStreamId aHead,
TPageRef anAvail
) [private, inline]

Parameters

TStreamId aHead
TPageRef anAvail

Member Functions Documentation

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aStream ) const

Parameters

RWriteStream & aStream

HasAvailable()

TBool HasAvailable ( ) const [inline]

Tests if there is a free page in the pool.

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( RReadStream & aStream )

Parameters

RReadStream & aStream

IsEmpty()

TBool IsEmpty ( ) const [inline]

Tests if the page pool is empty.

Touch()

void Touch ( ) [inline]

Sets the available pages to 0.

Member Enumerations Documentation

Enum TEmpty

Provides a TStorePagePoolToken initialisation flag. Initialise for an empty page pool flag.

Enumerators

EEmpty

Member Data Documentation

TPageRef iAvail

TPageRef iAvail [private]

TStreamId iHead

TStreamId iHead [private]