FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
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

◆ ~IAtlasLoader()

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

Definition at line 42 of file iatlasloader.h.

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

Member Function Documentation

◆ isLoadable()

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:

◆ load()

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:

◆ loadMultiple()

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: