Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 3038

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::StringResource class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::StringResource  Class Reference</h1>Wraps a <a class="el" href="classOgre_1_1String.html">String</a> as a <a class="el" href="classOgre_1_1Resource.html">Resource</a> for generic handling. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreStringResource_8h-source.html">OgreStringResource.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::StringResource:<p><center><img src="classOgre_1_1StringResource__inherit__graph.png" border="0" usemap="#Ogre_1_1StringResource__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1StringResource__inherit__map">
<area href="classOgre_1_1Resource.html" shape="rect" coords="24,36,128,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::StringResource:<p><center><img src="classOgre_1_1StringResource__coll__graph.png" border="0" usemap="#Ogre_1_1StringResource__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1StringResource__coll__map">
<area href="classOgre_1_1Resource.html" shape="rect" coords="24,126,128,108" alt="">
<area href="classOgre_1_1String.html" shape="rect" coords="36,36,116,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1StringResource-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1StringResourcea0">StringResource</a> (const <a class="el" href="classOgre_1_1String.html">String</a> &amp;name)</td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1StringResourcea1">load</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Loads the resource, if it is not already.</em> <a href="#Ogre_1_1StringResourcea1"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Texturea19">unload</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Unloads the resource, but retains data to recreate.</em> <a href="#Ogre_1_1Texturea19"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa23">getSize</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Retrieves info about the size of the resource.</em> <a href="#Ogre_1_1Zipa23"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa24">touch</a> (void)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>'Touches' the resource to indicate it has been used.</em> <a href="#Ogre_1_1Zipa24"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa25">getLastAccess</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets the last time the resource was 'touched'.</em> <a href="#Ogre_1_1Zipa25"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa26">getName</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Gets resource name.</em> <a href="#Ogre_1_1Zipa26"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a392">ResourceHandle</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa27">getHandle</a> (void) const</td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa28">isLoaded</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> has been loaded, false otherwise.</em> <a href="#Ogre_1_1Zipa28"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipa29">destroy</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>A method to make the resource delete itself.</em> <a href="#Ogre_1_1Zipa29"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipn0">mName</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a392">ResourceHandle</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipn1">mHandle</a></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipn2">mIsLoaded</a></td></tr>
<tr><td nowrap align=right valign=top>time_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipn3">mLastAccess</a></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1StringResource.html#Ogre_1_1Zipn4">mSize</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Wraps a <a class="el" href="classOgre_1_1String.html">String</a> as a <a class="el" href="classOgre_1_1Resource.html">Resource</a> for generic handling.
<p>

<p>
Definition at line <a class="el" href="OgreStringResource_8h-source.html#l00036">36</a> of file <a class="el" href="OgreStringResource_8h-source.html">OgreStringResource.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1StringResourcea0" doxytag="Ogre::StringResource::StringResource"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::StringResource::StringResource </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1String.html">String</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>name</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreStringResource_8h-source.html#l00040">40</a> of file <a class="el" href="OgreStringResource_8h-source.html">OgreStringResource.h</a>.
<p>
References <a class="el" href="OgreResource_8h-source.html#l00056">Ogre::Resource::mName</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1Zipa29" doxytag="Ogre::StringResource::destroy"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::destroy </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
A method to make the resource delete itself.
<p>
<dl compact><dt><b>
Note: </b><dd>
 This exists because <a class="el" href="classOgre_1_1Resource.html">Resource</a> objects could be created in other processes, and they need to be destroyed in the process that created them. </dl>
<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00137">137</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipa27" doxytag="Ogre::StringResource::getHandle"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a392">ResourceHandle</a> Ogre::Resource::getHandle </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00120">120</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
References <a class="el" href="OgreResource_8h-source.html#l00034">Ogre::ResourceHandle</a>.
<p>
Referenced by <a class="el" href="OgreMaterial_8cpp-source.html#l00153">Ogre::Material::clone</a>(), <a class="el" href="OgreBspLevel_8cpp-source.html#l00113">Ogre::BspLevel::loadQuake3Level</a>(), and <a class="el" href="OgreResourceManager_8cpp-source.html#l00105">Ogre::ResourceManager::unload</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipa25" doxytag="Ogre::StringResource::getLastAccess"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> time_t Ogre::Resource::getLastAccess </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the last time the resource was 'touched'.
<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00108">108</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipa26" doxytag="Ogre::StringResource::getName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1String.html">String</a>&amp; Ogre::Resource::getName </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets resource name.
<p>

