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

CL_Res_Raw Class Reference

res_type: rawres_desc: The Raw resource is used to read raw data from a resourcefile. More...

#include <resourcetype_raw.h>

Inheritance diagram for CL_Res_Raw:

Inheritance graph
[legend]
Collaboration diagram for CL_Res_Raw:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_Res_Raw ()
 param: res_id - The id of the resource.param: manager - The resource manager to get the resource from.retval: A buffer containing the data.


Static Public Methods

std::vector<unsigned char>* load (std::string res_id, CL_ResourceManager *manager)

Private Methods

virtual CL_Resourcecreate_from_location (std::string name, std::string location, CL_ResourceOptions *options, CL_ResourceManager *parent)
virtual CL_Resourcecreate_from_serialization (std::string name, CL_ResourceManager *parent)

Private Attributes

friend CL_ResourceManager

Detailed Description

res_type: rawres_desc: The Raw resource is used to read raw data from a resourcefile.

Definition at line 16 of file resourcetype_raw.h.


Constructor & Destructor Documentation

CL_Res_Raw::CL_Res_Raw ( )
 

param: res_id - The id of the resource.param: manager - The resource manager to get the resource from.retval: A buffer containing the data.


Member Function Documentation

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

Reimplemented from CL_ResourceType.

virtual CL_Resource* CL_Res_Raw::create_from_serialization ( std::string name,
CL_ResourceManager * parent ) [private, virtual]
 

Reimplemented from CL_ResourceType.

std::vector<unsigned char>* CL_Res_Raw::load ( std::string res_id,
CL_ResourceManager * manager ) [static]
 


Member Data Documentation

friend CL_Res_Raw::CL_ResourceManager [private]
 

Definition at line 50 of file resourcetype_raw.h.


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