Location:
apamdr.h
Link against: apparc.lib
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).
CBase
- Base class for all classes to be instantiated on the heap
CApaModelHeader
- An interface class that acts as a wrapper for an application model
Defined in CApaModelHeader
:
AppId()
, CApaModelHeader()
, DetachFromStoreL()
, Reserved_1()
, Reserved_2()
, StoreL()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
virtual void StoreL(CStreamStore &aStore, CStreamDictionary &aDict) const=0;
Stores the model and its components in the specified store.
|
virtual TApaAppIdentifier AppId() const=0;
Gets the identity of the application associated with the application model.
|
virtual void DetachFromStoreL(CPicture::TDetach aDegree)=0;
Restores the model to the specified degree.
An implementation of this function should propagate this call to all components of the model.
|
private: virtual IMPORT_C void Reserved_2();
Reserved for future use