<p>
Reimplemented in <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materiala4">Ogre::Material</a>, and <a class="el" href="classOgre_1_1Overlay.html#Ogre_1_1Overlaya5">Ogre::Overlay</a>.
<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00115">115</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00264">Ogre::D3D9Texture::_loadCubeTex</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00653">Ogre::Mesh::_notifySkeleton</a>(), <a class="el" href="OgreResourceManager_8cpp-source.html#l00075">Ogre::ResourceManager::add</a>(), <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00244">Ogre::PopupMenuGuiElement::addListItem</a>(), <a class="el" href="OgreListGuiElement_8cpp-source.html#l00266">Ogre::ListGuiElement::addListItem</a>(), <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00207">Ogre::PopupMenuGuiElement::addMenuItem</a>(), <a class="el" href="OgreMeshManager_8cpp-source.html#l00683">Ogre::MeshManager::createPrefabPlane</a>(), <a class="el" href="OgreTTYGuiElement_8cpp-source.html#l00593">Ogre::TTYGuiElement::getFontName</a>(), <a class="el" href="OgreTextAreaGuiElement_8cpp-source.html#l00338">Ogre::TextAreaGuiElement::getFontName</a>(), <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00279">Ogre::PopupMenuGuiElement::getListItemName</a>(), <a class="el" href="OgreListGuiElement_8cpp-source.html#l00349">Ogre::ListGuiElement::getListItemName</a>(), <a class="el" href="OgreGpuProgramUsage_8h-source.html#l00102">Ogre::GpuProgramUsage::getProgramName</a>(), <a class="el" href="OgreMeshSerializer_8cpp-source.html#l00083">Ogre::MeshSerializer::importMesh</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00292">Ogre::GLTexture::load</a>(), <a class="el" href="OgreTextureManager_8cpp-source.html#l00060">Ogre::TextureManager::loadImage</a>(), <a class="el" href="OgreTextureManager_8cpp-source.html#l00086">Ogre::TextureManager::loadRawData</a>(), <a class="el" href="OgreFontManager_8cpp-source.html#l00216">Ogre::FontManager::logBadAttrib</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01708">Ogre::MeshSerializerImpl_v1::readMaterial</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01078">Ogre::MeshSerializerImpl::readMeshLodInfo</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01665">Ogre::MeshSerializerImpl_v1::readMeshLodUsageGenerated</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01145">Ogre::MeshSerializerImpl::readMeshLodUsageGenerated</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01128">Ogre::MeshSerializerImpl::readMeshLodUsageManual</a>(), <a class="el" href="OgrePopupMenuGuiElement_8cpp-source.html#l00256">Ogre::PopupMenuGuiElement::removeListItem</a>(), <a class="el" href="OgreListGuiElement_8cpp-source.html#l00311">Ogre::ListGuiElement::removeListItem</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l00816">Ogre::SceneManager::setSkyBox</a>(), <a class="el" href="OgreSceneManager_8cpp-source.html#l00897">Ogre::SceneManager::setSkyDome</a>(), and <a class="el" href="OgreResourceManager_8cpp-source.html#l00105">Ogre::ResourceManager::unload</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipa23" doxytag="Ogre::StringResource::getSize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual size_t Ogre::Resource::getSize </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [virtual, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Retrieves info about the size of the resource.
<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00093">93</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreResourceManager_8cpp-source.html#l00105">Ogre::ResourceManager::unload</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipa28" doxytag="Ogre::StringResource::isLoaded"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Resource::isLoaded </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the <a class="el" href="classOgre_1_1Resource.html">Resource</a> has been loaded, false otherwise.
<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00127">127</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreGpuProgramUsage_8cpp-source.html#l00086">Ogre::GpuProgramUsage::_load</a>(), <a class="el" href="OgreTechnique_8cpp-source.html#l00235">Ogre::Technique::isLoaded</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00213">Ogre::D3D9Texture::load</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00246">Ogre::D3D9Texture::unload</a>(), and <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00080">Ogre::D3D9Texture::~D3D9Texture</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1StringResourcea1" doxytag="Ogre::StringResource::load"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::StringResource::load </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Loads the resource, if it is not already.
<p>

<p>
Implements <a class="el" href="classOgre_1_1Resource.html#Ogre_1_1Texturea18">Ogre::Resource</a>.
<p>
Definition at line <a class="el" href="OgreStringResource_8h-source.html#l00046">46</a> of file <a class="el" href="OgreStringResource_8h-source.html">OgreStringResource.h</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipa24" doxytag="Ogre::StringResource::touch"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::touch </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
'Touches' the resource to indicate it has been used.
<p>

