Home | All Classes | Grouped Classes | Index | Search
Interface for accessing a resource in the resource manager. More...
Derived from:
none
Derived by:
none
Group: Core (Resources)
#include <ClanLib/core.h>
Construction:
Resource constructor. |
Attributes:
Returns the type of the resource. | |
Returns the name of the resource. | |
Returns the location of the resource (relative to resource definition file). | |
Returns the full path location of the resource. | |
Returns the resource options. | |
Returns the resource manager. | |
Returns the data with the matching name. | |
Returns the current reference count. |
Signals:
Signal invoked when a call to load_file is made. | |
Signal invoked when a call to load_datafile is made. | |
Signal invoked when a call to save_datafile is made. | |
Signal invoked when a call to unload is made. |
Operators:
Copy a resource. |
Operations:
Attach some data to the resource. | |
Detach some data from the resource. | |
Unloads the resource from memory. | |
Loads the resource, using the prefered source as specified by the resource manager. | |
Loads the resource from file. | |
Loads the resource from the input source. | |
Saves the resource to the output source. |
Implementation:
Pointer to implementation |
Detailed description: