Reference

CL_Resource(3)

Interface representing a resource in the resource manager.

NAME

CL_Resource - Interface representing a resource in the resource manager.

DESCRIPTION

All resources available in the resource manager is an instance of this class. The purpose of the class is to load and unload the resource, and if a datafile is being built, it is also used to save it. The resource manager uses instances of CL_ResourceType to create CL_Resource'es. To get more information on how to use create your own version of this class, please see the overview documentation.

CLASS MEMBERS

virtual const std::string &get_name()
virtual void load()
virtual void unload()
virtual int get_load_count()
virtual void serialize_save(
CL_OutputSource *output)

MEMBERS WITH DESCRIPTIONS

virtual const std::string &get_name()
Description:

virtual void load()
Description:

virtual void unload()
Description:

virtual int get_load_count()
Description:

virtual void serialize_save(
CL_OutputSource *output)

Description:

SEE ALSO

All ClanLib API classes can be found in clanlib (3).

AUTHORS

Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).

See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.