<p>
Reimplemented in <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materiala46">Ogre::Material</a>.
<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00100">100</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreResourceManager_8cpp-source.html#l00067">Ogre::ResourceManager::load</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Texturea19" doxytag="Ogre::StringResource::unload"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> virtual void Ogre::Resource::unload </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [virtual, inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Unloads the resource, but retains data to recreate.
<p>

<p>
Reimplemented in <a class="el" href="classOgre_1_1ArchiveEx.html#Ogre_1_1ArchiveExa4">Ogre::ArchiveEx</a>, <a class="el" href="classOgre_1_1DynLib.html#Ogre_1_1DynLiba3">Ogre::DynLib</a>, <a class="el" href="classOgre_1_1Font.html#Ogre_1_1Fonta12">Ogre::Font</a>, <a class="el" href="classOgre_1_1HighLevelGpuProgram.html#Ogre_1_1HighLevelGpuPrograma3">Ogre::HighLevelGpuProgram</a>, <a class="el" href="classOgre_1_1Material.html#Ogre_1_1Materiala15">Ogre::Material</a>, <a class="el" href="classOgre_1_1Mesh.html#Ogre_1_1PatchMesha3">Ogre::Mesh</a>, <a class="el" href="classOgre_1_1Overlay.html#Ogre_1_1Overlaya3">Ogre::Overlay</a>, <a class="el" href="classOgre_1_1Skeleton.html#Ogre_1_1Skeletona3">Ogre::Skeleton</a>, <a class="el" href="classOgre_1_1Zip.html#Ogre_1_1Zipa4">Ogre::Zip</a>, <a class="el" href="classOgre_1_1BspLevel.html#Ogre_1_1BspLevela3">Ogre::BspLevel</a>, <a class="el" href="classOgre_1_1Quake3Shader.html#Ogre_1_1Quake3Shadera3">Ogre::Quake3Shader</a>, <a class="el" href="classOgre_1_1D3DTexture.html#Ogre_1_1D3DTexturea9">Ogre::D3DTexture</a>, <a class="el" href="classOgre_1_1D3D9GpuVertexProgram.html#Ogre_1_1D3D9GpuVertexPrograma1">Ogre::D3D9GpuVertexProgram</a>, <a class="el" href="classOgre_1_1D3D9GpuFragmentProgram.html#Ogre_1_1D3D9GpuFragmentPrograma1">Ogre::D3D9GpuFragmentProgram</a>, <a class="el" href="classOgre_1_1D3D9Texture.html#Ogre_1_1D3D9Texturea8">Ogre::D3D9Texture</a>, <a class="el" href="classOgre_1_1GLGpuNvparseProgram.html#Ogre_1_1GLGpuNvparsePrograma2">Ogre::GLGpuNvparseProgram</a>, <a class="el" href="classOgre_1_1GLArbGpuProgram.html#Ogre_1_1GLArbGpuPrograma2">Ogre::GLArbGpuProgram</a>, and <a class="el" href="classOgre_1_1GLTexture.html#Ogre_1_1GLTexturea6">Ogre::GLTexture</a>.
<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00089">89</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreGpuProgram_8cpp-source.html#l00059">Ogre::GpuProgram::load</a>(), <a class="el" href="OgreD3D9GpuProgram_8cpp-source.html#l00042">Ogre::D3D9GpuProgram::load</a>(), <a class="el" href="OgreResourceManager_8cpp-source.html#l00105">Ogre::ResourceManager::unload</a>(), <a class="el" href="OgreHighLevelGpuProgram_8cpp-source.html#l00058">Ogre::HighLevelGpuProgram::unload</a>(), and <a class="el" href="OgreD3D7Texture_8h-source.html#l00104">Ogre::D3D7RenderTexture::~D3D7RenderTexture</a>().    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1Zipn1" doxytag="Ogre::StringResource::mHandle"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a392">ResourceHandle</a> Ogre::Resource::mHandle<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00057">57</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreResourceManager_8cpp-source.html#l00075">Ogre::ResourceManager::add</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00153">Ogre::Material::clone</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00172">Ogre::Material::copyDetailsTo</a>(), and <a class="el" href="OgreMaterial_8cpp-source.html#l00070">Ogre::Material::operator=</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipn2" doxytag="Ogre::StringResource::mIsLoaded"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::Resource::mIsLoaded<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00058">58</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00636">Ogre::D3D9Texture::_initMembers</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00264">Ogre::D3D9Texture::_loadCubeTex</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00377">Ogre::D3D9Texture::_loadNormTex</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00338">Ogre::D3D9Texture::_loadVolumeTex</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00537">Ogre::Material::_notifyNeedsRecompile</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00153">Ogre::Material::clone</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00891">Ogre::D3DTexture::createSurface2D</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l01029">Ogre::D3DTexture::createSurface3D</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00055">Ogre::D3D9Texture::D3D9Texture</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00226">Ogre::D3DTexture::D3DTexture</a>(), <a class="el" href="OgreDynLib_8cpp-source.html#l00045">Ogre::DynLib::DynLib</a>(), <a class="el" href="OgreZip_8cpp-source.html#l00216">Ogre::Zip::load</a>(), <a class="el" href="OgreSkeleton_8cpp-source.html#l00063">Ogre::Skeleton::load</a>(), <a class="el" href="OgrePatchMesh_8cpp-source.html#l00064">Ogre::PatchMesh::load</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00123">Ogre::Mesh::load</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00117">Ogre::Material::load</a>(), <a class="el" href="OgreHighLevelGpuProgram_8cpp-source.html#l00040">Ogre::HighLevelGpuProgram::load</a>(), <a class="el" href="OgreGpuProgram_8cpp-source.html#l00059">Ogre::GpuProgram::load</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00292">Ogre::GLTexture::load</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00139">Ogre::Font::load</a>(), <a class="el" href="OgreDynLib_8cpp-source.html#l00069">Ogre::DynLib::load</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00213">Ogre::D3D9Texture::load</a>(), <a class="el" href="OgreD3D9GpuProgram_8cpp-source.html#l00042">Ogre::D3D9GpuProgram::load</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00782">Ogre::D3DTexture::load</a>(), <a class="el" href="OgreBspLevel_8cpp-source.html#l00072">Ogre::BspLevel::load</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00196">Ogre::D3D9Texture::loadImage</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00702">Ogre::D3DTexture::loadImage</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00742">Ogre::D3DTexture::loadImage3D</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00207">Ogre::GLTexture::loadImages</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00040">Ogre::Material::Material</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00070">Ogre::Material::operator=</a>(), <a class="el" href="OgreSkeleton_8cpp-source.html#l00104">Ogre::Skeleton::unload</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00167">Ogre::Mesh::unload</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00138">Ogre::Material::unload</a>(), <a class="el" href="OgreHighLevelGpuProgram_8cpp-source.html#l00058">Ogre::HighLevelGpuProgram::unload</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00363">Ogre::GLTexture::unload</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00186">Ogre::Font::unload</a>(), <a class="el" href="OgreDynLib_8cpp-source.html#l00091">Ogre::DynLib::unload</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00246">Ogre::D3D9Texture::unload</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00819">Ogre::D3DTexture::unload</a>(), and <a class="el" href="OgreBspLevel_8cpp-source.html#l00061">Ogre::BspLevel::~BspLevel</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipn3" doxytag="Ogre::StringResource::mLastAccess"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> time_t Ogre::Resource::mLastAccess<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00059">59</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreMaterial_8cpp-source.html#l00070">Ogre::Material::operator=</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipn0" doxytag="Ogre::StringResource::mName"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::Resource::mName<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00056">56</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00457">Ogre::Skeleton::_dumpContents</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00419">Ogre::Mesh::_rationaliseBoneAssignments</a>(), <a class="el" href="OgreBspLevel_8cpp-source.html#l00049">Ogre::BspLevel::BspLevel</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00907">Ogre::Mesh::buildTangentVectors</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00153">Ogre::Material::clone</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00275">Ogre::Material::compile</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00172">Ogre::Material::copyDetailsTo</a>(), <a class="el" href="OgreQuake3Shader_8cpp-source.html#l00067">Ogre::Quake3Shader::createAsMaterial</a>(), <a class="el" href="OgreD3D9HLSLProgram_8cpp-source.html#l00064">Ogre::D3D9HLSLProgram::createLowLevelImpl</a>(), <a class="el" href="OgreCgProgram_8cpp-source.html#l00130">Ogre::CgProgram::createLowLevelImpl</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00191">Ogre::Font::createTextureFromFont</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00040">Ogre::D3D9Texture::D3D9Texture</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00226">Ogre::D3DTexture::D3DTexture</a>(), <a class="el" href="OgreDynLib_8cpp-source.html#l00045">Ogre::DynLib::DynLib</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00052">Ogre::Font::Font</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00670">Ogre::Mesh::generateLodLevels</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00206">Ogre::Material::getBestTechnique</a>(), <a class="el" href="OgreOverlay_8cpp-source.html#l00059">Ogre::Overlay::getName</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00112">Ogre::Material::getName</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00055">Ogre::GLTexture::GLTexture</a>(), <a class="el" href="OgreGpuProgram_8cpp-source.html#l00038">Ogre::GpuProgram::GpuProgram</a>(), <a class="el" href="OgreZip_8cpp-source.html#l00216">Ogre::Zip::load</a>(), <a class="el" href="OgreSkeleton_8cpp-source.html#l00063">Ogre::Skeleton::load</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00123">Ogre::Mesh::load</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00292">Ogre::GLTexture::load</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00139">Ogre::Font::load</a>(), <a class="el" href="OgreDynLib_8cpp-source.html#l00069">Ogre::DynLib::load</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00782">Ogre::D3DTexture::load</a>(), <a class="el" href="OgreBspLevel_8cpp-source.html#l00072">Ogre::BspLevel::load</a>(), <a class="el" href="OgreD3D9GpuProgram_8cpp-source.html#l00133">Ogre::D3D9GpuFragmentProgram::loadFromMicrocode</a>(), <a class="el" href="OgreD3D9GpuProgram_8cpp-source.html#l00106">Ogre::D3D9GpuVertexProgram::loadFromMicrocode</a>(), <a class="el" href="OgreGLGpuProgram_8cpp-source.html#l00085">Ogre::GLArbGpuProgram::loadFromSource</a>(), <a class="el" href="OgreD3D9HLSLProgram_8cpp-source.html#l00037">Ogre::D3D9HLSLProgram::loadFromSource</a>(), <a class="el" href="OgreD3D9GpuProgram_8cpp-source.html#l00072">Ogre::D3D9GpuProgram::loadFromSource</a>(), <a class="el" href="OgreCgProgram_8cpp-source.html#l00113">Ogre::CgProgram::loadFromSource</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00207">Ogre::GLTexture::loadImages</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00040">Ogre::Material::Material</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00044">Ogre::Mesh::Mesh</a>(), <a class="el" href="OgreMaterial_8cpp-source.html#l00070">Ogre::Material::operator=</a>(), <a class="el" href="OgreOverlay_8cpp-source.html#l00039">Ogre::Overlay::Overlay</a>(), <a class="el" href="OgreQuake3Shader_8cpp-source.html#l00040">Ogre::Quake3Shader::Quake3Shader</a>(), <a class="el" href="OgreCgProgram_8cpp-source.html#l00035">Ogre::CgProgram::selectProfile</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00327">Ogre::Mesh::setSkeletonName</a>(), <a class="el" href="OgreSkeleton_8cpp-source.html#l00043">Ogre::Skeleton::Skeleton</a>(), <a class="el" href="OgreStringResource_8h-source.html#l00040">StringResource</a>(), <a class="el" href="OgreZip_8cpp-source.html#l00231">Ogre::Zip::unload</a>(), <a class="el" href="OgreDynLib_8cpp-source.html#l00091">Ogre::DynLib::unload</a>(), <a class="el" href="OgreCgProgram_8cpp-source.html#l00142">Ogre::CgProgram::unloadImpl</a>(), and <a class="el" href="OgreZip_8cpp-source.html#l00244">Ogre::Zip::Zip</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1Zipn4" doxytag="Ogre::StringResource::mSize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> size_t Ogre::Resource::mSize<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreResource_8h-source.html#l00060">60</a> of file <a class="el" href="OgreResource_8h-source.html">OgreResource.h</a>.
<p>
Referenced by <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00720">Ogre::D3D9Texture::_setFinalAttributes</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00702">Ogre::D3DTexture::loadImage</a>(), <a class="el" href="OgreD3D7Texture_8cpp-source.html#l00742">Ogre::D3DTexture::loadImage3D</a>(), <a class="el" href="OgreGLTexture_8cpp-source.html#l00207">Ogre::GLTexture::loadImages</a>(), and <a class="el" href="OgreMaterial_8cpp-source.html#l00070">Ogre::Material::operator=</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="OgreStringResource_8h-source.html">OgreStringResource.h</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:20:47 2004
</p>
</body>
</html>