Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-release > by-pkgid > a2116f36018873d572acbcadddb8e994 > files > 2998

clanlib0.8-docs-0.8.1-22.mga7.i586.rpm


<!-- clanlib header begin -->
<HTML>
<HEAD>
<TITLE>CL_Resource - ClanLib Game SDK</TITLE>
<STYLE TYPE="text/css"><!--
HTML BODY
{
	font-family: verdana, helvetica, sans-serif;
	font-size: 12px;
}
H1 { font-size: 22px; }
H2 { font-size: 18px; }
H3 { font-size: 16px; }
H4 { font-size: 14px; }
P { font-size: 12px; }
LI { font-size: 12px; }
--></STYLE>
</HEAD>

<body bgcolor=white text=black link=blue vlink=#800080>

<center>
<img src="http://clanlib.org/gfx/clanlib.png">
</center>
<!-- clanlib header end -->

<center>
<p>
<a href="http://clanlib.org/docs.html">Home</a> |
<a href="classes.html">All Classes</a> |
<a href="modules.html">Grouped Classes</a> |
<a href="index.html">Index</a> |
<a href="search.html">Search</a>
</p>
</center>
<h1>Class CL_Resource</h1>
<p>  Interface for accessing a resource in the resource manager. <a href="#description">More...</a></p>
<p>Derived from:
<i>none</i>
<br>
Derived by:
<i>none</i>
<br>Group: Core (Resources)</p>
<p>
#include &lt;ClanLib/core.h&gt;
<p>
<table border=0 width=100%>
</table>
<p><b>Construction:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Resource__CL_Resource.html">CL_Resource</a></p></td><td valign=top><p>  Resource constructor.</p></td></tr></table>
<p><b>Attributes:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Resource__get_type.html">get_type</a></p></td><td valign=top><p>  Returns the type of the resource.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__get_name.html">get_name</a></p></td><td valign=top><p>  Returns the name of the resource.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__get_element.html">get_element</a></p></td><td valign=top><p>  Returns the resource DOM element.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__get_manager.html">get_manager</a></p></td><td valign=top><p>  Returns the resource manager.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__get_data.html">get_data</a></p></td><td valign=top><p>  Returns the data with the matching name.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__get_reference_count.html">get_reference_count</a></p></td><td valign=top><p>  Returns the current reference count.</p></td></tr></table>
<p><b>Operations:</b></p>
<table border=0 width=100%>
<tr><td width=30% valign=top><p><a href="CL_Resource__attach_data.html">attach_data</a></p></td><td valign=top><p>  Attach some data to the resource.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__detach_data.html">detach_data</a></p></td><td valign=top><p>  Detach some data from the resource.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__unload.html">unload</a></p></td><td valign=top><p>  Unloads the resource from memory.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_Resource__load.html">load</a></p></td><td valign=top><p>  Loads the resource, using the prefered source as specified by
  the resource manager.</p></td></tr></table>
<a name="#description"><p><b>Detailed description:</b></p>
  !group=Core/Resources!
  !header=core.h!


<!-- clanlib footer begin -->

<center><br><br><font color="#a0a0a0">
Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>.
</font></center>

</body>
</html>
<!-- clanlib footer end -->