CApaModelHeader Class Reference

class CApaModelHeader : public CBase

An interface class that acts as a wrapper for an application model.

This is also known as an application model header.

The class provides the knowledge for internalizing and externalizing an application model's data. An instance of the class is used by CApaModelDoor.

A concrete implementation of the class must be supplied by the application model (not the application UI). An instance of the class is constructed by a factory object that implements the MApaModelHeaderFactory interface; the factory object is also supplied by the application model (not the application UI).

CApaModelDoor

TApaModelDoorFactory

MApaModelHeaderFactory

Inherits from

Constructor & Destructor Documentation

CApaModelHeader()

IMPORT_CCApaModelHeader()[protected]

Constructor for CApaModelHeader

Member Functions Documentation

AppId()

TApaAppIdentifier AppId()const [pure virtual]

Gets the identity of the application associated with the application model.

The application identity.

DetachFromStoreL(CPicture::TDetach)

voidDetachFromStoreL(CPicture::TDetachaDegree)[pure virtual]

Restores the model to the specified degree.

An implementation of this function should propagate this call to all components of the model.

Parameters

CPicture::TDetach aDegreeThe degree to which restoration is needed.

Reserved_1()

IMPORT_C voidReserved_1()[private, virtual]

Reserved for future use

Reserved_2()

IMPORT_C voidReserved_2()[private, virtual]

Reserved for future use

StoreL(CStreamStore &, CStreamDictionary &)

voidStoreL(CStreamStore &aStore,
CStreamDictionary &aDict
)const [pure virtual]

Stores the model and its components in the specified store.

Parameters

CStreamStore & aStoreThe store in which the model's components are to be stored.
CStreamDictionary & aDictThe stream dictionary into which stream IDs and associated UIDs are put.

Member Data Documentation

TInt iCApaModelHeader_Reserved1

TInt iCApaModelHeader_Reserved1[private]