aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03030.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/a03030.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/a03030.html652
1 files changed, 652 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03030.html b/docs/doxygen/nel/a03030.html
new file mode 100644
index 00000000..88657407
--- /dev/null
+++ b/docs/doxygen/nel/a03030.html
@@ -0,0 +1,652 @@
+<!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: TemplateNL3D::COrderingTable&lt; T &gt; 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>NL3D::COrderingTable&lt; T &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a06135.html">ordering_table.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T&gt;<br>
+ class NL3D::COrderingTable&lt; T &gt;</h3>
+
+<dl compact><dt><b>Author:</b></dt><dd>Matthieu Besson <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06135.html#l00043">43</a> of file <a class="el" href="a06135.html">ordering_table.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="a03030.html#NL3D_1_1COrderingTablea0">begin</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea1">COrderingTable</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>T *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea2">get</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea3">getSize</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea4">init</a> (<a class="el" href="a04558.html#a11">uint32</a> nNbEntries)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea5">insert</a> (<a class="el" href="a04558.html#a11">uint32</a> nEntryPos, T *pValue)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea6">next</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea7">reset</a> (<a class="el" href="a04558.html#a15">uint</a> maxElementToInsert)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTablea8">~COrderingTable</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a03031.html">CNode</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTabler0">_Allocator</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03031.html">CNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03031.html">CNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTabler2">_CurAllocatedNode</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03031.html">CNode</a> *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1COrderingTablea1" doxytag="NL3D::COrderingTable::COrderingTable" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::<a class="el" href="a03030.html">COrderingTable</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="a06135.html#l00130">130</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00124">NL3D::COrderingTable&lt; T &gt;::_Array</a>, <a class="el" href="a06135.html#l00121">NL3D::COrderingTable&lt; T &gt;::_CurAllocatedNode</a>, <a class="el" href="a06135.html#l00123">NL3D::COrderingTable&lt; T &gt;::_nNbElt</a>, and <a class="el" href="a06135.html#l00125">NL3D::COrderingTable&lt; T &gt;::_SelNode</a>.
+<p>
+<div class="fragment"><pre>00131 {
+00132 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a> = 0;
+00133 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a> = NULL;
+00134 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a> = NULL;
+00135 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler2">_CurAllocatedNode</a>= NULL;
+00136 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea8" doxytag="NL3D::COrderingTable::~COrderingTable" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::~<a class="el" href="a03030.html">COrderingTable</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="a06135.html#l00139">139</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00124">NL3D::COrderingTable&lt; T &gt;::_Array</a>.
+<p>
+<div class="fragment"><pre>00140 {
+00141 <span class="keywordflow">if</span>( <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a> != NULL )
+00142 <span class="keyword">delete</span> [] <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>;
+00143 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1COrderingTablea0" doxytag="NL3D::COrderingTable::begin" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::begin </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>
+Traversing operations<p>
+OrderingTable&lt;Face&gt; ot; ot.begin(); while( ot.get() != NULL ) { Face *pF = ot.get(); // Do the treatment you want here ot.next(); }
+<p>
+Definition at line <a class="el" href="a06135.html#l00205">205</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00124">NL3D::COrderingTable&lt; T &gt;::_Array</a>, <a class="el" href="a06135.html#l00125">NL3D::COrderingTable&lt; T &gt;::_SelNode</a>, <a class="el" href="a06135.html#l00222">NL3D::COrderingTable&lt; T &gt;::next()</a>, and <a class="el" href="a06135.html#l00109">NL3D::COrderingTable&lt; T &gt;::CNode::val</a>.
+<p>
+<div class="fragment"><pre>00206 {
+00207 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a> = &amp;<a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[0];
+00208 <span class="keywordflow">if</span>( <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a>-&gt;<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo1">val</a> == NULL )
+00209 <a class="code" href="a03030.html#NL3D_1_1COrderingTablea6">next</a>();
+00210 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea2" doxytag="NL3D::COrderingTable::get" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T * <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::get </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>
+Get the currently selected element.
+<p>
+Definition at line <a class="el" href="a06135.html#l00213">213</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00125">NL3D::COrderingTable&lt; T &gt;::_SelNode</a>, and <a class="el" href="a06135.html#l00109">NL3D::COrderingTable&lt; T &gt;::CNode::val</a>.
+<p>
+<div class="fragment"><pre>00214 {
+00215 <span class="keywordflow">if</span>( <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a> != NULL )
+00216 <span class="keywordflow">return</span> <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a>-&gt;<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo1">val</a>;
+00217 <span class="keywordflow">else</span>
+00218 <span class="keywordflow">return</span> NULL;
+00219 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea3" doxytag="NL3D::COrderingTable::getSize" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::getSize </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>
+Just return the number of entries in the ordering table
+<p>
+Definition at line <a class="el" href="a06135.html#l00159">159</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00123">NL3D::COrderingTable&lt; T &gt;::_nNbElt</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00160 {
+00161 <span class="keywordflow">return</span> <a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a>;
+00162 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea4" doxytag="NL3D::COrderingTable::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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::init </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>nNbEntries</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>
+Initialization. The ordering table has a range from 0 to nNbEntries-1
+<p>
+Definition at line <a class="el" href="a06135.html#l00146">146</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00124">NL3D::COrderingTable&lt; T &gt;::_Array</a>, <a class="el" href="a06135.html#l00123">NL3D::COrderingTable&lt; T &gt;::_nNbElt</a>, <a class="el" href="a06135.html#l00165">NL3D::COrderingTable&lt; T &gt;::reset()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00147 {
+00148 <span class="keywordflow">if</span>( <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a> != NULL )
+00149 {
+00150 <a class="code" href="a03030.html#NL3D_1_1COrderingTablea7">reset</a>(0);
+00151 <span class="keyword">delete</span> [] <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>;
+00152 }
+00153 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a> = nNbEntries;
+00154 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a> = <span class="keyword">new</span> CNode[<a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a>];
+00155 <a class="code" href="a03030.html#NL3D_1_1COrderingTablea7">reset</a>(0);
+00156 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea5" doxytag="NL3D::COrderingTable::insert" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>nEntryPos</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>T *&nbsp;</td>
+ <td class="mdname" nowrap> <em>pValue</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Insert an element in the ordering table NB: element is inserted in front of the list at nEntryPos (for optim consideration) NB: nlassert in debug if num of <a class="el" href="a03030.html#NL3D_1_1COrderingTablea5">insert()</a> calls exceed value passed in <a class="el" href="a03030.html#NL3D_1_1COrderingTablea7">reset()</a> NB: nlassert in debug if nEntryPos is =&gt; <a class="el" href="a03030.html#NL3D_1_1COrderingTablea3">getSize()</a>
+<p>
+Definition at line <a class="el" href="a06135.html#l00183">183</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00120">NL3D::COrderingTable&lt; T &gt;::_Allocator</a>, <a class="el" href="a06135.html#l00124">NL3D::COrderingTable&lt; T &gt;::_Array</a>, <a class="el" href="a06135.html#l00121">NL3D::COrderingTable&lt; T &gt;::_CurAllocatedNode</a>, <a class="el" href="a06135.html#l00123">NL3D::COrderingTable&lt; T &gt;::_nNbElt</a>, <a class="el" href="a06135.html#l00110">NL3D::COrderingTable&lt; T &gt;::CNode::next</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06135.html#l00109">NL3D::COrderingTable&lt; T &gt;::CNode::val</a>.
+<p>
+<div class="fragment"><pre>00184 {
+00185 <span class="preprocessor">#ifdef NL_DEBUG</span>
+00186 <span class="preprocessor"></span> <span class="comment">// check not so many calls to insert()</span>
+00187 <a class="code" href="a04199.html#a6">nlassert</a>( !<a class="code" href="a03030.html#NL3D_1_1COrderingTabler0">_Allocator</a>.empty() &amp;&amp; <a class="code" href="a03030.html#NL3D_1_1COrderingTabler2">_CurAllocatedNode</a> &lt; (&amp;<a class="code" href="a03030.html#NL3D_1_1COrderingTabler0">_Allocator</a>[0])+_Allocator.size() );
+00188 <span class="comment">// check good entry size</span>
+00189 <a class="code" href="a04199.html#a6">nlassert</a>( nEntryPos &lt; _nNbElt );
+00190 <span class="preprocessor">#endif</span>
+00191 <span class="preprocessor"></span> <span class="comment">// get the head list node</span>
+00192 CNode *headNode = &amp;<a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[nEntryPos];
+00193 <span class="comment">// alocate a new node</span>
+00194 CNode *nextNode = <a class="code" href="a03030.html#NL3D_1_1COrderingTabler2">_CurAllocatedNode</a>++;
+00195 <span class="comment">// fill this new node with data of head node</span>
+00196 nextNode-&gt;<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo1">val</a>= headNode-&gt;val;
+00197 nextNode-&gt;next= headNode-&gt;next;
+00198 <span class="comment">// and replace head node with new data: consequence is pValue is insert in front of the list</span>
+00199 headNode-&gt;val= pValue;
+00200 headNode-&gt;next= nextNode;
+00201 <span class="comment">// NB: prec of headNode is still correclty linked to headNode.</span>
+00202 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea6" doxytag="NL3D::COrderingTable::next" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::next </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>
+Move selection pointer to the next element
+<p>
+Definition at line <a class="el" href="a06135.html#l00222">222</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00125">NL3D::COrderingTable&lt; T &gt;::_SelNode</a>, <a class="el" href="a06135.html#l00110">NL3D::COrderingTable&lt; T &gt;::CNode::next</a>, and <a class="el" href="a06135.html#l00109">NL3D::COrderingTable&lt; T &gt;::CNode::val</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00205">NL3D::COrderingTable&lt; T &gt;::begin()</a>.
+<p>
+<div class="fragment"><pre>00223 {
+00224 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a> = <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a>-&gt;<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo0">next</a>;
+00225 <span class="keywordflow">while</span>( ( <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a> != NULL )&amp;&amp;( <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a>-&gt;<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo1">val</a> == NULL ) )
+00226 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a> = <a class="code" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</a>-&gt;<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo0">next</a>;
+00227 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTablea7" doxytag="NL3D::COrderingTable::reset" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::reset </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>maxElementToInsert</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>
+Put the ordering table to empty <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>maxElementToInsert</em>&nbsp;</td><td>prepare allocator for insert by setting maximum <a class="el" href="a03030.html#NL3D_1_1COrderingTablea5">insert()</a> that will arise.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06135.html#l00165">165</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+References <a class="el" href="a06135.html#l00120">NL3D::COrderingTable&lt; T &gt;::_Allocator</a>, <a class="el" href="a06135.html#l00124">NL3D::COrderingTable&lt; T &gt;::_Array</a>, <a class="el" href="a06135.html#l00121">NL3D::COrderingTable&lt; T &gt;::_CurAllocatedNode</a>, <a class="el" href="a06135.html#l00123">NL3D::COrderingTable&lt; T &gt;::_nNbElt</a>, <a class="el" href="a06135.html#l00110">NL3D::COrderingTable&lt; T &gt;::CNode::next</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a06135.html#l00109">NL3D::COrderingTable&lt; T &gt;::CNode::val</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00146">NL3D::COrderingTable&lt; T &gt;::init()</a>.
+<p>
+<div class="fragment"><pre>00166 {
+00167 <span class="comment">// reset allocation</span>
+00168 maxElementToInsert= max(1U, maxElementToInsert);
+00169 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler0">_Allocator</a>.resize(maxElementToInsert);
+00170 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler2">_CurAllocatedNode</a>= &amp;<a class="code" href="a03030.html#NL3D_1_1COrderingTabler0">_Allocator</a>[0];
+00171
+00172 <span class="comment">// reset OT.</span>
+00173 <span class="keywordflow">for</span>( <a class="code" href="a04558.html#a11">uint32</a> i = 0; i &lt; <a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a>-1; ++i )
+00174 {
+00175 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[i].<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo1">val</a> = NULL;
+00176 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[i].<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo0">next</a> = &amp;<a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[i+1];
+00177 }
+00178 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[<a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a>-1].<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo1">val</a> = NULL;
+00179 <a class="code" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</a>[<a class="code" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</a>-1].<a class="code" href="a03031.html#NL3D_1_1COrderingTable_1_1CNodeo0">next</a> = NULL;
+00180 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1COrderingTabler0" doxytag="NL3D::COrderingTable::_Allocator" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="a03031.html">CNode</a>&gt; <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::<a class="el" href="a03030.html#NL3D_1_1COrderingTabler0">_Allocator</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="a06135.html#l00120">120</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00183">NL3D::COrderingTable&lt; T &gt;::insert()</a>, and <a class="el" href="a06135.html#l00165">NL3D::COrderingTable&lt; T &gt;::reset()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTabler1" doxytag="NL3D::COrderingTable::_Array" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03031.html">CNode</a>* <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::<a class="el" href="a03030.html#NL3D_1_1COrderingTabler1">_Array</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="a06135.html#l00124">124</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00205">NL3D::COrderingTable&lt; T &gt;::begin()</a>, <a class="el" href="a06135.html#l00130">NL3D::COrderingTable&lt; T &gt;::COrderingTable()</a>, <a class="el" href="a06135.html#l00146">NL3D::COrderingTable&lt; T &gt;::init()</a>, <a class="el" href="a06135.html#l00183">NL3D::COrderingTable&lt; T &gt;::insert()</a>, <a class="el" href="a06135.html#l00165">NL3D::COrderingTable&lt; T &gt;::reset()</a>, and <a class="el" href="a06135.html#l00139">NL3D::COrderingTable&lt; T &gt;::~COrderingTable()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTabler2" doxytag="NL3D::COrderingTable::_CurAllocatedNode" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03031.html">CNode</a>* <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::<a class="el" href="a03030.html#NL3D_1_1COrderingTabler2">_CurAllocatedNode</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="a06135.html#l00121">121</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00130">NL3D::COrderingTable&lt; T &gt;::COrderingTable()</a>, <a class="el" href="a06135.html#l00183">NL3D::COrderingTable&lt; T &gt;::insert()</a>, and <a class="el" href="a06135.html#l00165">NL3D::COrderingTable&lt; T &gt;::reset()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTabler3" doxytag="NL3D::COrderingTable::_nNbElt" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::<a class="el" href="a03030.html#NL3D_1_1COrderingTabler3">_nNbElt</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="a06135.html#l00123">123</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00130">NL3D::COrderingTable&lt; T &gt;::COrderingTable()</a>, <a class="el" href="a06135.html#l00159">NL3D::COrderingTable&lt; T &gt;::getSize()</a>, <a class="el" href="a06135.html#l00146">NL3D::COrderingTable&lt; T &gt;::init()</a>, <a class="el" href="a06135.html#l00183">NL3D::COrderingTable&lt; T &gt;::insert()</a>, and <a class="el" href="a06135.html#l00165">NL3D::COrderingTable&lt; T &gt;::reset()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1COrderingTabler4" doxytag="NL3D::COrderingTable::_SelNode" ></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" colspan="4">
+template&lt;class T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03031.html">CNode</a>* <a class="el" href="a03030.html">NL3D::COrderingTable</a>&lt; T &gt;::<a class="el" href="a03030.html#NL3D_1_1COrderingTabler4">_SelNode</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="a06135.html#l00125">125</a> of file <a class="el" href="a06135.html">ordering_table.h</a>.
+<p>
+Referenced by <a class="el" href="a06135.html#l00205">NL3D::COrderingTable&lt; T &gt;::begin()</a>, <a class="el" href="a06135.html#l00130">NL3D::COrderingTable&lt; T &gt;::COrderingTable()</a>, <a class="el" href="a06135.html#l00213">NL3D::COrderingTable&lt; T &gt;::get()</a>, and <a class="el" href="a06135.html#l00222">NL3D::COrderingTable&lt; T &gt;::next()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06135.html">ordering_table.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:57:23 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>