FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::IMapSaver Class Referenceabstract

Interface class that all map savers should derive from. More...

#include <imapsaver.h>

+ Inheritance diagram for FIFE::IMapSaver:
+ Collaboration diagram for FIFE::IMapSaver:

Public Member Functions

virtual ~IMapSaver ()
 
virtual void setObjectSaver (const FIFE::ObjectSaverPtr &objectSaver)=0
 allows setting which object saver will be used to save object files More...
 
virtual void setAnimationSaver (const FIFE::AnimationSaverPtr &animationSaver)=0
 allows setting which animation saver will be used to save animation files More...
 
virtual void setAtlasSaver (const FIFE::AtlasSaverPtr &atlasSaver)=0
 allows setting which atlas saver will be used to save atlas files More...
 
virtual void save (const Map &map, const std::string &filename, const std::vector< std::string > &importFiles)=0
 responsible for saving the map resource used to save map files More...
 

Detailed Description

Interface class that all map savers should derive from.

Definition at line 43 of file imapsaver.h.

Constructor & Destructor Documentation

◆ ~IMapSaver()

virtual FIFE::IMapSaver::~IMapSaver ( )
inlinevirtual

Definition at line 45 of file imapsaver.h.

References save(), setAnimationSaver(), setAtlasSaver(), and setObjectSaver().

Member Function Documentation

◆ save()

virtual void FIFE::IMapSaver::save ( const Map map,
const std::string &  filename,
const std::vector< std::string > &  importFiles 
)
pure virtual

responsible for saving the map resource used to save map files

Implemented in FIFE::MapSaver.

Referenced by ~IMapSaver().

+ Here is the caller graph for this function:

◆ setAnimationSaver()

virtual void FIFE::IMapSaver::setAnimationSaver ( const FIFE::AnimationSaverPtr animationSaver)
pure virtual

allows setting which animation saver will be used to save animation files

Implemented in FIFE::MapSaver.

Referenced by ~IMapSaver().

+ Here is the caller graph for this function:

◆ setAtlasSaver()

virtual void FIFE::IMapSaver::setAtlasSaver ( const FIFE::AtlasSaverPtr atlasSaver)
pure virtual

allows setting which atlas saver will be used to save atlas files

Implemented in FIFE::MapSaver.

Referenced by ~IMapSaver().

+ Here is the caller graph for this function:

◆ setObjectSaver()

virtual void FIFE::IMapSaver::setObjectSaver ( const FIFE::ObjectSaverPtr objectSaver)
pure virtual

allows setting which object saver will be used to save object files

Implemented in FIFE::MapSaver.

Referenced by ~IMapSaver().

+ Here is the caller graph for this function:

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