COpenFontSessionCache Class Reference

class COpenFontSessionCache

A glyph cache for a particular session. Because session caches are not shared they can shrink as well as grow.

Constructor & Destructor Documentation

COpenFontSessionCache(TInt)

COpenFontSessionCache ( TInt aSessionHandle ) [private]

Parameters

TInt aSessionHandle

~COpenFontSessionCache()

~COpenFontSessionCache ( ) [private]

Member Functions Documentation

Delete(RHeap *)

void Delete ( RHeap * aHeap )

Parameters

RHeap * aHeap

Glyph(const COpenFont *, TInt, TInt &)

const COpenFontGlyph * Glyph ( const COpenFont * aFont,
TInt aCode,
TInt & aIndex
)

Parameters

const COpenFont * aFont
TInt aCode
TInt & aIndex

Insert(RHeap *, COpenFontSessionCacheEntry *, TInt)

void Insert ( RHeap * aHeap,
COpenFontSessionCacheEntry * aEntry,
TInt aIndex
)

Parameters

RHeap * aHeap
COpenFontSessionCacheEntry * aEntry
TInt aIndex

NewL(RHeap *, TInt, TInt)

COpenFontSessionCache * NewL ( RHeap * aHeap,
TInt aSessionHandle,
TInt aEntries
) [static]

Parameters

RHeap * aHeap
TInt aSessionHandle
TInt aEntries

SessionHandle()

TInt SessionHandle ( ) [inline]

Member Data Documentation

ROffsetArray< COpenFontSessionCacheEntry > iEntryArray

ROffsetArray < COpenFontSessionCacheEntry > iEntryArray

TInt iLastAccess

TInt iLastAccess

TInt iSessionHandle

TInt iSessionHandle