aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html')
-rw-r--r--docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html703
1 files changed, 703 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html b/docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html
new file mode 100644
index 00000000..14c698df
--- /dev/null
+++ b/docs/doxygen/nel/classNLMISC_1_1CBlockMemory.html
@@ -0,0 +1,703 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<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; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>NLMISC::CBlockMemory Class Template Reference</h1>Block memory allocation.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="block__memory_8h-source.html">block_memory.h</a>&gt;</code>
+<p>
+<a href="classNLMISC_1_1CBlockMemory-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="classNLMISC_1_1CBlockMemory.html#a0">CBlockMemory</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> blockSize=16)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a1">CBlockMemory</a> (const CBlockMemory&lt; T, __ctor_dtor__ &gt; &amp;other)</td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a2">~CBlockMemory</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em><a class="el" href="classNLMISC_1_1CBlockMemory.html#a5">purge</a>().</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>T *&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a3">allocate</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>allocate an element. ctor is called.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a4">free</a> (T *ptr)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>delete an element allocated with this manager. dtor is called. NULL is tested.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a5">purge</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>delete all blocks, freeing all memory.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a6">__stl_alloc_changeEltSize</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> eltSize)</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#a7">__stl_alloc_getEltSize</a> () const</td></tr>
+<tr><td colspan=2><br><h2>Private Types</h2></td></tr>
+<tr><td nowrap align=right valign=top>enum &nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#u2">TCheckIdent</a> { <a class="el" href="classNLMISC_1_1CBlockMemory.html#u2u0">CheckAllocatedIdent</a> = 0x01234567,
+<a class="el" href="classNLMISC_1_1CBlockMemory.html#u2u1">CheckDeletedIdent</a> = 0x89ABCDEF
+ }</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>For debug only, check ident.</em> <a href="#u2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#c0">buildBlock</a> (<a class="el" href="structNLMISC_1_1CBlockMemory_1_1CBlock.html">CBlock</a> &amp;block)</td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#c1">releaseBlock</a> (<a class="el" href="structNLMISC_1_1CBlockMemory_1_1CBlock.html">CBlock</a> &amp;block)</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#o0">_BlockSize</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>size of a block.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#o1">_EltSize</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>size of an element in the block.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#o2">_NAllocatedElts</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>number of elements allocated.</em> <a href="#o2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void *&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#o3">_NextFreeElt</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>next free element.</em> <a href="#o3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="classstd_1_1list.html">std::list</a>&lt; <a class="el" href="structNLMISC_1_1CBlockMemory_1_1CBlock.html">CBlock</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNLMISC_1_1CBlockMemory.html#o4">_Blocks</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>list of blocks.</em> <a href="#o4">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T, bool __ctor_dtor__ = true&gt;<br>
+ class NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;</h3>
+
+Block memory allocation.
+<p>
+This memory manager is a fast memory allocator, doing same thing as new/delete. It works by block. block are always allocated, never deleted. alocation/free are in O(1).
+<p>
+Elements with sizeof(T)&lt;sizeof(void*) should not be used with this allocator, because sizeEltInMemory= max(sizeof(T),sizeof(void*)).
+<p>
+<a class="el" href="classNLMISC_1_1CBlockMemory.html#a4">free</a>() check invalid ptr in debug only, for extra cost of 8 octets per element.
+<p>
+NB: if template parameter __ctor_dtor__ is false, then ctor and dtor are not called when an element is <a class="el" href="classNLMISC_1_1CBlockMemory.html#a3">allocate</a>()-ed or deallocate()-ed.
+<p>
+<dl compact><dt><b>
+Author: </b><dd>
+Lionel Berenguier , Nevrax France </dl><dl compact><dt><b>
+Date: </b><dd>
+2001 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00064">64</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.<hr><h2>Member Enumeration Documentation</h2>
+<a name="u2" doxytag="NLMISC::CBlockMemory::TCheckIdent"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> enum NLMISC::CBlockMemory::TCheckIdent<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For debug only, check ident.
+<p>
+<dl compact><dt><b>
+Enumeration values:</b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a name="u2u0" doxytag="CheckAllocatedIdent"></a><em>CheckAllocatedIdent</em></em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a name="u2u1" doxytag="CheckDeletedIdent"></a><em>CheckDeletedIdent</em></em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00239">239</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NLMISC::CBlockMemory::CBlockMemory"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::CBlockMemory </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>blockSize</em> = 16 </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00069">69</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NLMISC::CBlockMemory::CBlockMemory"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::CBlockMemory </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const CBlockMemory&lt; T, __ctor_dtor__ &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>other</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</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="block__memory_8h-source.html#l00078">78</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NLMISC::CBlockMemory::~CBlockMemory"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::~CBlockMemory </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> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+<a class="el" href="classNLMISC_1_1CBlockMemory.html#a5">purge</a>().
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00089">89</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a6" doxytag="NLMISC::CBlockMemory::__stl_alloc_changeEltSize"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::__stl_alloc_changeEltSize </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>eltSize</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</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="block__memory_8h-source.html#l00194">194</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<a name="a7" doxytag="NLMISC::CBlockMemory::__stl_alloc_getEltSize"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::__stl_alloc_getEltSize </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> const<code> [inline]</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="block__memory_8h-source.html#l00210">210</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NLMISC::CBlockMemory::allocate"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T* NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::allocate </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> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+allocate an element. ctor is called.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00096">96</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NLMISC::CBlockMemory::buildBlock"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::buildBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNLMISC_1_1CBlockMemory_1_1CBlock.html">CBlock</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>block</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, private]</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="block__memory_8h-source.html#l00243">243</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory&lt; CNode &gt;::allocate</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NLMISC::CBlockMemory::free"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::free </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>ptr</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+delete an element allocated with this manager. dtor is called. NULL is tested.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00141">141</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>. </td>
+ </tr>
+</table>
+<a name="a5" doxytag="NLMISC::CBlockMemory::purge"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::purge </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> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+delete all blocks, freeing all memory.
+<p>
+It is an error to <a class="el" href="classNLMISC_1_1CBlockMemory.html#a5">purge</a>() or delete a <a class="el" href="classNLMISC_1_1CBlockMemory.html">CBlockMemory</a>, while elements still remains!! You must free your elements with <a class="el" href="classNLMISC_1_1CBlockMemory.html#a4">free</a>(). NB: you can disable this assert if you set NL3D_BlockMemoryAssertOnPurge to false (good to quit a program quickly without uninitialize).
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00174">174</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00089">NLMISC::CBlockMemory&lt; CNode &gt;::~CBlockMemory</a>. </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NLMISC::CBlockMemory::releaseBlock"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CBlockMemory&lt; T, __ctor_dtor__ &gt;::releaseBlock </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="structNLMISC_1_1CBlockMemory_1_1CBlock.html">CBlock</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>block</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, private]</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="block__memory_8h-source.html#l00294">294</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00174">NLMISC::CBlockMemory&lt; CNode &gt;::purge</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o4" doxytag="NLMISC::CBlockMemory::_Blocks"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="classstd_1_1list.html">std::list</a>&lt;<a class="el" href="structNLMISC_1_1CBlockMemory_1_1CBlock.html">CBlock</a>&gt; NLMISC::CBlockMemory::_Blocks<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+list of blocks.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00235">235</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00194">NLMISC::CBlockMemory&lt; CNode &gt;::__stl_alloc_changeEltSize</a>, <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory&lt; CNode &gt;::allocate</a>, and <a class="el" href="block__memory_8h-source.html#l00174">NLMISC::CBlockMemory&lt; CNode &gt;::purge</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NLMISC::CBlockMemory::_BlockSize"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLMISC::CBlockMemory::_BlockSize<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+size of a block.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00218">218</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00243">NLMISC::CBlockMemory&lt; CNode &gt;::buildBlock</a>, and <a class="el" href="block__memory_8h-source.html#l00069">NLMISC::CBlockMemory&lt; CNode &gt;::CBlockMemory</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NLMISC::CBlockMemory::_EltSize"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a15">uint</a> NLMISC::CBlockMemory::_EltSize<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+size of an element in the block.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00220">220</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00194">NLMISC::CBlockMemory&lt; CNode &gt;::__stl_alloc_changeEltSize</a>, <a class="el" href="block__memory_8h-source.html#l00210">NLMISC::CBlockMemory&lt; CNode &gt;::__stl_alloc_getEltSize</a>, <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory&lt; CNode &gt;::allocate</a>, <a class="el" href="block__memory_8h-source.html#l00243">NLMISC::CBlockMemory&lt; CNode &gt;::buildBlock</a>, <a class="el" href="block__memory_8h-source.html#l00069">NLMISC::CBlockMemory&lt; CNode &gt;::CBlockMemory</a>, and <a class="el" href="block__memory_8h-source.html#l00141">NLMISC::CBlockMemory&lt; CNode &gt;::free</a>. </td>
+ </tr>
+</table>
+<a name="o2" doxytag="NLMISC::CBlockMemory::_NAllocatedElts"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NLMISC::CBlockMemory::_NAllocatedElts<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+number of elements allocated.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00222">222</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory&lt; CNode &gt;::allocate</a>, <a class="el" href="block__memory_8h-source.html#l00069">NLMISC::CBlockMemory&lt; CNode &gt;::CBlockMemory</a>, <a class="el" href="block__memory_8h-source.html#l00141">NLMISC::CBlockMemory&lt; CNode &gt;::free</a>, and <a class="el" href="block__memory_8h-source.html#l00174">NLMISC::CBlockMemory&lt; CNode &gt;::purge</a>. </td>
+ </tr>
+</table>
+<a name="o3" doxytag="NLMISC::CBlockMemory::_NextFreeElt"></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" colspan="4">
+template&lt;class T, bool __ctor_dtor__ = true&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void* NLMISC::CBlockMemory::_NextFreeElt<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+next free element.
+<p>
+
+<p>
+Definition at line <a class="el" href="block__memory_8h-source.html#l00224">224</a> of file <a class="el" href="block__memory_8h-source.html">block_memory.h</a>.
+<p>
+Referenced by <a class="el" href="block__memory_8h-source.html#l00096">NLMISC::CBlockMemory&lt; CNode &gt;::allocate</a>, <a class="el" href="block__memory_8h-source.html#l00069">NLMISC::CBlockMemory&lt; CNode &gt;::CBlockMemory</a>, <a class="el" href="block__memory_8h-source.html#l00141">NLMISC::CBlockMemory&lt; CNode &gt;::free</a>, and <a class="el" href="block__memory_8h-source.html#l00174">NLMISC::CBlockMemory&lt; CNode &gt;::purge</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="block__memory_8h-source.html">block_memory.h</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>