aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02419.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/a02419.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02419.html504
1 files changed, 504 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02419.html b/docs/doxygen/nel/a02419.html
new file mode 100644
index 00000000..274986ad
--- /dev/null
+++ b/docs/doxygen/nel/a02419.html
@@ -0,0 +1,504 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NLMISC::CContiguousBlockAllocator class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLMISC::CContiguousBlockAllocator Class Reference</h1><code>#include &lt;<a class="el" href="a05614.html">contiguous_block_allocator.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+One of the simplest scheme of allocation around, but very useful in some situations. This allocator is just provided with a single block of memory at start (possibly of size 0). Each alloc get a new block in that big block, by simply advancing a pointer. When not enough space is available, the default stl allocator is used. When a block is deallocated, nothing happens, unless the block was allocated using the default stl allocator is used, in which case deallocate() is called.<p>
+The typical use is when an object makes a lot of allocations at init, but in a predictable way, and if it don't make alloc / realloc later. In this case the caller can measure the amount of memory needed to create the object, and can create this allocator with the good amount of memory. Subsequent allocations will then be very fast even for very differently sized blocks, with no fragmentation inside the allocated block and no memory overhead per allocated bloc.<p>
+Obviously, if the quantity of memory to be allocated can't be predicted (or if no max bytes can be forseen), then other allocators may be best suited.<p>
+: thread safety<p>
+<dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2004 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05614.html#l00052">52</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</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>void *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora0">alloc</a> (<a class="el" href="a04558.html#a15">uint</a> numBytes)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora1">CContiguousBlockAllocator</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora2">free</a> (void *block)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora3">getNumAllocatedBytes</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora4">init</a> (<a class="el" href="a04558.html#a15">uint</a> numBytes=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora5">release</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora6">~CContiguousBlockAllocator</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">_BlockEnd</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::allocator&lt; <a class="el" href="a04558.html#a7">uint8</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr2">_DefaultAlloc</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">_NextAvailablePos</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">_NumAllocatedBytes</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora1" doxytag="NLMISC::CContiguousBlockAllocator::CContiguousBlockAllocator" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CContiguousBlockAllocator::CContiguousBlockAllocator </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05613.html#l00032">32</a> of file <a class="el" href="a05613.html">contiguous_block_allocator.cpp</a>.
+<p>
+References <a class="el" href="a05614.html#l00079">_BlockEnd</a>, <a class="el" href="a05614.html#l00078">_BlockStart</a>, <a class="el" href="a05614.html#l00080">_NextAvailablePos</a>, and <a class="el" href="a05614.html#l00081">_NumAllocatedBytes</a>.
+<p>
+<div class="fragment"><pre>00033 {
+00034 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a> = NULL;
+00035 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">_NextAvailablePos</a> = NULL;
+00036 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">_BlockEnd</a> = 0;
+00037 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">_NumAllocatedBytes</a> = 0;
+00038 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00039 <span class="preprocessor"></span> _NumAlloc = 0;
+00040 _NumFree = 0;
+00041 <span class="preprocessor"> #endif</span>
+00042 <span class="preprocessor"></span>}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora6" doxytag="NLMISC::CContiguousBlockAllocator::~CContiguousBlockAllocator" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CContiguousBlockAllocator::~<a class="el" href="a02419.html">CContiguousBlockAllocator</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05613.html#l00045">45</a> of file <a class="el" href="a05613.html">contiguous_block_allocator.cpp</a>.
+<p>
+References <a class="el" href="a05613.html#l00051">init()</a>.
+<p>
+<div class="fragment"><pre>00046 {
+00047 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora4">init</a>(0);
+00048 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora0" doxytag="NLMISC::CContiguousBlockAllocator::alloc" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void * NLMISC::CContiguousBlockAllocator::alloc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>numBytes</em> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05613.html#l00072">72</a> of file <a class="el" href="a05613.html">contiguous_block_allocator.cpp</a>.
+<p>
+References <a class="el" href="a05614.html#l00079">_BlockEnd</a>, <a class="el" href="a05614.html#l00078">_BlockStart</a>, <a class="el" href="a05614.html#l00082">_DefaultAlloc</a>, <a class="el" href="a05614.html#l00080">_NextAvailablePos</a>, <a class="el" href="a05614.html#l00081">_NumAllocatedBytes</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00073 {
+00074 <span class="keywordflow">if</span> (numBytes == 0) <span class="keywordflow">return</span> NULL;
+00075 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">_NumAllocatedBytes</a> += numBytes;
+00076 <span class="keywordflow">if</span> (<a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a>)
+00077 {
+00078 <span class="keywordflow">if</span> (<a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">_NextAvailablePos</a> + numBytes &lt;= <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">_BlockEnd</a>)
+00079 {
+00080 <a class="code" href="a04558.html#a7">uint8</a> *block = <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">_NextAvailablePos</a>;
+00081 _NextAvailablePos += numBytes;
+00082 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00083 <span class="preprocessor"></span> ++ _NumAlloc;
+00084 <span class="preprocessor"> #endif</span>
+00085 <span class="preprocessor"></span> <span class="keywordflow">return</span> block;
+00086 }
+00087 }
+00088 <span class="comment">// just uses standard new</span>
+00089 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00090 <span class="preprocessor"></span> ++ _NumAlloc;
+00091 <span class="preprocessor"> #endif</span>
+00092 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr2">_DefaultAlloc</a>.allocate(numBytes);
+00093 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora2" doxytag="NLMISC::CContiguousBlockAllocator::free" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CContiguousBlockAllocator::free </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>block</em> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05613.html#l00096">96</a> of file <a class="el" href="a05613.html">contiguous_block_allocator.cpp</a>.
+<p>
+References <a class="el" href="a05614.html#l00079">_BlockEnd</a>, <a class="el" href="a05614.html#l00082">_DefaultAlloc</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00097 {
+00098 <span class="keywordflow">if</span> (!block) <span class="keywordflow">return</span>;
+00099 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00100 <span class="preprocessor"></span> ++ _NumFree;
+00101 <span class="preprocessor"> #endif</span>
+00102 <span class="preprocessor"></span> <span class="comment">// no-op if block not inside the big block (sub-block are never deallocated until init(0) is encountered)</span>
+00103 <span class="keywordflow">if</span> (block &lt; _BlockStart || block &gt;= <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">_BlockEnd</a>)
+00104 {
+00105 <span class="comment">// the block was allocated with std allocator</span>
+00106 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr2">_DefaultAlloc</a>.deallocate((<a class="code" href="a04558.html#a7">uint8</a> *) block);
+00107 }
+00108 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora3" doxytag="NLMISC::CContiguousBlockAllocator::getNumAllocatedBytes" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLMISC::CContiguousBlockAllocator::getNumAllocatedBytes </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05614.html#l00070">70</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+References <a class="el" href="a05614.html#l00081">_NumAllocatedBytes</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06152.html#l00182">NL3D::CParticleSystemShape::instanciatePS()</a>.
+<p>
+<div class="fragment"><pre>00070 { <span class="keywordflow">return</span> <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">_NumAllocatedBytes</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora4" doxytag="NLMISC::CContiguousBlockAllocator::init" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CContiguousBlockAllocator::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>numBytes</em> = 0 </td>
+ <td class="md" valign="top">&nbsp;)&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="a05613.html#l00051">51</a> of file <a class="el" href="a05613.html">contiguous_block_allocator.cpp</a>.
+<p>
+References <a class="el" href="a05614.html#l00079">_BlockEnd</a>, <a class="el" href="a05614.html#l00078">_BlockStart</a>, <a class="el" href="a05614.html#l00082">_DefaultAlloc</a>, <a class="el" href="a05614.html#l00080">_NextAvailablePos</a>, <a class="el" href="a05614.html#l00081">_NumAllocatedBytes</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+Referenced by <a class="el" href="a06152.html#l00344">NL3D::CParticleSystemShape::flushTextures()</a>, <a class="el" href="a06152.html#l00182">NL3D::CParticleSystemShape::instanciatePS()</a>, <a class="el" href="a05614.html#l00063">release()</a>, and <a class="el" href="a05613.html#l00045">~CContiguousBlockAllocator()</a>.
+<p>
+<div class="fragment"><pre>00052 {
+00053 <span class="keywordflow">if</span> (<a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a>) <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr2">_DefaultAlloc</a>.deallocate(_BlockStart);
+00054 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">_BlockEnd</a> = NULL;
+00055 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a> = NULL;
+00056 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">_NumAllocatedBytes</a> = 0;
+00057 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">_NextAvailablePos</a> = NULL;
+00058 <span class="keywordflow">if</span> (numBytes != 0)
+00059 {
+00060 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a> = <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr2">_DefaultAlloc</a>.allocate(numBytes);
+00061 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">_NextAvailablePos</a> = <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">_BlockStart</a>;
+00062 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">_BlockEnd</a> = _BlockStart + numBytes;
+00063 <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">_NumAllocatedBytes</a> = 0;
+00064 }
+00065 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00066 <span class="preprocessor"></span> _NumAlloc = 0;
+00067 _NumFree = 0;
+00068 <span class="preprocessor"> #endif</span>
+00069 <span class="preprocessor"></span>}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatora5" doxytag="NLMISC::CContiguousBlockAllocator::release" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NLMISC::CContiguousBlockAllocator::release </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&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="a05614.html#l00063">63</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+References <a class="el" href="a05613.html#l00051">init()</a>.
+<p>
+<div class="fragment"><pre>00063 { <a class="code" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatora4">init</a>(0); }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatorr0" doxytag="NLMISC::CContiguousBlockAllocator::_BlockEnd" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a>* <a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr0">NLMISC::CContiguousBlockAllocator::_BlockEnd</a><code> [private]</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="a05614.html#l00079">79</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+Referenced by <a class="el" href="a05613.html#l00072">alloc()</a>, <a class="el" href="a05613.html#l00032">CContiguousBlockAllocator()</a>, <a class="el" href="a05613.html#l00096">free()</a>, and <a class="el" href="a05613.html#l00051">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatorr1" doxytag="NLMISC::CContiguousBlockAllocator::_BlockStart" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a>* <a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr1">NLMISC::CContiguousBlockAllocator::_BlockStart</a><code> [private]</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="a05614.html#l00078">78</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+Referenced by <a class="el" href="a05613.html#l00072">alloc()</a>, <a class="el" href="a05613.html#l00032">CContiguousBlockAllocator()</a>, and <a class="el" href="a05613.html#l00051">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatorr2" doxytag="NLMISC::CContiguousBlockAllocator::_DefaultAlloc" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> std::allocator&lt;<a class="el" href="a04558.html#a7">uint8</a>&gt; <a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr2">NLMISC::CContiguousBlockAllocator::_DefaultAlloc</a><code> [private]</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="a05614.html#l00082">82</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+Referenced by <a class="el" href="a05613.html#l00072">alloc()</a>, <a class="el" href="a05613.html#l00096">free()</a>, and <a class="el" href="a05613.html#l00051">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatorr3" doxytag="NLMISC::CContiguousBlockAllocator::_NextAvailablePos" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a>* <a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr3">NLMISC::CContiguousBlockAllocator::_NextAvailablePos</a><code> [private]</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="a05614.html#l00080">80</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+Referenced by <a class="el" href="a05613.html#l00072">alloc()</a>, <a class="el" href="a05613.html#l00032">CContiguousBlockAllocator()</a>, and <a class="el" href="a05613.html#l00051">init()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CContiguousBlockAllocatorr4" doxytag="NLMISC::CContiguousBlockAllocator::_NumAllocatedBytes" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a02419.html#NLMISC_1_1CContiguousBlockAllocatorr4">NLMISC::CContiguousBlockAllocator::_NumAllocatedBytes</a><code> [private]</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="a05614.html#l00081">81</a> of file <a class="el" href="a05614.html">contiguous_block_allocator.h</a>.
+<p>
+Referenced by <a class="el" href="a05613.html#l00072">alloc()</a>, <a class="el" href="a05613.html#l00032">CContiguousBlockAllocator()</a>, <a class="el" href="a05614.html#l00070">getNumAllocatedBytes()</a>, and <a class="el" href="a05613.html#l00051">init()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05614.html">contiguous_block_allocator.h</a><li><a class="el" href="a05613.html">contiguous_block_allocator.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:07:06 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>