aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02664.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a02664.html')
-rw-r--r--docs/doxygen/nel/a02664.html1130
1 files changed, 1130 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02664.html b/docs/doxygen/nel/a02664.html
new file mode 100644
index 00000000..9bb83480
--- /dev/null
+++ b/docs/doxygen/nel/a02664.html
@@ -0,0 +1,1130 @@
+<!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: TemplateNLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &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>NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt; Class Template Reference</h1><code>#include &lt;<a class="el" href="a05803.html">ident.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h3>template&lt;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt;<br>
+ class NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;</h3>
+
+This class is a basic hi nomber manipulation. An index variant is an maxIndex*64 bit number.<p>
+The resolution of the number is define by the template argument indexMax. By default the number is initialed with a 128 bits resolution. <dl compact><dt><b>Author:</b></dt><dd>Chafik sameh <p>
+Robert Gabriel <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="a05803.html#l00051">51</a> of file <a class="el" href="a05803.html">ident.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>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVarianta0">CIndexVariant</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;is)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">fill from read stream. <a href="#NLAIAGENT_1_1CIndexVarianta0"></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="a02664.html#NLAIAGENT_1_1CIndexVarianta1">CIndexVariant</a> (T n)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initializ by an value. <a href="#NLAIAGENT_1_1CIndexVarianta1"></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="a02664.html#NLAIAGENT_1_1CIndexVarianta2">CIndexVariant</a> (const T *<a class="el" href="a04223.html#a564">id</a>)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">fill with a table. <a href="#NLAIAGENT_1_1CIndexVarianta2"></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="a02664.html#NLAIAGENT_1_1CIndexVarianta3">CIndexVariant</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy contructor. <a href="#NLAIAGENT_1_1CIndexVarianta3"></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="a02664.html#NLAIAGENT_1_1CIndexVarianta4">getDebugString</a> (std::string &amp;str) const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Have a debug string. <a href="#NLAIAGENT_1_1CIndexVarianta4"></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="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</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="a02664.html#NLAIAGENT_1_1CIndexVarianta6">load</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;is)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">loading the nomber from an input stream. <a href="#NLAIAGENT_1_1CIndexVarianta6"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVarianta7">operator++</a> (int)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">throw (<a class="el" href="a02485.html">NLAIE::CExceptionIndexError</a>) <a href="#NLAIAGENT_1_1CIndexVarianta7"></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="a02664.html#NLAIAGENT_1_1CIndexVarianta8">save</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;os)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">saving the nomber in an output stream. <a href="#NLAIAGENT_1_1CIndexVarianta8"></a><br><br></td></tr>
+<tr><td colspan="2"><div class="groupHeader">Binary method.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1693_0">operator &amp;=</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1693_1">operator^=</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1693_2">operator|=</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a)</td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">comparison of two CIndexVariant.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1691_0">operator&lt;</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1691_1">operator==</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1691_2">operator&gt;</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a) const </td></tr>
+
+<tr><td colspan="2"><div class="groupHeader">Assignment method.</div></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1695_0">operator&lt;&lt;=</a> (<a class="el" href="a04558.html#a14">sint</a> a)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1695_1">operator=</a> (T a)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1695_2">operator=</a> (const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;a)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax,<br>
+ maxT &gt; &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantz1695_3">operator&gt;&gt;=</a> (<a class="el" href="a04558.html#a14">sint</a> a)</td></tr>
+
+<tr><td colspan=2><br><h2>Protected 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="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a> [indexMax]</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">_Id is a table were is store the number. <a href="#NLAIAGENT_1_1CIndexVariantp0"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private 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="a02664.html#NLAIAGENT_1_1CIndexVariantd0">inc</a> (int n)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">throw (<a class="el" href="a02485.html">NLAIE::CExceptionIndexError</a>) <a href="#NLAIAGENT_1_1CIndexVariantd0"></a><br><br></td></tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta3" doxytag="NLAIAGENT::CIndexVariant::CIndexVariant" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::<a class="el" href="a02664.html">CIndexVariant</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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>
+Copy contructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00084">84</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, and <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>.
+<p>
+<div class="fragment"><pre>00085 {
+00086 memcpy(_Id,a._Id,<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>()*<span class="keyword">sizeof</span>(T));
+00087 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta2" doxytag="NLAIAGENT::CIndexVariant::CIndexVariant" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::<a class="el" href="a02664.html">CIndexVariant</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const T *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>id</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>
+fill with a table.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00090">90</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00091 {
+00092 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00093 {
+00094 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] = <span class="keywordtype">id</span>[i];
+00095 }
+00096 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta1" doxytag="NLAIAGENT::CIndexVariant::CIndexVariant" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::<a class="el" href="a02664.html">CIndexVariant</a> </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>n</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>
+Initializ by an value.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00099">99</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+<div class="fragment"><pre>00100 {
+00101 <span class="comment">/*for(sint32 i = 0; i &lt; getMaxIndex(); i ++) </span>
+00102 <span class="comment"> {</span>
+00103 <span class="comment"> _Id[i] = n;</span>
+00104 <span class="comment"> }*/</span>
+00105 *<span class="keyword">this</span> = n;
+00106 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta0" doxytag="NLAIAGENT::CIndexVariant::CIndexVariant" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::<a class="el" href="a02664.html">CIndexVariant</a> </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>is</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>
+fill from read stream.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00110">110</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00267">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::load()</a>.
+<p>
+<div class="fragment"><pre>00111 {
+00112 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta6">load</a>(is);
+00113 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta4" doxytag="NLAIAGENT::CIndexVariant::getDebugString" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::getDebugString </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">std::string &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>str</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>
+Have a debug string.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00288">288</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, <a class="el" href="a05646.html#l00977">s</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00289 {
+00290 <span class="keywordtype">char</span> b[<span class="keyword">sizeof</span>(T)*8 + 1];
+00291 b[<span class="keyword">sizeof</span>(T)*8] = 0;
+00292 <a class="code" href="a04558.html#a14">sint</a> i;
+00293 <span class="keywordflow">for</span>(i = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>() - 1 ; i &gt;= 0; i --)
+00294 {
+00295 memset(b,<span class="charliteral">'0'</span>,<span class="keyword">sizeof</span>(T)*8);
+00296 T <a class="code" href="a04223.html#a626">s</a> = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i];
+00297 <a class="code" href="a04558.html#a14">sint</a> base = 0;
+00298 <a class="code" href="a04558.html#a14">sint</a> <a class="code" href="a04223.html#a577">count</a> = 0;
+00299 <span class="keywordflow">for</span>(base = 0; base &lt; <span class="keyword">sizeof</span>(T)*8; base ++)
+00300 {
+00301 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a626">s</a> &amp; 1)
+00302 {
+00303 b[<span class="keyword">sizeof</span>(T)*8 - base - 1] = <span class="charliteral">'1'</span>;
+00304 }
+00305 <a class="code" href="a04223.html#a626">s</a> &gt;&gt;= 1;
+00306 }
+00307 str += std::string(b);
+00308 }
+00309 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta5" doxytag="NLAIAGENT::CIndexVariant::getMaxIndex" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::getMaxIndex </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="a05803.html#l00312">312</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+Referenced by <a class="el" href="a05803.html#l00084">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::CIndexVariant()</a>, <a class="el" href="a05803.html#l00288">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getDebugString()</a>, <a class="el" href="a05803.html#l00064">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::inc()</a>, <a class="el" href="a05803.html#l00267">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::load()</a>, <a class="el" href="a05803.html#l00171">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator &amp;=()</a>, <a class="el" href="a05803.html#l00229">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator&lt;&lt;=()</a>, <a class="el" href="a05803.html#l00192">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator=()</a>, <a class="el" href="a05803.html#l00131">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator==()</a>, <a class="el" href="a05803.html#l00150">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator&gt;()</a>, <a class="el" href="a05803.html#l00208">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator&gt;&gt;=()</a>, <a class="el" href="a05803.html#l00180">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator^=()</a>, <a class="el" href="a05803.html#l00163">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator|=()</a>, and <a class="el" href="a05803.html#l00254">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::save()</a>.
+<p>
+<div class="fragment"><pre>00313 {
+00314 <span class="keywordflow">return</span> indexMax;
+00315 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantd0" doxytag="NLAIAGENT::CIndexVariant::inc" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::inc </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>n</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, private]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+throw (<a class="el" href="a02485.html">NLAIE::CExceptionIndexError</a>)
+<p>
+This fonction increment the _Id number by one. It's call from the ++ operator. If the number id overflow the <a class="el" href="a02485.html">NLAIE::CExceptionIndexError</a> is emited. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>n</em>&nbsp;</td><td>The first index to increment.</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00064">64</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>.
+<p>
+Referenced by <a class="el" href="a05803.html#l00116">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator++()</a>.
+<p>
+<div class="fragment"><pre>00065 {
+00066 <span class="keywordflow">if</span> (n == <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>())
+00067 {
+00068 <span class="comment">// The highest Number as been reach.</span>
+00069 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>();
+00070 }
+00071
+00072 <span class="keywordflow">if</span> (<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[n] == maxT)
+00073 {
+00074 <span class="comment">// If an index is max, we increment the next index.</span>
+00075 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantd0">inc</a>(n+1);
+00076 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[n] = 0;
+00077 }
+00078 <span class="keywordflow">else</span> <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[n]++;
+00079 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta6" doxytag="NLAIAGENT::CIndexVariant::load" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::load </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>is</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>
+loading the nomber from an input stream.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00267">267</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, <a class="el" href="a05646.html#l01124">num</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+Referenced by <a class="el" href="a05803.html#l00110">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::CIndexVariant()</a>.
+<p>
+<div class="fragment"><pre>00268 {
+00269 <a class="code" href="a04558.html#a10">sint32</a> max,i;
+00270
+00271 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(max);
+00272 <span class="comment">/*if(max != getMaxIndex()) </span>
+00273 <span class="comment"> {</span>
+00274 <span class="comment"> throw(NLAIE::CExceptionIndexError());</span>
+00275 <span class="comment"> }*/</span>
+00276
+00277 <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00278 {
+00279 T <a class="code" href="a04223.html#a653">num</a>;
+00280 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(num);
+00281 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] = <a class="code" href="a04223.html#a653">num</a>;
+00282 }
+00283
+00284 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1693_0" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator &amp;= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00171">171</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00172 {
+00173 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00174 {
+00175 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] &amp;= a._Id[i];
+00176 }
+00177 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00178 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta7" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator++ </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&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>
+throw (<a class="el" href="a02485.html">NLAIE::CExceptionIndexError</a>)
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00116">116</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00064">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::inc()</a>.
+<p>
+<div class="fragment"><pre>00117 {
+00118 <span class="keywordflow">try</span>
+00119 {
+00120 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantd0">inc</a>(0);
+00121 }
+00122 <span class="keywordflow">catch</span>(<a class="code" href="a03853.html">NLAIE::IException</a> &amp;e)
+00123 {
+00124 <span class="keywordflow">throw</span> e;
+00125 }
+00126 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00127 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1691_0" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator&lt; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00141">141</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00142 {
+00143 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = a.getMaxIndex()-1; i &gt;= 0; i --)
+00144 {
+00145 <span class="keywordflow">if</span>(<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] &lt; a._Id[i]) <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00146 }
+00147 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00148 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1695_0" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator&lt;&lt;= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00229">229</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00230 {
+00231 T bits = (1 &lt;&lt; a) - 1;
+00232 T <a class="code" href="a04223.html#a628">r</a>;
+00233 T bitlen = 8*<span class="keyword">sizeof</span>(T) - a;
+00234 <a class="code" href="a04558.html#a14">sint</a> i;
+00235
+00236 bits &lt;&lt;= (bitlen);
+00237
+00238 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>() - 1] &lt;&lt;= a;
+00239 <span class="keywordflow">for</span>(i = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>() - 2 ; i &gt;= 0; i --)
+00240 {
+00241 <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] &amp; bits;
+00242 <a class="code" href="a04223.html#a628">r</a> &gt;&gt;= bitlen;
+00243 _Id[i] &lt;&lt;= a;
+00244 _Id[i+1] |= <a class="code" href="a04223.html#a628">r</a>;
+00245 }
+00246
+00247 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00248 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1695_1" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">T&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00201">201</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>.
+<p>
+<div class="fragment"><pre>00202 {
+00203 memset(_Id,0,<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>()*<span class="keyword">sizeof</span>(T));
+00204 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[0] = a;
+00205 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00206 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1695_2" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00192">192</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00193 {
+00194 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00195 {
+00196 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] = a._Id[i];
+00197 }
+00198 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00199 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1691_1" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00131">131</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00132 {
+00133 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00134 {
+00135 <span class="keywordflow">if</span>(<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] != a._Id[i]) <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00136 }
+00137
+00138 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00139 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1691_2" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> bool <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator&gt; </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00150">150</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00151 {
+00152 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = a.getMaxIndex()-1; i &gt;= 0; i --)
+00153 {
+00154 <span class="keywordflow">if</span>(<a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] &gt; a._Id[i]) <span class="keywordflow">return</span> <span class="keyword">true</span>;
+00155 }
+00156
+00157 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+00158 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1695_3" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator&gt;&gt;= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00208">208</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, <a class="el" href="a05646.html#l00993">r</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00209 {
+00210 T bits = 1;
+00211 T <a class="code" href="a04223.html#a628">r</a>;
+00212 T bitlen = 8*<span class="keyword">sizeof</span>(T) - a;
+00213 <a class="code" href="a04558.html#a14">sint</a> i;
+00214
+00215 bits &lt;&lt;= a;
+00216 bits -= 1;
+00217 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[0] &gt;&gt;= a;
+00218 <span class="keywordflow">for</span>(i = 1; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00219 {
+00220 <a class="code" href="a04223.html#a628">r</a> = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] &amp; bits;
+00221 _Id[i] &gt;&gt;= a;
+00222 <a class="code" href="a04223.html#a628">r</a> &lt;&lt;= bitlen;
+00223 _Id[i - 1] |= <a class="code" href="a04223.html#a628">r</a>;
+00224 }
+00225
+00226 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00227 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1693_1" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator^= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00180">180</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00181 {
+00182 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00183 {
+00184 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] ^= a._Id[i];
+00185 }
+00186 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00187 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantz1693_2" doxytag="NLAIAGENT::CIndexVariant::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;class T = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> const <a class="el" href="a02664.html">CIndexVariant</a>&lt;T,indexMax,maxT&gt;&amp; <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::operator|= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a02664.html">CIndexVariant</a>&lt; T, indexMax, maxT &gt; &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>a</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="a05803.html#l00163">163</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00055">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::_Id</a>, <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00164 {
+00165 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00166 {
+00167 <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i] |= a._Id[i];
+00168 }
+00169 <span class="keywordflow">return</span> *<span class="keyword">this</span>;
+00170 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVarianta8" doxytag="NLAIAGENT::CIndexVariant::save" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> void <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::save </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>os</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>
+saving the nomber in an output stream.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00254">254</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+References <a class="el" href="a05803.html#l00312">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::getMaxIndex()</a>, <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>, and <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00255 {
+00256 <a class="code" href="a04558.html#a10">sint32</a> i;
+00257 i = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>();
+00258 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(i);
+00259 <span class="keywordflow">for</span>(i = 0; i &lt; <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVarianta5">getMaxIndex</a>(); i ++)
+00260 {
+00261 T n = <a class="code" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[i];
+00262 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(n);
+00263 }
+00264 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLAIAGENT_1_1CIndexVariantp0" doxytag="NLAIAGENT::CIndexVariant::_Id" ></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 = sint64, sint32 indexMax = maxIndex, T maxT = (T)-1&gt; </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap valign="top"> T <a class="el" href="a02664.html">NLAIAGENT::CIndexVariant</a>&lt; T, indexMax, maxT &gt;::<a class="el" href="a02664.html#NLAIAGENT_1_1CIndexVariantp0">_Id</a>[indexMax]<code> [protected]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+_Id is a table were is store the number.
+<p>
+
+<p>
+Definition at line <a class="el" href="a05803.html#l00055">55</a> of file <a class="el" href="a05803.html">ident.h</a>.
+<p>
+Referenced by <a class="el" href="a05803.html#l00084">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::CIndexVariant()</a>, <a class="el" href="a05803.html#l00171">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator &amp;=()</a>, <a class="el" href="a05803.html#l00192">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator=()</a>, <a class="el" href="a05803.html#l00131">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator==()</a>, <a class="el" href="a05803.html#l00150">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator&gt;()</a>, <a class="el" href="a05803.html#l00180">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator^=()</a>, and <a class="el" href="a05803.html#l00163">NLAIAGENT::CIndexVariant&lt; T, indexMax, maxT &gt;::operator|=()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following file:<ul>
+<li><a class="el" href="a05803.html">ident.h</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 09:16:44 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>