libs/flake

KoDataCenter Class Reference

The data center is for now just a sort of void pointer. More...

#include <KoDataCenter.h>

Inheritance diagram for KoDataCenter:

List of all members.

Public Member Functions

 KoDataCenter ()
virtual ~KoDataCenter ()
virtual bool completeLoading (KoStore *store)=0
virtual bool completeSaving (KoStore *store, KoXmlWriter *manifestWriter, KoShapeSavingContext *context)=0

Detailed Description

The data center is for now just a sort of void pointer.

The data centers can be stuff like image collection, or stylemanager. This abstraction is done so that shapes can get access to any possible type of data center. The KoShapeControllerBase has a method that returns a map of data centers

Definition at line 40 of file KoDataCenter.h.


Constructor & Destructor Documentation

KoDataCenter::KoDataCenter (  )  [inline]

Definition at line 43 of file KoDataCenter.h.

virtual KoDataCenter::~KoDataCenter (  )  [inline, virtual]

Definition at line 44 of file KoDataCenter.h.


Member Function Documentation

virtual bool KoDataCenter::completeLoading ( KoStore *  store  )  [pure virtual]

Load any remaining binary blobs needed.

Returns:
false if an error occurred, which typically cancels the load.

Implemented in KoImageCollection.

virtual bool KoDataCenter::completeSaving ( KoStore *  store,
KoXmlWriter *  manifestWriter,
KoShapeSavingContext context 
) [pure virtual]

Save any remaining binary blobs.

Returns:
false if an error occurred, which typically cancels the save.

Implemented in KoImageCollection.


The documentation for this class was generated from the following file: