All Classes |Grouped Classes |Index

Class CL_Resource

Resource Manager resource. More...

Derived from:

None

Derived by:

None

Group:

Resources (Core)

#include <ClanLib/core.h>

Class Members:

Construction:

CL_Resource


Attributes:

get_type

Returns the resource type.

get_name

Returns the name of the resource.

get_element

Returns the DOM element describing the resource.

get_manager

Returns the resource manager owning the resource.

get_data

Returns the object stored in the given data name.

get_data_session_count

Returns the number of CL_ResourceDataSession objects using this resource.


Operations:

operator==

Compares this resource to another resource.

set_data

Store object in resource.

clear_data

Remove object stored with the given data name.

add_data_session

Increment the usage session count for the resource.

remove_data_session

Decrement the usage session count for the resource.