RStringPool Class Reference

class RStringPool

The string pool handle object. A string pool can have several distinct handles associated with it, each associated with a different pre-loaded table. The difference between them is that creating a string from an enum will interpret the enum as an offset into the relevant pre-loaded table String pool handle.

A string pool can have several distinct handles associated with it, each associated with a different pre-loaded table. Creating a string from an enum value interprets the value as an offset into the relevant pre-loaded table.

Public Member Functions
RStringPool()
IMPORT_C voidClose()
IMPORT_C RStringFOpenFStringL(const TDesC8 &)
IMPORT_C voidOpenL()
IMPORT_C voidOpenL(const TStringTable &)
IMPORT_C voidOpenL(const TStringTable &, MStringPoolCloseCallBack &)
IMPORT_C RStringOpenStringL(const TDesC8 &)
IMPORT_C RStringString(RStringToken)
IMPORT_C RStringString(TInt, const TStringTable &)
IMPORT_C RStringFStringF(RStringTokenF)
IMPORT_C RStringFStringF(TInt, const TStringTable &)
Private Attributes
CStringPoolImplementation *iImplementation

Constructor & Destructor Documentation

RStringPool()

RStringPool()[inline]

Default constructor.

Member Functions Documentation

Close()

IMPORT_C voidClose()

OpenFStringL(const TDesC8 &)

IMPORT_C RStringFOpenFStringL(const TDesC8 &aString)const

Parameters

const TDesC8 & aString

OpenL()

IMPORT_C voidOpenL()

OpenL(const TStringTable &)

IMPORT_C voidOpenL(const TStringTable &aTable)

Parameters

const TStringTable & aTable

OpenL(const TStringTable &, MStringPoolCloseCallBack &)

IMPORT_C voidOpenL(const TStringTable &aTable,
MStringPoolCloseCallBack &aCallBack
)

Parameters

const TStringTable & aTable
MStringPoolCloseCallBack & aCallBack

OpenStringL(const TDesC8 &)

IMPORT_C RStringOpenStringL(const TDesC8 &aString)const

Parameters

const TDesC8 & aString

String(RStringToken)

IMPORT_C RStringString(RStringTokenaString)const

Parameters

RStringToken aString

String(TInt, const TStringTable &)

IMPORT_C RStringString(TIntaIndex,
const TStringTable &aTable
)const

Parameters

TInt aIndex
const TStringTable & aTable

StringF(RStringTokenF)

IMPORT_C RStringFStringF(RStringTokenFaString)const

Parameters

RStringTokenF aString

StringF(TInt, const TStringTable &)

IMPORT_C RStringFStringF(TIntaIndex,
const TStringTable &aTable
)const

Parameters

TInt aIndex
const TStringTable & aTable

Member Data Documentation

CStringPoolImplementation * iImplementation

CStringPoolImplementation *iImplementation[private]