aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03135.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03135.html1096
1 files changed, 1096 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03135.html b/docs/doxygen/nel/a03135.html
new file mode 100644
index 00000000..be77a6aa
--- /dev/null
+++ b/docs/doxygen/nel/a03135.html
@@ -0,0 +1,1096 @@
+<!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::CPSAttrib&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::CPSAttrib&lt; T &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a06213.html">ps_attrib.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;typename T&gt;<br>
+ class NL3D::CPSAttrib&lt; T &gt;</h3>
+
+This class is intended to store an attribute list in a located or in a located bindable such as speed, color and so on. It is important to remember that a located holds all instance of object of one type (force, emitter, particles or both...). <dl compact><dt><b>Author:</b></dt><dd>Nicolas Vizerie <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00264">264</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Useful typedefs</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef TContType::const_iterator&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_0">const_iterator</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">a const iterator on the datas <a href="#NL3D_1_1CPSAttribz702_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef TContType::iterator&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_1">iterator</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">an iterator on the datas <a href="#NL3D_1_1CPSAttribz702_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef <a class="el" href="a03254.html">CPSVector</a>&lt; T &gt;::<a class="el" href="a03254.html">V</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_2">TContType</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>typedef T&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_3">value_type</a></td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The type used by the container. Its is the type used to instanciate this template. <a href="#NL3D_1_1CPSAttribz702_3"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Element access.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>T &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz706_0">back</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const T &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz706_1">back</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>T &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz706_2">operator[]</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get a reference on an attribute instance <a href="#NL3D_1_1CPSAttribz706_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const T &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz706_3">operator[]</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get a const reference on an attribute instance <a href="#NL3D_1_1CPSAttribz706_3"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Iterator / enumeration</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_0">const_iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz708_0">begin</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a const_iterator at the beginning of the container. <a href="#NL3D_1_1CPSAttribz708_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_1">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz708_1">begin</a> (void)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get an iterator at the beginning of the container. <a href="#NL3D_1_1CPSAttribz708_1"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_0">const_iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz708_2">end</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a const_iterator at the end of the container. <a href="#NL3D_1_1CPSAttribz708_2"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_1">iterator</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz708_3">end</a> (void)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get an iterator at the end of the container. <a href="#NL3D_1_1CPSAttribz708_3"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Add / remove methods</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz710_0">clear</a> (void)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">clear the container <a href="#NL3D_1_1CPSAttribz710_0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz710_1">insert</a> (const T &amp;<a class="el" href="a04223.html#a627">t</a>=T())</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz710_2">remove</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove an object from the tab <a href="#NL3D_1_1CPSAttribz710_2"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribz700_0">CPSAttrib</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">ctor <a href="#NL3D_1_1CPSAttribz700_0"></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="a03135.html#NL3D_1_1CPSAttribz700_1">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Serialization method. <a href="#NL3D_1_1CPSAttribz700_1"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Size of the container</div></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="a03135.html#NL3D_1_1CPSAttribz704_0">getMaxSize</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return the max number of instance in the container <a href="#NL3D_1_1CPSAttribz704_0"></a><br><br></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="a03135.html#NL3D_1_1CPSAttribz704_1">getSize</a> (void) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">return the number of instance in the container <a href="#NL3D_1_1CPSAttribz704_1"></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="a03135.html#NL3D_1_1CPSAttribz704_2">resize</a> (<a class="el" href="a04558.html#a11">uint32</a> nbInstances)</td></tr>
+
+<tr><td colspan=2><br><h2>Protected Attributes</h2></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="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03254.html">TContType</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a></td></tr>
+
+</table>
+<hr><h2>Member Typedef Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSAttribz702_0" doxytag="NL3D::CPSAttrib::const_iterator" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef TContType::const_iterator <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_0">const_iterator</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+a const iterator on the datas
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00291">291</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz702_1" doxytag="NL3D::CPSAttrib::iterator" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef TContType::iterator <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_1">iterator</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+an iterator on the datas
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00289">289</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz702_2" doxytag="NL3D::CPSAttrib::TContType" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef <a class="el" href="a03254.html">CPSVector</a>&lt;T&gt;::<a class="el" href="a03254.html">V</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03254.html">TContType</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Container used by this class to store its datas. The container type is likely to change depending on memory requirement.
+<p>
+Definition at line <a class="el" href="a06213.html#l00283">283</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz702_3" doxytag="NL3D::CPSAttrib::value_type" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> typedef T <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_3">value_type</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The type used by the container. Its is the type used to instanciate this template.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00286">286</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSAttribz700_0" doxytag="NL3D::CPSAttrib::CPSAttrib" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03135.html">CPSAttrib</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>
+ctor
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00397">397</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+References <a class="el" href="a06213.html#l00385">NL3D::CPSAttrib&lt; T &gt;::_MaxSize</a>, and <a class="el" href="a06247.html#l00069">NL3D::DefaultMaxLocatedInstance</a>.
+<p>
+<div class="fragment"><pre>00398 {
+00399 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a> = <a class="code" href="a05363.html#a252">DefaultMaxLocatedInstance</a>;
+00400 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSAttribz706_0" doxytag="NL3D::CPSAttrib::back" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T&amp; <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::back </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="a06213.html#l00338">338</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+<div class="fragment"><pre>00339 {
+00340 <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.back();
+00341 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz706_1" doxytag="NL3D::CPSAttrib::back" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const T&amp; <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::back </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="a06213.html#l00332">332</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+<div class="fragment"><pre>00333 {
+00334 <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.back();
+00335 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz708_0" doxytag="NL3D::CPSAttrib::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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_0">const_iterator</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a const_iterator at the beginning of the container.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00359">359</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+<div class="fragment"><pre>00359 { <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.begin(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz708_1" doxytag="NL3D::CPSAttrib::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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_1">iterator</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</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>
+Get an iterator at the beginning of the container.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00353">353</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l00341">NL3D::CPSLocated::allocateParametricInfos()</a>, <a class="el" href="a06279.html#l00286">NL3D::CPSShockWave::draw()</a>, <a class="el" href="a06250.html#l01631">NL3D::CPSConstraintMesh::draw()</a>, <a class="el" href="a06235.html#l00335">NL3D::CPSFanLight::draw()</a>, <a class="el" href="a06233.html#l00838">NL3D::CPSFaceLookAt::draw()</a>, <a class="el" href="a06226.html#l00122">NL3D::CPSDot::draw()</a>, <a class="el" href="a06262.html#l00339">NL3D::FillQuadCoordsLocalTime()</a>, <a class="el" href="a06260.html#l00049">NL3D::CPSPlaneBasisFollowSpeed::make()</a>, <a class="el" href="a06219.html#l00596">NL3D::CPSAttribMakerT&lt; uint32, CPSValueBlendFunc&lt; uint32 &gt; &gt;::make()</a>, <a class="el" href="a06260.html#l00182">NL3D::CPSPlaneBasisFollowSpeed::make4()</a>, <a class="el" href="a06219.html#l00790">NL3D::CPSAttribMakerT&lt; uint32, CPSValueBlendFunc&lt; uint32 &gt; &gt;::make4()</a>, <a class="el" href="a06260.html#l00229">NL3D::CPSPlaneBasisFollowSpeed::makeN()</a>, <a class="el" href="a06219.html#l00978">NL3D::CPSAttribMakerT&lt; uint32, CPSValueBlendFunc&lt; uint32 &gt; &gt;::makeN()</a>, <a class="el" href="a06287.html#l01275">NL3D::CPSZoneRectangle::performMotion()</a>, <a class="el" href="a06287.html#l00946">NL3D::CPSZoneCylinder::performMotion()</a>, <a class="el" href="a06287.html#l00533">NL3D::CPSZoneDisc::performMotion()</a>, <a class="el" href="a06287.html#l00329">NL3D::CPSZoneSphere::performMotion()</a>, <a class="el" href="a06287.html#l00215">NL3D::CPSZonePlane::performMotion()</a>, <a class="el" href="a06246.html#l00302">NL3D::CPSLocated::performParametricMotion()</a>, <a class="el" href="a06229.html#l00665">NL3D::CPSEmitter::processRegularEmission()</a>, <a class="el" href="a06229.html#l01000">NL3D::CPSEmitter::processRegularEmissionConsistent()</a>, <a class="el" href="a06229.html#l01426">NL3D::CPSEmitter::processRegularEmissionConsistentWithNoLOD()</a>, <a class="el" href="a06229.html#l00500">NL3D::CPSEmitter::processRegularEmissionWithNoLOD()</a>, <a class="el" href="a06246.html#l01821">NL3D::CPSLocated::resetCollisionInfo()</a>, <a class="el" href="a06275.html#l00538">NL3D::CPSRibbonBase::resetFromOwner()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00448">NL3D::CPSZoneSphere::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a06229.html#l02491">NL3D::CPSSphericalEmitter::showTool()</a>, <a class="el" href="a06281.html#l00109">NL3D::CPSSound::step()</a>, <a class="el" href="a06246.html#l01466">NL3D::CPSLocated::step()</a>, <a class="el" href="a06244.html#l00146">NL3D::CPSLight::step()</a>, <a class="el" href="a06231.html#l00212">NL3D::CPSFace::step()</a>, <a class="el" href="a06275.html#l00139">NL3D::CPSRibbonBase::updateGlobals()</a>, <a class="el" href="a06246.html#l01621">NL3D::CPSLocated::updateLife()</a>, <a class="el" href="a06250.html#l00295">NL3D::CPSMesh::updatePos()</a>, and <a class="el" href="a06250.html#l00434">NL3D::CPSMesh::~CPSMesh()</a>.
+<p>
+<div class="fragment"><pre>00353 { <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.begin(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz710_0" doxytag="NL3D::CPSAttrib::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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03135.html">NL3D::CPSAttrib</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>
+clear the container
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00377">377</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+Referenced by <a class="el" href="a06251.html#l00105">NL3D::CPSMesh::invalidate()</a>.
+<p>
+<div class="fragment"><pre>00378 {
+00379 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.clear();
+00380 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz708_2" doxytag="NL3D::CPSAttrib::end" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_0">const_iterator</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::end </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get a const_iterator at the end of the container.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00362">362</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+<div class="fragment"><pre>00362 { <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.end(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz708_3" doxytag="NL3D::CPSAttrib::end" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03135.html#NL3D_1_1CPSAttribz702_1">iterator</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::end </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>
+Get an iterator at the end of the container.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00356">356</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l00341">NL3D::CPSLocated::allocateParametricInfos()</a>, <a class="el" href="a06229.html#l00901">NL3D::GenEmitterPositions()</a>, <a class="el" href="a06229.html#l00951">NL3D::GenEmitterPositionsWithLOD()</a>, <a class="el" href="a06287.html#l01275">NL3D::CPSZoneRectangle::performMotion()</a>, <a class="el" href="a06287.html#l00946">NL3D::CPSZoneCylinder::performMotion()</a>, <a class="el" href="a06287.html#l00533">NL3D::CPSZoneDisc::performMotion()</a>, <a class="el" href="a06287.html#l00329">NL3D::CPSZoneSphere::performMotion()</a>, <a class="el" href="a06287.html#l00215">NL3D::CPSZonePlane::performMotion()</a>, <a class="el" href="a06246.html#l01821">NL3D::CPSLocated::resetCollisionInfo()</a>, <a class="el" href="a06275.html#l00538">NL3D::CPSRibbonBase::resetFromOwner()</a>, <a class="el" href="a06287.html#l01160">NL3D::CPSZoneCylinder::show()</a>, <a class="el" href="a06287.html#l00625">NL3D::CPSZoneDisc::show()</a>, <a class="el" href="a06287.html#l00448">NL3D::CPSZoneSphere::show()</a>, <a class="el" href="a06287.html#l00140">NL3D::CPSZonePlane::show()</a>, <a class="el" href="a06239.html#l00413">NL3D::CPSGravity::show()</a>, <a class="el" href="a06229.html#l02491">NL3D::CPSSphericalEmitter::showTool()</a>, <a class="el" href="a06246.html#l01621">NL3D::CPSLocated::updateLife()</a>, and <a class="el" href="a06250.html#l00434">NL3D::CPSMesh::~CPSMesh()</a>.
+<p>
+<div class="fragment"><pre>00356 { <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.end(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz704_0" doxytag="NL3D::CPSAttrib::getMaxSize" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::getMaxSize </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the max number of instance in the container
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00306">306</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l00133">NL3D::CPSLocated::checkIntegrity()</a>, <a class="el" href="a06287.html#l00713">NL3D::CPSZoneDisc::newElement()</a>, <a class="el" href="a06287.html#l00515">NL3D::CPSZoneSphere::newElement()</a>, and <a class="el" href="a06287.html#l00201">NL3D::CPSZonePlane::newElement()</a>.
+<p>
+<div class="fragment"><pre>00306 { <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz704_1" doxytag="NL3D::CPSAttrib::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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::getSize </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> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+return the number of instance in the container
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00303">303</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l00133">NL3D::CPSLocated::checkIntegrity()</a>, <a class="el" href="a06287.html#l00477">NL3D::CPSZoneSphere::getMatrix()</a>, <a class="el" href="a06287.html#l00713">NL3D::CPSZoneDisc::newElement()</a>, <a class="el" href="a06287.html#l00515">NL3D::CPSZoneSphere::newElement()</a>, <a class="el" href="a06287.html#l00201">NL3D::CPSZonePlane::newElement()</a>, <a class="el" href="a06250.html#l00210">NL3D::CPSMesh::releaseAllRef()</a>, <a class="el" href="a06287.html#l00659">NL3D::CPSZoneDisc::setMatrix()</a>, <a class="el" href="a06287.html#l00467">NL3D::CPSZoneSphere::setMatrix()</a>, <a class="el" href="a06287.html#l00288">NL3D::CPSZonePlane::setMatrix()</a>, and <a class="el" href="a06229.html#l02059">NL3D::CPSEmitter::updateMaxCountVect()</a>.
+<p>
+<div class="fragment"><pre>00303 { <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size(); }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz710_1" doxytag="NL3D::CPSAttrib::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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::insert </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>t</em> = T() </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>
+create a new object in the tab. It is append at the end of it <dl compact><dt><b>Returns:</b></dt><dd>the index if there were enough room for it or -1 else</dd></dl>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00413">413</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+References <a class="el" href="a06213.html#l00385">NL3D::CPSAttrib&lt; T &gt;::_MaxSize</a>, <a class="el" href="a06247.html#l00069">NL3D::DefaultMaxLocatedInstance</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05646.html#l00985">t</a>.
+<p>
+Referenced by <a class="el" href="a06287.html#l01254">NL3D::CPSZoneCylinder::newElement()</a>, <a class="el" href="a06287.html#l00713">NL3D::CPSZoneDisc::newElement()</a>, <a class="el" href="a06287.html#l00515">NL3D::CPSZoneSphere::newElement()</a>, <a class="el" href="a06287.html#l00201">NL3D::CPSZonePlane::newElement()</a>, <a class="el" href="a06250.html#l00225">NL3D::CPSMesh::newElement()</a>, <a class="el" href="a06246.html#l00852">NL3D::CPSLocated::newElement()</a>, <a class="el" href="a06229.html#l01858">NL3D::CPSEmitter::newElement()</a>, <a class="el" href="a06246.html#l01783">NL3D::CPSLocated::queryCollisionInfo()</a>, <a class="el" href="a06229.html#l02059">NL3D::CPSEmitter::updateMaxCountVect()</a>, and <a class="el" href="a06250.html#l00295">NL3D::CPSMesh::updatePos()</a>.
+<p>
+<div class="fragment"><pre>00414 {
+00415 <span class="keywordflow">if</span> (<a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size() == <a class="code" href="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a> &amp;&amp; <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size() &gt; <a class="code" href="a05363.html#a252">DefaultMaxLocatedInstance</a>)
+00416 {
+00417 <span class="keywordflow">return</span> -1;
+00418 }
+00419 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.push_back(t);
+00420 <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size() - 1;
+00421 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz706_2" doxytag="NL3D::CPSAttrib::operator[]" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T&amp; <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::operator[] </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>index</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>
+get a reference on an attribute instance
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00323">323</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+<div class="fragment"><pre>00324 {
+00325 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00326 <span class="preprocessor"></span> <a class="code" href="a04199.html#a6">nlassert</a>(index &lt; <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size());
+00327 <span class="preprocessor"> #endif</span>
+00328 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>[<a class="code" href="a04223.html#a566">index</a>];
+00329 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz706_3" doxytag="NL3D::CPSAttrib::operator[]" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const T&amp; <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::operator[] </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>index</em> </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 a const reference on an attribute instance
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00314">314</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+<div class="fragment"><pre>00315 {
+00316 <span class="preprocessor"> #ifdef NL_DEBUG</span>
+00317 <span class="preprocessor"></span> <a class="code" href="a04199.html#a6">nlassert</a>(index &lt; <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size());
+00318 <span class="preprocessor"> #endif</span>
+00319 <span class="preprocessor"></span> <span class="keywordflow">return</span> <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>[<a class="code" href="a04223.html#a566">index</a>];
+00320 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz710_2" doxytag="NL3D::CPSAttrib::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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::remove </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>index</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>
+remove an object from the tab
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00425">425</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06287.html#l01260">NL3D::CPSZoneCylinder::deleteElement()</a>, <a class="el" href="a06287.html#l00722">NL3D::CPSZoneDisc::deleteElement()</a>, <a class="el" href="a06287.html#l00523">NL3D::CPSZoneSphere::deleteElement()</a>, <a class="el" href="a06287.html#l00208">NL3D::CPSZonePlane::deleteElement()</a>, <a class="el" href="a06250.html#l00260">NL3D::CPSMesh::deleteElement()</a>, <a class="el" href="a06246.html#l01051">NL3D::CPSLocated::deleteElement()</a>, <a class="el" href="a06229.html#l01873">NL3D::CPSEmitter::deleteElement()</a>, and <a class="el" href="a06229.html#l02059">NL3D::CPSEmitter::updateMaxCountVect()</a>.
+<p>
+<div class="fragment"><pre>00426 {
+00427 <a class="code" href="a04199.html#a6">nlassert</a>(index &lt; <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size());
+00428 <span class="comment">// we copy the last element in place of this one</span>
+00429 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a566">index</a> != <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size() - 1)
+00430 {
+00431 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>[<a class="code" href="a04223.html#a566">index</a>] = <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>[_Tab.size() - 1];
+00432 }
+00433 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.pop_back();
+00434
+00435 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz704_2" doxytag="NL3D::CPSAttrib::resize" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::resize </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>nbInstances</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>
+Resize the attributes tab. This tells what is the max number of element in this tab, but don't add elements. The behaviour is much like std::vector::reserve
+<p>
+Definition at line <a class="el" href="a06213.html#l00404">404</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+References <a class="el" href="a06213.html#l00385">NL3D::CPSAttrib&lt; T &gt;::_MaxSize</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a06246.html#l01783">NL3D::CPSLocated::queryCollisionInfo()</a>, <a class="el" href="a06287.html#l01247">NL3D::CPSZoneCylinder::resize()</a>, <a class="el" href="a06287.html#l00706">NL3D::CPSZoneDisc::resize()</a>, <a class="el" href="a06287.html#l00509">NL3D::CPSZoneSphere::resize()</a>, <a class="el" href="a06287.html#l00194">NL3D::CPSZonePlane::resize()</a>, <a class="el" href="a06250.html#l00423">NL3D::CPSMesh::resize()</a>, <a class="el" href="a06246.html#l01117">NL3D::CPSLocated::resize()</a>, <a class="el" href="a06229.html#l01895">NL3D::CPSEmitter::resize()</a>, and <a class="el" href="a06229.html#l02059">NL3D::CPSEmitter::updateMaxCountVect()</a>.
+<p>
+<div class="fragment"><pre>00405 {
+00406 <a class="code" href="a04199.html#a6">nlassert</a>(nbInstances &lt; (1 &lt;&lt; 16));
+00407 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.reserve(nbInstances);
+00408 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a> = nbInstances;
+00409 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribz700_1" doxytag="NL3D::CPSAttrib::serial" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Serialization method.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06213.html#l00438">438</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+References <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, <a class="el" href="a06461.html#l00266">NLMISC::IStream::serialVersion()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00439 {
+00440 <span class="comment">// version 4 to 5 =&gt; bug with size being &gt; capacity</span>
+00441 <a class="code" href="a04558.html#a14">sint</a> ver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(5);
+00442
+00443 <span class="comment">// in the first version, size was duplicated, we were using a std::vector ...</span>
+00444 <span class="keywordflow">if</span> (ver == 1)
+00445 {
+00446 <span class="keywordflow">if</span>(f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00447 {
+00448 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a>;
+00449 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size);
+00450 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_MaxSize);
+00451 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.reserve(_MaxSize);
+00452 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size); <span class="comment">// useless but, we were previously doing a serialCont... compatibility purpose only</span>
+00453 T tmp;
+00454 <span class="comment">// Read the vector</span>
+00455 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i = 0; i &lt; <a class="code" href="a04223.html#a587">size</a>; i++)
+00456 {
+00457 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(tmp);
+00458 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.push_back(tmp);
+00459 }
+00460 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size() == <a class="code" href="a04223.html#a587">size</a>);
+00461 }
+00462 <span class="keywordflow">else</span>
+00463 {
+00464 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size();
+00465 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size);
+00466 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_MaxSize);
+00467 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size);
+00468 <span class="comment">// write the vector</span>
+00469 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i = 0; i &lt; <a class="code" href="a04223.html#a587">size</a>; i++)
+00470 {
+00471 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Tab[i]);
+00472 }
+00473 }
+00474 }
+00475
+00476 <span class="keywordflow">if</span> (ver == 2) <span class="comment">// this version didn't work well, it relied on the capacity of the container to store the max number of instances</span>
+00477 {
+00478 <a class="code" href="a04199.html#a6">nlassert</a>(0);
+00479 <span class="comment">/* f.serial(_Tab);</span>
+00480 <span class="comment"> if (f.isReading())</span>
+00481 <span class="comment"> {</span>
+00482 <span class="comment"> _MaxSize = _Tab.capacity();</span>
+00483 <span class="comment"> }*/</span>
+00484 }
+00485
+00486 <span class="keywordflow">if</span> (ver &gt;= 3)
+00487 {
+00488 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_MaxSize);
+00489 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.reserve(_MaxSize);
+00490 <span class="comment">//f.serial(_Tab);</span>
+00491
+00492
+00493 <span class="keywordflow">if</span> (f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>())
+00494 {
+00495 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.clear();
+00496 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a>, maxsize;
+00497 <span class="keywordflow">if</span> (ver == 3)
+00498 {
+00499 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size, maxsize);
+00500 <span class="comment">//_Tab.reserve(maxsize);</span>
+00501 }
+00502 <span class="keywordflow">else</span>
+00503 {
+00504 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size);
+00505 maxsize = <a class="code" href="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a>;
+00506 }
+00507 <span class="keywordflow">if</span> (ver &gt; 4)
+00508 {
+00509 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.resize(size);
+00510 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; <a class="code" href="a04223.html#a587">size</a>; ++k)
+00511 {
+00512 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Tab[k]);
+00513 }
+00514 }
+00515 <span class="keywordflow">else</span>
+00516 {
+00517 <span class="comment">// bug for version 4: size may be &gt; maxsize</span>
+00518 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a587">size</a> &lt;= maxsize)
+00519 {
+00520 <span class="comment">// ok, no bug</span>
+00521 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.resize(size);
+00522 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; <a class="code" href="a04223.html#a587">size</a>; ++k)
+00523 {
+00524 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Tab[k]);
+00525 }
+00526 }
+00527 <span class="keywordflow">else</span>
+00528 {
+00529 <span class="comment">// size &gt; maxsize, not good ..!</span>
+00530 <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.resize(maxsize);
+00531 <a class="code" href="a04558.html#a15">uint</a> k;
+00532 <span class="keywordflow">for</span> (k = 0; k &lt; maxsize; ++k)
+00533 {
+00534 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Tab[k]);
+00535 }
+00536 T dummy;
+00537 <span class="keywordflow">for</span> (; k &lt; <a class="code" href="a04223.html#a587">size</a>; ++k)
+00538 {
+00539 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(dummy);
+00540 }
+00541 }
+00542 }
+00543 }
+00544 <span class="keywordflow">else</span>
+00545 {
+00546 <a class="code" href="a04558.html#a11">uint32</a> <a class="code" href="a04223.html#a587">size</a> = <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.size(), capacity = <a class="code" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a>.capacity();
+00547 <span class="keywordflow">if</span> (ver == 3)
+00548 {
+00549 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size, capacity);
+00550 }
+00551 <span class="keywordflow">else</span>
+00552 {
+00553 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(size);
+00554 }
+00555 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> k = 0; k &lt; <a class="code" href="a04223.html#a587">size</a>; ++k)
+00556 {
+00557 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_Tab[k]);
+00558 }
+00559 }
+00560 }
+00561 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CPSAttribp0" doxytag="NL3D::CPSAttrib::_MaxSize" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03135.html#NL3D_1_1CPSAttribp0">_MaxSize</a><code> [protected]</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="a06213.html#l00385">385</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>.
+<p>
+Referenced by <a class="el" href="a06213.html#l00397">NL3D::CPSAttrib&lt; T &gt;::CPSAttrib()</a>, <a class="el" href="a06213.html#l00413">NL3D::CPSAttrib&lt; T &gt;::insert()</a>, and <a class="el" href="a06213.html#l00404">NL3D::CPSAttrib&lt; T &gt;::resize()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CPSAttribp1" doxytag="NL3D::CPSAttrib::_Tab" ></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;typename T&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03254.html">TContType</a> <a class="el" href="a03135.html">NL3D::CPSAttrib</a>&lt; T &gt;::<a class="el" href="a03135.html#NL3D_1_1CPSAttribp1">_Tab</a><code> [protected]</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="a06213.html#l00384">384</a> of file <a class="el" href="a06213.html">ps_attrib.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a06213.html">ps_attrib.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 07:03:13 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>