RStringPool Class Reference
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.
Constructor & Destructor Documentation
Member Functions Documentation
Close()
Closes the string pool table.
This invalidates all other handles to the table.
OpenFStringL(const TDesC8 &)
Creates an RStringF using the current string pool.
The string is opened as case-insensitive.
-
leave
- KErrNoMemory Not enough memory to open the string
Parameters
const TDesC8 & aString | The value of the string. |
OpenL()
Implementation of RStringPool class Creates an initialised string pool with no pre-loaded string tables.
-
leave
- KErrNoMemory Not enough memory to open the pool
OpenL(const TStringTable &)
Creates an initialised string pool with a pre-loaded string table.
-
leave
- KErrNoMemory Not enough memory to open the pool
OpenL(const TStringTable &, MStringPoolCloseCallBack &)
Creates an initialised string pool with a pre-loaded string table, and a string-pool-closing callback.
-
leave
- KErrNoMemory Not enough memory to open the pool
OpenStringL(const TDesC8 &)
Creates an RString using the current string pool.
The string is opened as case-sensitive.
-
leave
- KErrNoMemory Not enough memory to open the string
Parameters
const TDesC8 & aString | The value of the string. |
String(TInt, const TStringTable &)
Gets a case-sensitive string specified by a string table enumeration value.
aIndex is interpreted as an offset into the handle's pre-loaded string table.
-
panic
- EStringTableNotFound If the table supplied is not found. This panic is raised in debug builds only, in release mode the behaviour is undefined
Parameters
TInt aIndex | The string table enumeration value |
const TStringTable & aTable | The string table from which to read the string |
StringF(TInt, const TStringTable &)
Gets a case-insensitive string specified by a string table enumeration value.
Creates an RStringF from a string table enumeration value.
aIndex is interpreted as an offset into the handle's pre-loaded string table.
-
panic
- EStringTableNotFound If the table supplied is not found. This panic is raised in debug builds only, in release mode the behaviour is undefined
Parameters
TInt aIndex | The string table enumeration value |
const TStringTable & aTable | The string table from which to read the string |
Member Data Documentation
CStringPoolImplementation * iImplementation
CStringPoolImplementation * | iImplementation | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.