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

CL_RawResource Class Reference

#include <resourcetype_raw.h>

Inheritance diagram for CL_RawResource:

Inheritance graph
[legend]
Collaboration diagram for CL_RawResource:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_RawResource (std::string name, std::string location, CL_ResourceOptions *options, CL_ResourceManager *parent)
 CL_RawResource (std::string name, CL_ResourceManager *parent)
std::vector<unsigned char>* get_value ()
virtual void load ()
virtual void unload ()
virtual int get_load_count ()
virtual void serialize_save (CL_OutputSource *output)

Private Methods

void load_from_datafile ()
void load_from_file ()

Private Attributes

std::vector<unsigned char>* value
CL_String location
CL_ResourceManagerparent
bool from_datafile
int load_count

Constructor & Destructor Documentation

CL_RawResource::CL_RawResource ( std::string name,
std::string location,
CL_ResourceOptions * options,
CL_ResourceManager * parent )
 

CL_RawResource::CL_RawResource ( std::string name,
CL_ResourceManager * parent )
 


Member Function Documentation

int CL_RawResource::get_load_count ( ) [inline, virtual]
 

Reimplemented from CL_Resource.

Definition at line 79 of file resourcetype_raw.h.

std::vector<unsigned char>* CL_RawResource::get_value ( )
 

virtual void CL_RawResource::load ( ) [virtual]
 

Reimplemented from CL_Resource.

void CL_RawResource::load_from_datafile ( ) [private]
 

void CL_RawResource::load_from_file ( ) [private]
 

virtual void CL_RawResource::serialize_save ( CL_OutputSource * output ) [virtual]
 

Reimplemented from CL_Resource.

virtual void CL_RawResource::unload ( ) [virtual]
 

Reimplemented from CL_Resource.


Member Data Documentation

bool CL_RawResource::from_datafile [private]
 

Definition at line 90 of file resourcetype_raw.h.

int CL_RawResource::load_count [private]
 

Definition at line 91 of file resourcetype_raw.h.

CL_String CL_RawResource::location [private]
 

Definition at line 88 of file resourcetype_raw.h.

CL_ResourceManager* CL_RawResource::parent [private]
 

Definition at line 89 of file resourcetype_raw.h.

std::vector<unsigned char>* CL_RawResource::value [private]
 

Definition at line 86 of file resourcetype_raw.h.


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