aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02518.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02518.html')
-rw-r--r--docs/doxygen/nel/a02518.html463
1 files changed, 463 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02518.html b/docs/doxygen/nel/a02518.html
new file mode 100644
index 00000000..1bec299a
--- /dev/null
+++ b/docs/doxygen/nel/a02518.html
@@ -0,0 +1,463 @@
+<!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::CFastPtrList&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::CFastPtrList&lt; T &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a05705.html">fast_ptr_list.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CFastPtrList&lt; T &gt;:
+<p><center><img src="a02518.png" usemap="#NL3D::CFastPtrList< T >_map" border="0" alt=""></center>
+<map name="NL3D::CFastPtrList< T >_map">
+<area href="a02519.html" alt="NL3D::CFastPtrListBase" shape="rect" coords="0,0,149,24">
+</map>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T&gt;<br>
+ class NL3D::CFastPtrList&lt; T &gt;</h3>
+
+Type Safe version of <a class="el" href="a02519.html">CFastPtrListBase</a> <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2002 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05705.html#l00120">120</a> of file <a class="el" href="a05705.html">fast_ptr_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>T **&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02518.html#NL3D_1_1CFastPtrLista0">begin</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the head on the array of elements. NULL if none. <a href="#NL3D_1_1CFastPtrLista0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02518.html#NL3D_1_1CFastPtrLista1">CFastPtrList</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CFastPtrLista1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02518.html#NL3D_1_1CFastPtrLista2">clear</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clear the list <a href="#NL3D_1_1CFastPtrLista2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02518.html#NL3D_1_1CFastPtrLista3">empty</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="a02518.html#NL3D_1_1CFastPtrLista4">erase</a> (<a class="el" href="a02520.html">CFastPtrListNode</a> *node)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">erase an element in the list through its Node, unlinking older if necessary <a href="#NL3D_1_1CFastPtrLista4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02519.html#NL3D_1_1CFastPtrListBasea6">insert</a> (void *element, <a class="el" href="a02520.html">CFastPtrListNode</a> *node)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">insert an element in the list through its Node, unlinking older if necessary <a href="#NL3D_1_1CFastPtrListBasea6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02518.html#NL3D_1_1CFastPtrLista6">insert</a> (T *element, <a class="el" href="a02520.html">CFastPtrListNode</a> *node)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">insert an element in the list through its Node, unlinking older if necessary <a href="#NL3D_1_1CFastPtrLista6"></a><br><br></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="a02518.html#NL3D_1_1CFastPtrLista7">size</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get the number of elements <a href="#NL3D_1_1CFastPtrLista7"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02518.html#NL3D_1_1CFastPtrLista8">~CFastPtrList</a> ()</td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CFastPtrLista1" doxytag="NL3D::CFastPtrList::CFastPtrList" ></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="a02518.html">NL3D::CFastPtrList</a>&lt; T &gt;::<a class="el" href="a02518.html">CFastPtrList</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>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05705.html#l00124">124</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+<div class="fragment"><pre>00124 {}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrLista8" doxytag="NL3D::CFastPtrList::~CFastPtrList" ></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="a02518.html">NL3D::CFastPtrList</a>&lt; T &gt;::~<a class="el" href="a02518.html">CFastPtrList</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="a05705.html#l00125">125</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+<div class="fragment"><pre>00125 {}
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CFastPtrLista0" doxytag="NL3D::CFastPtrList::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="a02518.html">NL3D::CFastPtrList</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><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the head on the array of elements. NULL if none.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02519.html#NL3D_1_1CFastPtrListBasea0">NL3D::CFastPtrListBase</a>.
+<p>
+Definition at line <a class="el" href="a05705.html#l00133">133</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06304.html#l00303">NL3D::CQuadGridClipManager::traverseClip()</a>.
+<p>
+<div class="fragment"><pre>00133 {<span class="keywordflow">return</span> (T**)CFastPtrListBase::begin();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrLista2" doxytag="NL3D::CFastPtrList::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="a02518.html">NL3D::CFastPtrList</a>&lt; T &gt;::clear </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>
+clear the list
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02519.html#NL3D_1_1CFastPtrListBasea3">NL3D::CFastPtrListBase</a>.
+<p>
+Definition at line <a class="el" href="a05705.html#l00139">139</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+<div class="fragment"><pre>00139 {CFastPtrListBase::clear();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrLista3" doxytag="NL3D::CFastPtrList::empty" ></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"> bool <a class="el" href="a02518.html">NL3D::CFastPtrList</a>&lt; T &gt;::empty </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>
+Reimplemented from <a class="el" href="a02519.html#NL3D_1_1CFastPtrListBasea4">NL3D::CFastPtrListBase</a>.
+<p>
+Definition at line <a class="el" href="a05705.html#l00136">136</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+<div class="fragment"><pre>00136 {<span class="keywordflow">return</span> CFastPtrListBase::empty();}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrLista4" doxytag="NL3D::CFastPtrList::erase" ></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="a02518.html">NL3D::CFastPtrList</a>&lt; T &gt;::erase </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02520.html">CFastPtrListNode</a> *&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>
+erase an element in the list through its Node, unlinking older if necessary
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02519.html#NL3D_1_1CFastPtrListBasea5">NL3D::CFastPtrListBase</a>.
+<p>
+Definition at line <a class="el" href="a05705.html#l00130">130</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+<div class="fragment"><pre>00130 {CFastPtrListBase::erase(node);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrListBasea6" doxytag="NL3D::CFastPtrList::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" nowrap valign="top"> void NL3D::CFastPtrListBase::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void *&nbsp;</td>
+ <td class="mdname" nowrap> <em>element</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02520.html">CFastPtrListNode</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>node</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inherited]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+insert an element in the list through its Node, unlinking older if necessary
+<p>
+
+<p>
+Definition at line <a class="el" href="a05704.html#l00067">67</a> of file <a class="el" href="a05704.html">fast_ptr_list.cpp</a>.
+<p>
+References <a class="el" href="a05705.html#l00108">NL3D::CFastPtrListBase::_Elements</a>, <a class="el" href="a05705.html#l00067">NL3D::CFastPtrListNode::_IndexInOwner</a>, <a class="el" href="a05705.html#l00109">NL3D::CFastPtrListBase::_Nodes</a>, <a class="el" href="a05705.html#l00066">NL3D::CFastPtrListNode::_Owner</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05704.html#l00037">NL3D::CFastPtrListNode::unlink()</a>.
+<p>
+<div class="fragment"><pre>00068 {
+00069 <a class="code" href="a04199.html#a6">nlassert</a>(element);
+00070 <a class="code" href="a04199.html#a6">nlassert</a>(node);
+00071
+00072 <span class="comment">// if this node is already linked to me, no-op!</span>
+00073 <span class="keywordflow">if</span>(node-&gt;_Owner==<span class="keyword">this</span>)
+00074 <span class="keywordflow">return</span>;
+00075
+00076 <span class="comment">// first unlink the node from its older list if any.</span>
+00077 node-&gt;unlink();
+00078
+00079 <span class="comment">// then add the elements to the list, and update node info</span>
+00080 _Elements.push_back(element);
+00081 _Nodes.push_back(node);
+00082 node-&gt;_Owner= <span class="keyword">this</span>;
+00083 node-&gt;_IndexInOwner= _Nodes.size()-1;
+00084 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrLista6" doxytag="NL3D::CFastPtrList::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="a02518.html">NL3D::CFastPtrList</a>&lt; T &gt;::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T *&nbsp;</td>
+ <td class="mdname" nowrap> <em>element</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a02520.html">CFastPtrListNode</a> *&nbsp;</td>
+ <td class="mdname" nowrap> <em>node</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+insert an element in the list through its Node, unlinking older if necessary
+<p>
+
+<p>
+Definition at line <a class="el" href="a05705.html#l00128">128</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06304.html#l00204">NL3D::CQuadGridClipManager::linkModel()</a>.
+<p>
+<div class="fragment"><pre>00128 {CFastPtrListBase::insert(element, node);}
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CFastPtrLista7" doxytag="NL3D::CFastPtrList::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#a15">uint</a> <a class="el" href="a02518.html">NL3D::CFastPtrList</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>
+get the number of elements
+<p>
+
+<p>
+Reimplemented from <a class="el" href="a02519.html#NL3D_1_1CFastPtrListBasea8">NL3D::CFastPtrListBase</a>.
+<p>
+Definition at line <a class="el" href="a05705.html#l00135">135</a> of file <a class="el" href="a05705.html">fast_ptr_list.h</a>.
+<p>
+Referenced by <a class="el" href="a06304.html#l00303">NL3D::CQuadGridClipManager::traverseClip()</a>.
+<p>
+<div class="fragment"><pre>00135 {<span class="keywordflow">return</span> <a class="code" href="a04115.html#a94">CFastPtrListBase::size</a>();}
+</pre></div> </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a05705.html">fast_ptr_list.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 06:46:32 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>