<!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: csutil/array.h File 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><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>csutil/array.h File Reference</h1>Generic Array Template. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="allocator_8h-source.html">csutil/allocator.h</a>"</code><br> <code>#include "<a class="el" href="comparator_8h-source.html">csutil/comparator.h</a>"</code><br> <code>#include "<a class="el" href="customallocated_8h-source.html">csutil/customallocated.h</a>"</code><br> <code>#include "<a class="el" href="custom__new__disable_8h-source.html">csutil/custom_new_disable.h</a>"</code><br> <code>#include "<a class="el" href="custom__new__enable_8h-source.html">csutil/custom_new_enable.h</a>"</code><br> <p> <a href="csutil_2array_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArray.html">csArray< T, ElementHandler, MemoryAllocator, CapacityHandler ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A templated array class. <a href="classcsArray.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArray_1_1ConstIterator.html">csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::ConstIterator</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcsArray_1_1Iterator.html" title="Iterator for the Array<> class.">Iterator</a> for the Array<> class. <a href="classcsArray_1_1ConstIterator.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArray_1_1Iterator.html">csArray< T, ElementHandler, MemoryAllocator, CapacityHandler >::Iterator</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcsArray_1_1Iterator.html" title="Iterator for the Array<> class.">Iterator</a> for the Array<> class. <a href="classcsArray_1_1Iterator.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structcsArrayCapacityDefault.html">csArrayCapacityDefault</a></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArrayCapacityLinear.html">csArrayCapacityLinear< Threshold ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcsArray.html" title="A templated array class.">csArray</a> capacity handler. <a href="classcsArrayCapacityLinear.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArrayCmp.html">csArrayCmp< T, K ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A functor template which encapsulates a key and a comparison function for use with key-related csArray<> searching methods, such as FindKey() and FindSortedKey(). <a href="classcsArrayCmp.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArrayElementHandler.html">csArrayElementHandler< T ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The default element handler for <a class="el" href="classcsArray.html" title="A templated array class.">csArray</a>. <a href="classcsArrayElementHandler.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArraySafeCopyElementHandler.html">csArraySafeCopyElementHandler< T ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Special element handler for <a class="el" href="classcsArray.html" title="A templated array class.">csArray</a> that makes sure that when the array is reallocated that the objects are properly constructed and destructed at their new position. <a href="classcsArraySafeCopyElementHandler.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArrayThresholdFixed.html">csArrayThresholdFixed< N ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcsArray.html" title="A templated array class.">csArray</a> fixed threshold for capacity handlers. <a href="classcsArrayThresholdFixed.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsArrayThresholdVariable.html">csArrayThresholdVariable</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classcsArray.html" title="A templated array class.">csArray</a> variable threshold for capacity handlers. <a href="classcsArrayThresholdVariable.html#_details">More...</a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classcsSafeCopyArray.html">csSafeCopyArray< T ></a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience class to make a version of csArray<> that does a safe-copy in case of reallocation of the array. <a href="classcsSafeCopyArray.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Variables</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util__containers.html#g7477ed9887527029069ab5d5c79e2f70">csArrayItemNotFound</a> = (size_t)-1</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">This value is returned whenever an array item could not be located or does not exist. <a href="group__util__containers.html#g7477ed9887527029069ab5d5c79e2f70"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Generic Array Template. <p> <p>Definition in file <a class="el" href="csutil_2array_8h-source.html">array.h</a>.</p> <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>