Keos::ILoader< T > Class Template Reference

Base class for the loaders. More...

#include <KeosLoader.h>

Inheritance diagram for Keos::ILoader< T >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ILoader ()
 Destructor.
virtual T * LoadFromFile (const String &strFilename)
 Load a T object from a file.
virtual void SaveToFile (const T *pObject, const String &strFilename)
 Save a T object into a file.

Protected Member Functions

 ILoader ()
 Protected constructor --> abstract class.

Detailed Description

template<class T>
class Keos::ILoader< T >

Base class for the loaders.

Definition at line 33 of file KeosLoader.h.


Constructor & Destructor Documentation

template<class T>
virtual Keos::ILoader< T >::~ILoader (  )  [inline, virtual]

Destructor.

Definition at line 39 of file KeosLoader.h.

template<class T>
Keos::ILoader< T >::ILoader (  )  [inline, protected]

Protected constructor --> abstract class.

Definition at line 66 of file KeosLoader.h.


Member Function Documentation

template<class T>
virtual T* Keos::ILoader< T >::LoadFromFile ( const String strFilename  )  [inline, virtual]

Load a T object from a file.

Parameters:
strFilename Name of the file.
Returns:
Pointer on the object T.

Reimplemented in Keos::C3DSLoader, Keos::CImagesLoader, Keos::CMD2AnimatedLoader, Keos::CMD2Loader, Keos::CMDLQ1AnimatedLoader, Keos::CMDLQ1Loader, and Keos::CShadersLoader.

Definition at line 46 of file KeosLoader.h.

template<class T>
virtual void Keos::ILoader< T >::SaveToFile ( const T *  pObject,
const String strFilename 
) [inline, virtual]

Save a T object into a file.

Parameters:
pObject Object to be saved.
strFilename Name of the file.

Definition at line 56 of file KeosLoader.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 9 14:29:24 2007 for Keos by  doxygen 1.5.1-p1