CStoreMap Class Reference

class CStoreMap : public CBase

Store map used when externalising swizzled in-memory objects.

It has three main characteristics:

it acts as an in-memory repository of stream ids and associated swizzles

it acts as an externaliser for swizzles

it offers cleanup support

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CStoreMap(CStreamStore &)

IMPORT_CCStoreMap(CStreamStore &aStore)

Parameters

CStreamStore & aStore

~CStoreMap()

IMPORT_C~CStoreMap()

Member Functions Documentation

At(TSwizzleC< TAny >)

IMPORT_C TStreamIdAt(TSwizzleC< TAny >aSwizzle)const

Parameters

TSwizzleC< TAny > aSwizzle

Begin()

IMPORT_C TIteratorBegin()const

BindL(TSwizzleC< TAny >, TStreamId)

IMPORT_C voidBindL(TSwizzleC< TAny >aSwizzle,
TStreamIdanId
)

Parameters

TSwizzleC< TAny > aSwizzle
TStreamId anId

End()

IMPORT_C TIteratorEnd()const

ExternalizeL(const TStreamRef &, RWriteStream &)

voidExternalizeL(const TStreamRef &aRef,
RWriteStream &aStream
)const [private]

Parameters

const TStreamRef & aRef
RWriteStream & aStream

Forget(TStreamId)

IMPORT_C voidForget(TStreamIdanId)

Parameters

TStreamId anId

Label(TStreamId)

IMPORT_C TSwizzleC< TAny >Label(TStreamIdanId)const

Parameters

TStreamId anId

NewL(CStreamStore &)

IMPORT_C CStoreMap *NewL(CStreamStore &aStore)[static]

Parameters

CStreamStore & aStore

NewLC(CStreamStore &)

IMPORT_C CStoreMap *NewLC(CStreamStore &aStore)[static]

Parameters

CStreamStore & aStore

Reset()

IMPORT_C voidReset()

ResetAndDestroy()

IMPORT_C voidResetAndDestroy()

Unbind(TSwizzleC< TAny >)

IMPORT_C voidUnbind(TSwizzleC< TAny >aSwizzle)

Parameters

TSwizzleC< TAny > aSwizzle

Member Type Definitions Documentation

Typedef TIterator

typedef const TEntry *TIterator

Member Data Documentation

CArrayFixFlat< TEntry > iArray

CArrayFixFlat< TEntry >iArray[private]

TStreamId iFree

TStreamId iFree[private]

CStreamStore * iStore

CStreamStore *iStore[private]