aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03064.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a03064.html')
-rw-r--r--docs/doxygen/nel/a03064.html379
1 files changed, 379 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03064.html b/docs/doxygen/nel/a03064.html
new file mode 100644
index 00000000..8fe520b1
--- /dev/null
+++ b/docs/doxygen/nel/a03064.html
@@ -0,0 +1,379 @@
+<!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::CTessList&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::CTessList&lt; T &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a06496.html">tess_list.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T&gt;<br>
+ class NL3D::CTessList&lt; T &gt;</h3>
+
+A basic speed list gestion, to add/remove already created Object. Object must herit from <a class="el" href="a02718.html">CTessNodeList</a>. Also, provide a fast <a class="el" href="a03064.html#NL3D_1_1CTessLista5">size()</a>. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <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="a06496.html#l00061">61</a> of file <a class="el" href="a06496.html">tess_list.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="a03064.html#NL3D_1_1CTessLista0">append</a> (T *node)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>T *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista1">begin</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista2">clear</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista3">CTessList</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista4">remove</a> (T *node)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessLista5">size</a> () const </td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>T *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessListr0">Root</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03064.html#NL3D_1_1CTessListr1">Size</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTessLista3" doxytag="NL3D::CTessList::CTessList" ></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="a03064.html">NL3D::CTessList</a>&lt; T &gt;::<a class="el" href="a03064.html">CTessList</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><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="a06496.html#l00068">68</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+<div class="fragment"><pre>00068 {<a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= NULL; <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>= 0;}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTessLista0" doxytag="NL3D::CTessList::append" ></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="a03064.html">NL3D::CTessList</a>&lt; T &gt;::append </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>node</em> </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="a06496.html#l00073">73</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00089">NL3D::CLandscapeVegetableBlock::init()</a>.
+<p>
+<div class="fragment"><pre>00074 {
+00075 <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>++;
+00076 <a class="code" href="a04199.html#a6">nlassert</a>(node);
+00077 <span class="comment">// inserted???</span>
+00078 <a class="code" href="a04199.html#a6">nlassert</a>(node-&gt;Prec==NULL &amp;&amp; Root!=node);
+00079 <span class="comment">// update Next.</span>
+00080 node-&gt;Next= <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>;
+00081 <span class="keywordflow">if</span>(<a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>)
+00082 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>-&gt;Prec= node;
+00083 <span class="comment">// update Prec.</span>
+00084 node-&gt;Prec= NULL;
+00085 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= node;
+00086 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTessLista1" doxytag="NL3D::CTessList::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"> T* <a class="el" href="a03064.html">NL3D::CTessList</a>&lt; T &gt;::begin </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="a06496.html#l00071">71</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06161.html#l01329">NL3D::CPatch::computeGeomorphAlphaFar1VertexListVB()</a>, <a class="el" href="a06161.html#l01311">NL3D::CPatch::computeGeomorphFar0VertexListVB()</a>, <a class="el" href="a06161.html#l01359">NL3D::CPatch::computeGeomorphTileVertexListVB()</a>, <a class="el" href="a06161.html#l01298">NL3D::CPatch::computeGeomorphVertexList()</a>, <a class="el" href="a06161.html#l00893">NL3D::CPatch::debugAllocationMarkIndicesFarList()</a>, <a class="el" href="a06161.html#l00904">NL3D::CPatch::debugAllocationMarkIndicesNearList()</a>, <a class="el" href="a06161.html#l01609">NL3D::CPatch::fillFar0DLMUvOnlyVertexListVB()</a>, <a class="el" href="a06161.html#l01161">NL3D::CPatch::fillFar0VertexListVB()</a>, <a class="el" href="a06161.html#l01664">NL3D::CPatch::fillFar1DLMUvOnlyVertexListVB()</a>, <a class="el" href="a06161.html#l01173">NL3D::CPatch::fillFar1VertexListVB()</a>, <a class="el" href="a06161.html#l01185">NL3D::CPatch::fillTileVertexListVB()</a>, <a class="el" href="a06491.html#l00267">NL3D::CTessBlock::refillFaceVectorTile()</a>, <a class="el" href="a06161.html#l00744">NL3D::CPatch::updateFar0VBAlloc()</a>, <a class="el" href="a06161.html#l00759">NL3D::CPatch::updateFar1VBAlloc()</a>, and <a class="el" href="a06161.html#l00774">NL3D::CPatch::updateTileVBAlloc()</a>.
+<p>
+<div class="fragment"><pre>00071 {<span class="keywordflow">return</span> <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTessLista2" doxytag="NL3D::CTessList::clear" ></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="a03064.html">NL3D::CTessList</a>&lt; T &gt;::clear </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="a06496.html#l00112">112</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+<div class="fragment"><pre>00113 {
+00114 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= NULL;
+00115 <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>= 0;
+00116 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTessLista4" doxytag="NL3D::CTessList::remove" ></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="a03064.html">NL3D::CTessList</a>&lt; T &gt;::remove </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>node</em> </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="a06496.html#l00087">87</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+Referenced by <a class="el" href="a05876.html#l00124">NL3D::CLandscapeVegetableBlock::release()</a>.
+<p>
+<div class="fragment"><pre>00088 {
+00089 <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>--;
+00090 <a class="code" href="a04199.html#a6">nlassert</a>(node);
+00091 <span class="comment">// inserted???</span>
+00092 <a class="code" href="a04199.html#a6">nlassert</a>(node-&gt;Prec!=NULL || Root==node);
+00093 <a class="code" href="a04199.html#a6">nlassert</a>(Size&gt;=0);
+00094 <span class="comment">// update Prec.</span>
+00095 <span class="keywordflow">if</span>(!node-&gt;Prec)
+00096 {
+00097 <a class="code" href="a04199.html#a6">nlassert</a>(Root==node);
+00098 <a class="code" href="a03064.html#NL3D_1_1CTessListr0">Root</a>= (T*)node-&gt;Next;
+00099 }
+00100 <span class="keywordflow">else</span>
+00101 {
+00102 node-&gt;Prec-&gt;Next= node-&gt;Next;
+00103 }
+00104 <span class="comment">// update Next.</span>
+00105 <span class="keywordflow">if</span>(node-&gt;Next)
+00106 node-&gt;Next-&gt;Prec= node-&gt;Prec;
+00107 node-&gt;Next= NULL;
+00108 node-&gt;Prec= NULL;
+00109 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTessLista5" doxytag="NL3D::CTessList::size" ></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#a14">sint</a> <a class="el" href="a03064.html">NL3D::CTessList</a>&lt; T &gt;::<a class="el" href="a04223.html#a587">size</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> 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="a06496.html#l00070">70</a> of file <a class="el" href="a06496.html">tess_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06491.html#l00302">NL3D::CTessBlock::createFaceVectorTile()</a>, and <a class="el" href="a06491.html#l00267">NL3D::CTessBlock::refillFaceVectorTile()</a>.
+<p>
+<div class="fragment"><pre>00070 {<span class="keywordflow">return</span> <a class="code" href="a03064.html#NL3D_1_1CTessListr1">Size</a>;}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTessListr0" doxytag="NL3D::CTessList::Root" ></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="a03064.html">NL3D::CTessList</a>&lt; T &gt;::<a class="el" href="a03064.html#NL3D_1_1CTessListr0">Root</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="a06496.html#l00064">64</a> of file <a class="el" href="a06496.html">tess_list.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTessListr1" doxytag="NL3D::CTessList::Size" ></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#a14">sint</a> <a class="el" href="a03064.html">NL3D::CTessList</a>&lt; T &gt;::<a class="el" href="a03064.html#NL3D_1_1CTessListr1">Size</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="a06496.html#l00065">65</a> of file <a class="el" href="a06496.html">tess_list.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06496.html">tess_list.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:49:01 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>