FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::IAtlasLoader Class Referenceabstract

#include <iatlasloader.h>

+ Inheritance diagram for FIFE::IAtlasLoader:
+ Collaboration diagram for FIFE::IAtlasLoader:

Public Member Functions

virtual ~IAtlasLoader ()
 
virtual bool isLoadable (const std::string &filename)=0
 determines whether the resource is in the correct format for this loader More...
 
virtual AtlasPtr load (const std::string &filename)=0
 responsible for loading the atlas returns a shared pointer to an image resource More...
 
virtual std::vector< AtlasPtrloadMultiple (const std::string &filename)=0
 responsible for loading the all atlases returns a vector of shared pointer to an image resource More...
 

Detailed Description

Definition at line 40 of file iatlasloader.h.

Constructor & Destructor Documentation

virtual FIFE::IAtlasLoader::~IAtlasLoader ( )
inlinevirtual

Definition at line 42 of file iatlasloader.h.

References isLoadable(), load(), and loadMultiple().

Member Function Documentation

virtual bool FIFE::IAtlasLoader::isLoadable ( const std::string &  filename)
pure virtual

determines whether the resource is in the correct format for this loader

Implemented in FIFE::AtlasLoader.

Referenced by FIFE::ObjectLoader::loadImportFile(), FIFE::MapLoader::loadImportFile(), and ~IAtlasLoader().

+ Here is the caller graph for this function:

virtual AtlasPtr FIFE::IAtlasLoader::load ( const std::string &  filename)
pure virtual

responsible for loading the atlas returns a shared pointer to an image resource

Implemented in FIFE::AtlasLoader.

Referenced by ~IAtlasLoader().

+ Here is the caller graph for this function:

virtual std::vector<AtlasPtr> FIFE::IAtlasLoader::loadMultiple ( const std::string &  filename)
pure virtual

responsible for loading the all atlases returns a vector of shared pointer to an image resource

Implemented in FIFE::AtlasLoader.

Referenced by FIFE::ObjectLoader::loadImportFile(), FIFE::MapLoader::loadImportFile(), and ~IAtlasLoader().

+ Here is the caller graph for this function:


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