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).
Public Member Functions | |
---|---|
TApaAppIdentifier | AppId () |
void | DetachFromStoreL ( CPicture::TDetach ) |
void | StoreL ( CStreamStore &, CStreamDictionary &) |
Protected Member Functions | |
---|---|
CApaModelHeader () |
Private Member Functions | |
---|---|
IMPORT_C void | Reserved_1 () |
IMPORT_C void | Reserved_2 () |
Private Attributes | |
---|---|
TInt | iCApaModelHeader_Reserved1 |
TApaAppIdentifier | AppId | ( | ) | const [pure virtual] |
Gets the identity of the application associated with the application model.
void | DetachFromStoreL | ( | CPicture::TDetach | aDegree | ) | [pure virtual] |
Restores the model to the specified degree.
An implementation of this function should propagate this call to all components of the model.
CPicture::TDetach aDegree | The degree to which restoration is needed. |
void | StoreL | ( | CStreamStore & | aStore, |
CStreamDictionary & | aDict | |||
) | const [pure virtual] |
Stores the model and its components in the specified store.
CStreamStore & aStore | The store in which the model's components are to be stored. |
CStreamDictionary & aDict | The stream dictionary into which stream IDs and associated UIDs are put. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.