| class CAttributeLookupTable : public CBase |
Provides an attribute lookup table, which maintains a global set of unique IDs to be defined for document node attributes and language tags.
It does this by generating a unique (in the scope of the lookup table object) ID for any string passed to it. Once a string has been seen once, any further references to it will map back to the same ID value.
| Public Member Functions | |
|---|---|
| ~CAttributeLookupTable() | |
| IMPORT_C void | Debug(TDebugSelectorType, TAny *, TAny *) |
| IMPORT_C const HBufC * | Des2IDL(const TDesC &) |
| IMPORT_C const HBufC * | KeyExists(const TDesC &) |
| IMPORT_C CAttributeLookupTable * | NewL() |
| IMPORT_C void | Reset() |
| Private Member Functions | |
|---|---|
| CAttributeLookupTable() | |
| void | ConstructL() |
| CAttributeLookupTableNode * | FindDes(const TDesC &) |
| TUint | Hash(const TDesC &) |
| Public Member Enumerations | |
|---|---|
| enum | TDebugSelectorType { EPrint, EPrintWholeTable } |
| Private Attributes | |
|---|---|
| CArrayPtrFlat< CArrayPtrSeg< CAttributeLookupTableNode > > * | iList |
| IMPORT_C void | Debug | ( | TDebugSelectorType | aSelector, |
| TAny * | aParam1, | |||
| TAny * | aParam2 | |||
| ) | ||||
| TDebugSelectorType aSelector | |
| TAny * aParam1 | |
| TAny * aParam2 |
| CAttributeLookupTableNode * | FindDes | ( | const TDesC & | ) | [private] |
| const TDesC & |
| CArrayPtrFlat< CArrayPtrSeg< CAttributeLookupTableNode > > * | iList | [private] |