Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_ResourceType Class Reference

#include <resourcetype.h>

Inheritance diagram for CL_ResourceType:

Inheritance graph
[legend]
Collaboration diagram for CL_ResourceType:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_ResourceType (std::string type)
virtual ~CL_ResourceType ()
virtual const std::string& get_type () const
virtual CL_Resourcecreate_from_location (std::string name, std::string location, CL_ResourceOptions *options, CL_ResourceManager *parent)=0
virtual CL_Resourcecreate_from_serialization (std::string name, CL_ResourceManager *parent)=0

Static Public Attributes

std::list<CL_ResourceType*> resource_types

Private Attributes

std::string type

Constructor & Destructor Documentation

CL_ResourceType::CL_ResourceType ( std::string type )
 

virtual CL_ResourceType::~CL_ResourceType ( ) [virtual]
 


Member Function Documentation

virtual CL_Resource* CL_ResourceType::create_from_location ( std::string name,
std::string location,
CL_ResourceOptions * options,
CL_ResourceManager * parent ) [pure virtual]
 

Reimplemented in CL_Res_Boolean, CL_Res_Integer, CL_Res_Raw, CL_Res_String, CL_Res_Surface, CL_Res_Font, CL_Res_Font_TTF, CL_Res_Module, and CL_Res_Sample.

virtual CL_Resource* CL_ResourceType::create_from_serialization ( std::string name,
CL_ResourceManager * parent ) [pure virtual]
 

Reimplemented in CL_Res_Boolean, CL_Res_Integer, CL_Res_Raw, CL_Res_String, CL_Res_Surface, CL_Res_Font, CL_Res_Font_TTF, CL_Res_Module, and CL_Res_Sample.

const std::string & CL_ResourceType::get_type ( ) const [inline, virtual]
 

Definition at line 32 of file resourcetype.h.


Member Data Documentation

std::list<CL_ResourceType*> CL_ResourceType::resource_types [static]
 

Definition at line 44 of file resourcetype.h.

std::string CL_ResourceType::type [private]
 

Definition at line 47 of file resourcetype.h.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:57:22 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001