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
Public Member Functions | |
---|---|
CStoreMap(CStreamStore &) | |
~CStoreMap() | |
IMPORT_C TStreamId | At(TSwizzleC< TAny >) |
IMPORT_C TIterator | Begin() |
IMPORT_C void | BindL(TSwizzleC< TAny >, TStreamId) |
IMPORT_C TIterator | End() |
IMPORT_C void | Forget(TStreamId) |
IMPORT_C TSwizzleC< TAny > | Label(TStreamId) |
IMPORT_C CStoreMap * | NewL(CStreamStore &) |
IMPORT_C CStoreMap * | NewLC(CStreamStore &) |
IMPORT_C void | Reset() |
IMPORT_C void | ResetAndDestroy() |
IMPORT_C void | Unbind(TSwizzleC< TAny >) |
Private Member Functions | |
---|---|
void | ExternalizeL(const TStreamRef &, RWriteStream &) |
Public Member Type Definitions | |
---|---|
typedef | const TEntry * TIterator |
Private Attributes | |
---|---|
CArrayFixFlat< TEntry > | iArray |
TStreamId | iFree |
CStreamStore * | iStore |
void | ExternalizeL | ( | const TStreamRef & | aRef, |
RWriteStream & | aStream | |||
) | const [private] |
const TStreamRef & aRef | |
RWriteStream & aStream |
IMPORT_C CStoreMap * | NewL | ( | CStreamStore & | aStore | ) | [static] |
CStreamStore & aStore |
IMPORT_C CStoreMap * | NewLC | ( | CStreamStore & | aStore | ) | [static] |
CStreamStore & aStore |