Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: S32STOR.H
Link against: estor.lib

Class TStorePagePoolToken

class TStorePagePoolToken;

Description

Persistent settings to use for a RStorePagePool.

Members

Defined in TStorePagePoolToken:
EEmpty, ExternalizeL(), HasAvailable(), InternalizeL(), IsEmpty(), TEmpty, TStorePagePoolToken(), TStorePagePoolToken(), Touch()

See also:


Construction and destruction


TStorePagePoolToken()

inline TStorePagePoolToken();

Description

Default constructor.


TStorePagePoolToken()

inline TStorePagePoolToken(TEmpty);

Description

Constructor that intialises the TStorePagePoolToken for an empty page pool.

Parameters

TEmpty

[Top]


Member functions


Touch()

inline void Touch();

Description

Sets the available pages to 0.


HasAvailable()

inline TBool HasAvailable() const;

Description

Tests if there is a free page in the pool.

Return value

TBool

True if there is a free page in the pool, otherwise false


IsEmpty()

inline TBool IsEmpty() const;

Description

Tests if the page pool is empty.

Return value

TBool

True if the page pool is empty, otherwise false.


ExternalizeL()

IMPORT_C void ExternalizeL(RWriteStream &aStream) const;

Description

Externalises a TStorePagePoolToken object to a stream.

Parameters

RWriteStream &aStream

Stream to which the object should be externalised


InternalizeL()

IMPORT_C void InternalizeL(RReadStream &aStream);

Description

Internalises a TStorePagePoolToken object from a stream.

Parameters

RReadStream &aStream

Stream from which the object should be internalised

[Top]


Member enumerations


Enum TEmpty

TEmpty

Description

Initialise for an empty page pool flag.

EEmpty