<!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/mempool.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/mempool.h File Reference</h1>Generic Memory Allocator. <a href="#_details">More...</a> <p> <code>#include "<a class="el" href="cssysdef_8h-source.html">cssysdef.h</a>"</code><br> <code>#include "csextern.h"</code><br> <code>#include "<a class="el" href="csutil_2array_8h-source.html">csutil/array.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="mempool_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="classcsMemoryPool.html">csMemoryPool</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">A quick-allocation pool for storage of arbitrary data. <a href="classcsMemoryPool.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gc3fc6b4bf9435dc4c11fdedfa57dc7a8"></a><!-- doxytag: member="mempool.h::operator delete" ref="gc3fc6b4bf9435dc4c11fdedfa57dc7a8" args="(void *, csMemoryPool *)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util__containers.html#gc3fc6b4bf9435dc4c11fdedfa57dc7a8">operator delete</a> (void *, <a class="el" href="classcsMemoryPool.html">csMemoryPool</a> *)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gf2e4d137c0e7a5801e32f584af502ad1"></a><!-- doxytag: member="mempool.h::operator delete" ref="gf2e4d137c0e7a5801e32f584af502ad1" args="(void *, csMemoryPool &)" --> void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util__containers.html#gf2e4d137c0e7a5801e32f584af502ad1">operator delete</a> (void *, <a class="el" href="classcsMemoryPool.html">csMemoryPool</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gf396c9305522b353fd6712180d2ae30d"></a><!-- doxytag: member="mempool.h::operator new" ref="gf396c9305522b353fd6712180d2ae30d" args="(size_t n, csMemoryPool *p)" --> void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util__containers.html#gf396c9305522b353fd6712180d2ae30d">operator new</a> (size_t n, <a class="el" href="classcsMemoryPool.html">csMemoryPool</a> *p)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__util__containers.html#gbc7922c9bd871e9c87c6ece97aaca88d">operator new</a> (size_t n, <a class="el" href="classcsMemoryPool.html">csMemoryPool</a> &p)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Convenience <code>new</code> operator which makes the allocation from a <a class="el" href="classcsMemoryPool.html" title="A quick-allocation pool for storage of arbitrary data.">csMemoryPool</a> rather than from the system heap. <a href="group__util__containers.html#gbc7922c9bd871e9c87c6ece97aaca88d"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Generic Memory Allocator. <p> <p>Definition in file <a class="el" href="mempool_8h-source.html">mempool.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>