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

CL_IntegerResource Class Reference

#include <resourcetype_integer.h>

Inheritance diagram for CL_IntegerResource:

Inheritance graph
[legend]
Collaboration diagram for CL_IntegerResource:

Collaboration graph
[legend]
List of all members.

Public Methods

 CL_IntegerResource (std::string name, int value)
 CL_IntegerResource (std::string name, std::string location, CL_ResourceOptions *options, CL_ResourceManager *parent)
 CL_IntegerResource (std::string name, CL_ResourceManager *parent)
int get_value () const
virtual void load ()
virtual void unload ()
virtual int get_load_count ()
virtual void serialize_save (CL_OutputSource *output)

Private Attributes

int value
int load_count

Constructor & Destructor Documentation

CL_IntegerResource::CL_IntegerResource ( std::string name,
int value ) [inline]
 

Definition at line 53 of file resourcetype_integer.h.

CL_IntegerResource::CL_IntegerResource ( std::string name,
std::string location,
CL_ResourceOptions * options,
CL_ResourceManager * parent ) [inline]
 

Definition at line 62 of file resourcetype_integer.h.

CL_IntegerResource::CL_IntegerResource ( std::string name,
CL_ResourceManager * parent ) [inline]
 

Definition at line 75 of file resourcetype_integer.h.


Member Function Documentation

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

Reimplemented from CL_Resource.

Definition at line 93 of file resourcetype_integer.h.

int CL_IntegerResource::get_value ( ) const [inline]
 

Definition at line 89 of file resourcetype_integer.h.

void CL_IntegerResource::load ( ) [inline, virtual]
 

Reimplemented from CL_Resource.

Definition at line 91 of file resourcetype_integer.h.

void CL_IntegerResource::serialize_save ( CL_OutputSource * output ) [inline, virtual]
 

Reimplemented from CL_Resource.

Definition at line 95 of file resourcetype_integer.h.

void CL_IntegerResource::unload ( ) [inline, virtual]
 

Reimplemented from CL_Resource.

Definition at line 92 of file resourcetype_integer.h.


Member Data Documentation

int CL_IntegerResource::load_count [private]
 

Definition at line 102 of file resourcetype_integer.h.

int CL_IntegerResource::value [private]
 

Definition at line 101 of file resourcetype_integer.h.


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