<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Crystal Space 1.2.1: csRefArrayObject< T > Class Template Reference (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <h1>csRefArrayObject< T > Class Template Reference<br> <small> [<a class="el" href="group__util__containers.html">Containers</a>]</small> </h1><!-- doxytag: class="csRefArrayObject" --><!-- doxytag: inherits="csRefArray< T >" -->This class implements a typed array that correctly keeps track of reference count and also is able to find by name. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="nobjvec_8h-source.html">csutil/nobjvec.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for csRefArrayObject< T >:</div> <div class="dynsection"> <p><center><img src="classcsRefArrayObject__inherit__graph.png" border="0" usemap="#csRefArrayObject_3_01T_01_4__inherit__map" alt="Inheritance graph"></center> <map name="csRefArrayObject_3_01T_01_4__inherit__map"> <area shape="rect" href="classcsRefArray.html" title="csRefArray\< T \>" alt="" coords="212,161,340,188"><area shape="rect" href="classcsArray.html" title="csArray\< T *, csRefArrayElementHandler\< T * \>, CS::Memory::AllocatorMalloc \>" alt="" coords="5,84,547,111"><area shape="rect" href="classCS_1_1Memory_1_1CustomAllocated.html" title="Class that overrides operator new/operator delete/etc." alt="" coords="165,7,387,33"></map> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classcsRefArrayObject-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="046b040ca8e911c0eb703bd16e84d544"></a><!-- doxytag: member="csRefArrayObject::csRefArrayObject" ref="046b040ca8e911c0eb703bd16e84d544" args="(int ilimit=0, int ithreshold=0)" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsRefArrayObject.html#046b040ca8e911c0eb703bd16e84d544">csRefArrayObject</a> (int ilimit=0, int ithreshold=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="12dacf0e2c1579bd65b54a82431db875"></a><!-- doxytag: member="csRefArrayObject::FindByName" ref="12dacf0e2c1579bd65b54a82431db875" args="(const char *name) const " --> T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsRefArrayObject.html#12dacf0e2c1579bd65b54a82431db875">FindByName</a> (const char *name) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a39bc6e3f71540f1f29727bc9c2e3c0b"></a><!-- doxytag: member="csRefArrayObject::GetIndexByName" ref="a39bc6e3f71540f1f29727bc9c2e3c0b" args="(const char *name) const " --> size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsRefArrayObject.html#a39bc6e3f71540f1f29727bc9c2e3c0b">GetIndexByName</a> (const char *name) const </td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class T><br> class csRefArrayObject< T ></h3> This class implements a typed array that correctly keeps track of reference count and also is able to find by name. <p> Assumes the types used for this implement QueryObject() to get the <a class="el" href="structiObject.html" title="This interface is an SCF interface for encapsulating csObject.">iObject</a> that has GetName(). <p>Definition at line <a class="el" href="nobjvec_8h-source.html#l00051">51</a> of file <a class="el" href="nobjvec_8h-source.html">nobjvec.h</a>.</p> <hr>The documentation for this class was generated from the following file:<ul> <li>csutil/<a class="el" href="nobjvec_8h-source.html">nobjvec.h</a></ul> <hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>