diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a02660.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a02660.html')
-rw-r--r-- | docs/doxygen/nel/a02660.html | 1892 |
1 files changed, 1892 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02660.html b/docs/doxygen/nel/a02660.html new file mode 100644 index 00000000..44d01632 --- /dev/null +++ b/docs/doxygen/nel/a02660.html @@ -0,0 +1,1892 @@ +<!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: NLAIAGENT::CIndexedVarName 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLAIAGENT::CIndexedVarName Class Reference</h1><code>#include <<a class="el" href="a05415.html">agent_string.h</a>></code> +<p> +<p>Inheritance diagram for NLAIAGENT::CIndexedVarName: +<p><center><img src="a02660.png" usemap="#NLAIAGENT::CIndexedVarName_map" border="0" alt=""></center> +<map name="NLAIAGENT::CIndexedVarName_map"> +<area href="a02661.html" alt="NLAIAGENT::IVarName" shape="rect" coords="0,280,194,304"> +<area href="a02154.html" alt="NLAIC::IBasicInterface" shape="rect" coords="0,224,194,248"> +<area href="a02151.html" alt="NLAIC::IBasicType" shape="rect" coords="0,168,194,192"> +<area href="a02145.html" alt="NLAIC::IPointerGestion" shape="rect" coords="0,112,194,136"> +<area href="a02867.html" alt="NLMISC::IStreamable" shape="rect" coords="0,56,194,80"> +<area href="a02540.html" alt="NLMISC::IClassable" shape="rect" coords="0,0,194,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This class is an <a class="el" href="a02661.html">IVarName</a> concret class. Its share string in a static map, when we constuct a new instance if string is not stored in the std::map then its add in it else it references it from string stored in th std::map.<p> +<dl compact><dt><b>Author:</b></dt><dd>Chafik sameh <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="a05415.html#l00261">261</a> of file <a class="el" href="a05415.html">agent_string.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>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea0">addString</a> (const <a class="el" href="a02661.html">IVarName</a> &<a class="el" href="a04223.html#a626">s</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Adding two string. <a href="#NLAIAGENT_1_1IVarNamea0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea1">CIndexedVarName</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea2">CIndexedVarName</a> (const <a class="el" href="a02660.html">CIndexedVarName</a> &name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea3">CIndexedVarName</a> (const char *name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea4">clone</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea2">decRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference of an object. <a href="#NLAIAGENT_1_1VectorTypea2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea6">getDebugString</a> (std::string &text) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea7">getIndex</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02151.html#NLAIAGENT_1_1VectorTypea4">getInfo</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea8">getRef</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">get the refence count. <a href="#NLAIAGENT_1_1VectorTypea8"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea10">getString</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the string stored in the instance. <a href="#NLAIAGENT_1_1CIndexedVarNamea10"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea11">getType</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea16">incRef</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. <a href="#NLAIAGENT_1_1VectorTypea16"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea13">load</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea14">newIndex</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea15">newInstance</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02661.html">IVarName</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea16">operator+=</a> (const <a class="el" href="a02661.html">IVarName</a> &<a class="el" href="a04223.html#a626">s</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02661.html">IVarName</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea17">operator-=</a> (const <a class="el" href="a02661.html">IVarName</a> &<a class="el" href="a04223.html#a626">s</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02661.html">IVarName</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea18">operator=</a> (const <a class="el" href="a02661.html">IVarName</a> &<a class="el" href="a04223.html#a576">v</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02145.html#NLAIAGENT_1_1VectorTypea46">release</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Release allow to release the pointer. The last release when the _Ref is nul delete the object. <a href="#NLAIAGENT_1_1VectorTypea46"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea20">save</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &os)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void </td><td class="memItemRight" valign=bottom><a class="el" href="a02154.html#NLAIAGENT_1_1VectorTypea54">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea15">subString</a> (const <a class="el" href="a02661.html">IVarName</a> &<a class="el" href="a04223.html#a626">s</a>) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Extract an string from an ather. <a href="#NLAIAGENT_1_1IVarNamea15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>virtual </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea23">~CIndexedVarName</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamee0">initClass</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamee1">loadClass</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamee2">releaseClass</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamee3">saveClass</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &is)</td></tr> + +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a02650.html">NLAIC::CIdentType</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNames0">IdIndexedVarName</a></td></tr> + +<tr><td colspan=2><br><h2>Private Types</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>typedef std::map< <a class="el" href="a03455.html">CStringVarName</a>,<br> +<a class="el" href="a02662.html">CNameStruc</a> * > </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamey0">TMapName</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Definition of the static std::map. <a href="#NLAIAGENT_1_1CIndexedVarNamey0"></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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed0">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Clear string from map. <a href="#NLAIAGENT_1_1CIndexedVarNamed0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a> (const <a class="el" href="a03455.html">CStringVarName</a> &name)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Insert new string. <a href="#NLAIAGENT_1_1CIndexedVarNamed1"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">the index of the declared string in the table. <a href="#NLAIAGENT_1_1CIndexedVarNamer0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">_Bank</a> = 256</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a> = 0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of string allocated. This is the table size. <a href="#NLAIAGENT_1_1CIndexedVarNamev1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< <a class="el" href="a02662.html">CNameStruc</a> * > * </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a> = new std::list<<a class="el" href="a02662.html">CIndexedVarName::CNameStruc</a> *></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamey0">TMapName</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a> = new <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamey0">CIndexedVarName::TMapName</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Static std::map for storing string. <a href="#NLAIAGENT_1_1CIndexedVarNamev3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02662.html">CNameStruc</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> = NULL</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Table of string, this the contents of the map. <a href="#NLAIAGENT_1_1CIndexedVarNamev4"></a><br><br></td></tr> +</table> +<hr><h2>Member Typedef Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamey0" doxytag="NLAIAGENT::CIndexedVarName::TMapName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> typedef std::map<<a class="el" href="a03455.html">CStringVarName</a> ,<a class="el" href="a02662.html">CNameStruc</a> *> <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamey0">NLAIAGENT::CIndexedVarName::TMapName</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Definition of the static std::map. +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00310">310</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00039">initClass()</a>. </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea3" doxytag="NLAIAGENT::CIndexedVarName::CIndexedVarName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CIndexedVarName::CIndexedVarName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00152">152</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00206">insert()</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00280">clone()</a>, and <a class="el" href="a05414.html#l00286">newInstance()</a>. +<p> +<div class="fragment"><pre>00153 { +00154 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a>(CStringVarName(name)); +00155 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea2" doxytag="NLAIAGENT::CIndexedVarName::CIndexedVarName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CIndexedVarName::CIndexedVarName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02660.html">CIndexedVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00157">157</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05415.html#l00333">_Index</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, and <a class="el" href="a05415.html#l00347">getIndex()</a>. +<p> +<div class="fragment"><pre>00158 { +00159 TMapName::iterator i = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->find(*_TableName[name.getIndex()].Name); +00160 <span class="keywordflow">if</span>(i != <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->end()) +00161 { +00162 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a> = name.getIndex(); +00163 (*i).second->Count ++; +00164 } +00165 <span class="keywordflow">else</span> +00166 { +00167 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a> = -1; +00168 <span class="keywordflow">throw</span> <a class="code" href="a02485.html">NLAIE::CExceptionIndexError</a>(); +00169 } +00170 +00171 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea1" doxytag="NLAIAGENT::CIndexedVarName::CIndexedVarName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CIndexedVarName::CIndexedVarName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00173">173</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00206">insert()</a>. +<p> +<div class="fragment"><pre>00174 { +00175 CStringVarName str(is); +00176 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a>(str); +00177 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea23" doxytag="NLAIAGENT::CIndexedVarName::~CIndexedVarName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> NLAIAGENT::CIndexedVarName::~<a class="el" href="a02660.html">CIndexedVarName</a> </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00179">179</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00190">clear()</a>. +<p> +<div class="fragment"><pre>00180 { +00181 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed0">clear</a>(); +00182 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1IVarNamea0" doxytag="NLAIAGENT::CIndexedVarName::addString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NLAIAGENT::IVarName::addString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Adding two string. +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00080">80</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +Referenced by <a class="el" href="a05415.html#l00199">NLAIAGENT::CStringVarName::operator+=()</a>, and <a class="el" href="a05414.html#l00224">operator+=()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 <span class="keywordtype">char</span> *nameTmp,*str = (<span class="keywordtype">char</span> *)<a class="code" href="a04223.html#a626">s</a>.getString(); +00083 nameTmp = (<span class="keywordtype">char</span> *)<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea10">getString</a>(); +00084 <span class="keywordtype">char</span> *name = <span class="keyword">new</span> <span class="keywordtype">char</span> [strlen(str) + strlen(nameTmp) + 2]; +00085 sprintf(name,<span class="stringliteral">"%s%s"</span>,nameTmp,str); +00086 <span class="keywordflow">return</span> name; +00087 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamed0" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::clear </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Clear string from map. +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00190">190</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05415.html#l00333">_Index</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00271">NLAIAGENT::CIndexedVarName::CNameStruc::Count</a>, and <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00273">load()</a>, and <a class="el" href="a05414.html#l00179">~CIndexedVarName()</a>. +<p> +<div class="fragment"><pre>00191 { +00192 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> && !(--<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a>].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco0">Count</a>) ) +00193 { +00194 TMapName::iterator i = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->find(*_TableName[_Index].Name); +00195 <span class="keywordflow">if</span>(i != <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->end()) +00196 { +00197 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->erase(i); +00198 <span class="keyword">delete</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a>].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a>; +00199 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a>].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> = NULL; +00200 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->push_back(&_TableName[_Index]); +00201 } +00202 } +00203 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea4" doxytag="NLAIAGENT::CIndexedVarName::clone" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * NLAIAGENT::CIndexedVarName::clone </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +<p> +Implements <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea4">NLAIC::IBasicType</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00280">280</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00152">CIndexedVarName()</a>, and <a class="el" href="a05646.html#l00236">x</a>. +<p> +<div class="fragment"><pre>00281 { +00282 <a class="code" href="a02154.html">NLAIC::IBasicInterface</a> *<a class="code" href="a04223.html#a572">x</a> = <span class="keyword">new</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea3">CIndexedVarName</a>(*<span class="keyword">this</span>); +00283 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>; +00284 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea2" doxytag="NLAIAGENT::CIndexedVarName::decRef" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> NLAIC::IPointerGestion::decRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Decrement the reference of an object. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00093">93</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05386.html#l00086">NLAIC::IPointerGestion::release()</a>, and <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>. +<p> +<div class="fragment"><pre>00094 { +00095 <span class="keywordflow">return</span> --_Ref; +00096 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypez1764_0" doxytag="NLAIAGENT::CIndexedVarName::getClassName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual std::string NLAIC::IPointerGestion::getClassName </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02540.html#NL3D_1_1ITrackKeyFramer_3_01CKeyVector_01_4a6">NLMISC::IClassable</a>. +<p> +Reimplemented in <a class="el" href="a02650.html#NLAIC_1_1CIdentTypez1766_0">NLAIC::CIdentType</a>. +<p> +Definition at line <a class="el" href="a05386.html#l00116">116</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +Referenced by <a class="el" href="a05847.html#l00678">NLAISCRIPT::CAgentClass::isClassInheritedFrom()</a>. +<p> +<div class="fragment"><pre>00117 { +00118 <span class="keywordflow">return</span> std::string(<span class="stringliteral">"<unnamed>"</span>); +00119 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea6" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::getDebugString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>text</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. +<p> +Implements <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00292">292</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +<div class="fragment"><pre>00293 { +00294 +00295 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea7" doxytag="NLAIAGENT::CIndexedVarName::getIndex" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a10">sint32</a>& NLAIAGENT::CIndexedVarName::getIndex </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00347">347</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +References <a class="el" href="a05415.html#l00333">_Index</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00157">CIndexedVarName()</a>, and <a class="el" href="a05414.html#l00268">save()</a>. +<p> +<div class="fragment"><pre>00348 { +00349 <span class="keywordflow">return</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a>; +00350 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea4" doxytag="NLAIAGENT::CIndexedVarName::getInfo" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual const std::string NLAIC::IBasicType::getInfo </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00292">292</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea7">NLAIC::IBasicType::getDebugString()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00293 { +00294 std::string <a class="code" href="a04223.html#a626">s</a>; +00295 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea6">getDebugString</a>(s); +00296 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a626">s</a>; +00297 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea8" doxytag="NLAIAGENT::CIndexedVarName::getRef" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a10">sint32</a>& NLAIC::IPointerGestion::getRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +get the refence count. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00099">99</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>. +<p> +<div class="fragment"><pre>00100 { +00101 <span class="keywordflow">return</span> _Ref; +00102 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea10" doxytag="NLAIAGENT::CIndexedVarName::getString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char * NLAIAGENT::CIndexedVarName::getString </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the string stored in the instance. +<p> + +<p> +Implements <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00297">297</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05415.html#l00333">_Index</a>, and <a class="el" href="a06432.html#l00056">_TableName</a>. +<p> +<div class="fragment"><pre>00298 { +00299 <span class="keywordflow">return</span> (*(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> + <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a>)).Name->getString(); +00300 <span class="comment">//return _TableName[_Index].Name->getString();</span> +00301 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea11" doxytag="NLAIAGENT::CIndexedVarName::getType" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> & NLAIAGENT::CIndexedVarName::getType </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +getType return a unique string how represente the class, it can be the name of the class. This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). +<p> +Implements <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea20">NLAIC::IBasicType</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00033">33</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNames0">IdIndexedVarName</a>. +<p> +<div class="fragment"><pre>00034 { +00035 +00036 <span class="keywordflow">return</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNames0">IdIndexedVarName</a>; +00037 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea16" doxytag="NLAIAGENT::CIndexedVarName::incRef" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIC::IPointerGestion::incRef </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Inc a reference. We use this when we have to conserve a pointer memeory for exemple in a list. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00080">80</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00066">NLAIC::IPointerGestion::_Ref</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00174">NLAIAGENT::CSeqFsmScript::activate()</a>, <a class="el" href="a05697.html#l00215">NLAILOGIC::CFactBase::addAssert()</a>, <a class="el" href="a05477.html#l00067">NLAIAGENT::IAgentComposite::addChild()</a>, <a class="el" href="a05422.html#l00052">NLAILOGIC::IBaseAssert::addInput()</a>, <a class="el" href="a05499.html#l00118">NLAILOGIC::CBoolOperator::addPostcondition()</a>, <a class="el" href="a05499.html#l00110">NLAILOGIC::CBoolOperator::addPrecondition()</a>, <a class="el" href="a05763.html#l00829">NLAILOGIC::CInternalGoal::addPredecessor()</a>, <a class="el" href="a05763.html#l00502">NLAILOGIC::CGoal::addPredecessor()</a>, <a class="el" href="a05753.html#l00088">NLAIFUZZY::CFuzzyVar::addSet()</a>, <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a05695.html#l00177">NLAILOGIC::CFact::asValueSet()</a>, <a class="el" href="a05416.html#l00396">NLAIAGENT::CAgentWatchTimer::attach()</a>, <a class="el" href="a06662.html#l00539">NLAISCRIPT::CCompilateur::buildObject()</a>, <a class="el" href="a05847.html#l00649">NLAISCRIPT::CAgentClass::buildVMethode()</a>, <a class="el" href="a06129.html#l00046">NLAIAGENT::CAgentOperation::CAgentOperation()</a>, <a class="el" href="a05416.html#l00676">NLAIAGENT::CAgentTimerHandle::CAgentTimerHandle()</a>, <a class="el" href="a06755.html#l00816">NLAISCRIPT::CCompilateur::callFunction()</a>, <a class="el" href="a05845.html#l00114">NLAISCRIPT::CClassInterpretFactory::CClassInterpretFactory()</a>, <a class="el" href="a05573.html#l00055">NLAISCRIPT::CCodeBrancheRunDebug::CCodeBrancheRunDebug()</a>, <a class="el" href="a05590.html#l00208">NLAISCRIPT::CCompilateur::CCompilateur()</a>, <a class="el" href="a05699.html#l00054">NLAISCRIPT::CFactorType::CFactorType()</a>, <a class="el" href="a05600.html#l00076">NLAISCRIPT::CFunctionTag::CFunctionTag()</a>, <a class="el" href="a06133.html#l00828">NLAIAGENT::COperatorScript::checkTrigMsg()</a>, <a class="el" href="a05804.html#l00140">NLAIC::CIdentType::CIdentType()</a>, <a class="el" href="a05475.html#l00083">NLAIAGENT::CIdMethod::CIdMethod()</a>, <a class="el" href="a05859.html#l00060">NLAIAGENT::CKeyObject::CKeyObject()</a>, <a class="el" href="a06120.html#l00637">NLAISCRIPT::CFindRunMsg::clone()</a>, <a class="el" href="a06114.html#l00079">NLAISCRIPT::CObjectUnknown::clone()</a>, <a class="el" href="a05605.html#l00180">NLAISCRIPT::CConstraintStackComp::clone()</a>, <a class="el" href="a05603.html#l00038">NLAISCRIPT::CConstraintFindRun::clone()</a>, <a class="el" href="a05599.html#l00332">NLAISCRIPT::CConstraintMethode::clone()</a>, <a class="el" href="a05421.html#l00132">NLAILINK::IOTrace::clone()</a>, <a class="el" href="a05843.html#l00313">NLAISCRIPT::CMethodeName::CMethodeName()</a>, <a class="el" href="a05848.html#l00115">NLAISCRIPT::CAgentClass::CMethodType::CMethodType()</a>, <a class="el" href="a06114.html#l00056">NLAISCRIPT::CObjectUnknown::CObjectUnknown()</a>, <a class="el" href="a05407.html#l00178">NLAIAGENT::CPairType::CPairType()</a>, <a class="el" href="a05847.html#l00609">NLAISCRIPT::CAgentClass::createComponents()</a>, <a class="el" href="a06658.html#l00051">NLAILOGIC::CValueSet::CValueSet()</a>, <a class="el" href="a06660.html#l00117">NLAILOGIC::CVar::CVar()</a>, <a class="el" href="a06658.html#l00532">NLAILOGIC::CValueSet::forward()</a>, <a class="el" href="a06065.html#l00124">NLAIAGENT::IMessageBase::IMessageBase()</a>, <a class="el" href="a05412.html#l00092">NLAIAGENT::CAgentScript::initAgentScript()</a>, <a class="el" href="a06755.html#l00999">NLAISCRIPT::CCompilateur::initMessageManager()</a>, <a class="el" href="a05854.html#l00743">NLAISCRIPT::COperatorClass::isValidFonc()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06131.html#l00122">NLAILOGIC::IBaseOperator::load()</a>, <a class="el" href="a05847.html#l00783">NLAISCRIPT::CAgentClass::load()</a>, <a class="el" href="a05845.html#l00038">NLAISCRIPT::CComponent::load()</a>, <a class="el" href="a05843.html#l00404">NLAISCRIPT::CMethodeName::load()</a>, <a class="el" href="a05770.html#l00683">NLAIAGENT::CVectorGroupType::operator+()</a>, <a class="el" href="a05770.html#l00269">NLAIAGENT::CGroupType::operator+()</a>, <a class="el" href="a06140.html#l00053">NLAISCRIPT::CPramContainer::operator+=()</a>, <a class="el" href="a06065.html#l00150">NLAIAGENT::IMessageBase::operator=()</a>, <a class="el" href="a05859.html#l00079">NLAIAGENT::CKeyObject::operator=()</a>, <a class="el" href="a05848.html#l00122">NLAISCRIPT::CAgentClass::CMethodType::operator=()</a>, <a class="el" href="a05600.html#l00089">NLAISCRIPT::CFunctionTag::operator=()</a>, <a class="el" href="a05475.html#l00068">NLAIAGENT::CIdMethod::operator=()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a06662.html#l00389">NLAISCRIPT::CCompilateur::pushParamExpression()</a>, <a class="el" href="a05603.html#l00047">NLAISCRIPT::CConstraintFindRun::run()</a>, <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>, <a class="el" href="a05412.html#l01006">NLAIAGENT::CAgentScript::runAskGetValue()</a>, <a class="el" href="a05420.html#l00160">NLAIAGENT::IAgent::runChildren()</a>, <a class="el" href="a05966.html#l00096">NLAIAGENT::CMainAgentScript::runExec()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a06129.html#l00262">NLAIAGENT::CAgentOperation::runMethodBase()</a>, <a class="el" href="a05416.html#l00441">NLAIAGENT::CAgentWatchTimer::runMethodBase()</a>, <a class="el" href="a05412.html#l01698">NLAIAGENT::CAgentScript::runMethodBase()</a>, <a class="el" href="a05389.html#l00454">NLAIAGENT::CActorScript::runMethodBase()</a>, <a class="el" href="a06065.html#l00371">NLAIAGENT::IMessageBase::runMethodeMember()</a>, <a class="el" href="a05770.html#l00151">NLAIAGENT::IBaseGroupType::runMethodeMember()</a>, <a class="el" href="a05420.html#l00494">NLAIAGENT::IBasicAgent::runMethodeMember()</a>, <a class="el" href="a06126.html#l00235">NLAISCRIPT::CLdbRefOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00191">NLAISCRIPT::CLdbMemberiOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00135">NLAISCRIPT::CLdbHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06126.html#l00087">NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode()</a>, <a class="el" href="a06124.html#l00278">NLAISCRIPT::CCallStackMethodi::runOpCode()</a>, <a class="el" href="a06124.html#l00214">NLAISCRIPT::CCallStackNewMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00288">NLAISCRIPT::CLibStackNewMemberMethod::runOpCode()</a>, <a class="el" href="a06122.html#l00242">NLAISCRIPT::CLibStackMemberMethod::runOpCode()</a>, <a class="el" href="a06121.html#l00960">NLAISCRIPT::CAffOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00724">NLAISCRIPT::CAddParamNameDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00449">NLAISCRIPT::CAffOpCodeDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00413">NLAISCRIPT::CAffHeapMemberiOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00334">NLAISCRIPT::CAffMemberOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00317">NLAISCRIPT::CAffMemberiOpCode::runOpCode()</a>, <a class="el" href="a05412.html#l00989">NLAIAGENT::CAgentScript::runTellComponent()</a>, <a class="el" href="a05412.html#l01032">NLAIAGENT::CAgentScript::runTellSetValue()</a>, <a class="el" href="a06124.html#l00080">NLAISCRIPT::CMethodContextDebug::saveContext()</a>, <a class="el" href="a06124.html#l00041">NLAISCRIPT::CMethodContext::saveContext()</a>, <a class="el" href="a05412.html#l01197">NLAIAGENT::CAgentScript::sendBroadCast()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, <a class="el" href="a05412.html#l01186">NLAIAGENT::CAgentScript::sendMethodCompoment()</a>, <a class="el" href="a06733.html#l00167">NLAIAGENT::CVolatilMemmory::sendUpdateMessage()</a>, <a class="el" href="a05699.html#l00040">NLAISCRIPT::CFactorType::set()</a>, <a class="el" href="a06131.html#l00150">NLAILOGIC::IBaseOperator::setGoal()</a>, <a class="el" href="a06662.html#l00439">NLAISCRIPT::CCompilateur::setImediateVarNill()</a>, <a class="el" href="a06662.html#l00492">NLAISCRIPT::CCompilateur::setMethodVar()</a>, <a class="el" href="a06662.html#l00337">NLAISCRIPT::CCompilateur::setParamVarName()</a>, <a class="el" href="a05600.html#l00105">NLAISCRIPT::CFunctionTag::setTypeObject()</a>, <a class="el" href="a06660.html#l00147">NLAILOGIC::CVar::setValue()</a>, <a class="el" href="a06658.html#l00140">NLAILOGIC::CValueSet::setValue()</a>, <a class="el" href="a05416.html#l00291">NLAIAGENT::CAgentWatchTimer::tellBroker()</a>, <a class="el" href="a06755.html#l00765">NLAISCRIPT::CCompilateur::typeOfMethod()</a>, <a class="el" href="a06660.html#l00242">NLAILOGIC::CVar::unify()</a>, <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>, and <a class="el" href="a06129.html#l00085">NLAIAGENT::CAgentOperation::update()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 _Ref ++; +00083 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamee0" doxytag="NLAIAGENT::CIndexedVarName::initClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::initClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00039">39</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a06432.html#l00058">_Count</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00271">NLAIAGENT::CIndexedVarName::CNameStruc::Count</a>, <a class="el" href="a05415.html#l00273">NLAIAGENT::CIndexedVarName::CNameStruc::Index</a>, <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>, <a class="el" href="a05981.html#l00099">sint32</a>, and <a class="el" href="a05415.html#l00310">TMapName</a>. +<p> +<div class="fragment"><pre>00040 { +00041 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a> == NULL) +00042 { +00043 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a> = <span class="keyword">new</span> std::list<CIndexedVarName::CNameStruc *>; +00044 +00045 } +00046 +00047 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a> == NULL) +00048 { +00049 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a> = <span class="keyword">new</span> CIndexedVarName::TMapName; +00050 } +00051 +00052 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> != NULL) +00053 { +00054 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->clear(); +00055 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i =0; i < <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a>; i++) +00056 { +00057 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> != NULL) <span class="keyword">delete</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a>; +00058 } +00059 <span class="keyword">delete</span> [] <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>; +00060 } +00061 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> = <span class="keyword">new</span> CNameStruc [<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">_Bank</a>]; +00062 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a> = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">_Bank</a>; +00063 +00064 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a>; i++) +00065 { +00066 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> = NULL; +00067 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco0">Count</a> = 0; +00068 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco1">Index</a> = i; +00069 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->push_back(&_TableName[i]); +00070 } +00071 +00072 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamed1" doxytag="NLAIAGENT::CIndexedVarName::insert" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::insert </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03455.html">CStringVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Insert new string. +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00206">206</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05415.html#l00333">_Index</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00236">NLAIAGENT::CStringVarName::clone()</a>, <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>, and <a class="el" href="a05414.html#l00239">newIndex()</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00152">CIndexedVarName()</a>, <a class="el" href="a05414.html#l00273">load()</a>, <a class="el" href="a05414.html#l00224">operator+=()</a>, <a class="el" href="a05414.html#l00231">operator-=()</a>, and <a class="el" href="a05414.html#l00184">operator=()</a>. +<p> +<div class="fragment"><pre>00207 { +00208 TMapName::iterator i = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->find(str); +00209 <span class="keywordflow">if</span>(i != <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->end()) +00210 { +00211 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a> = (*i).second->Index; +00212 (*i).second->Count ++; +00213 } +00214 <span class="keywordflow">else</span> +00215 { +00216 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a> = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea14">newIndex</a>(); +00217 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">_Index</a>].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> = (CStringVarName *)str.clone(); +00218 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->insert(TMapName::value_type(*_TableName[_Index].Name, &_TableName[_Index])); +00219 } +00220 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea13" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::load </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Load the class from a stream. +<p> +Implements <a class="el" href="a02154.html#NLAIAGENT_1_1IWordNumRefa10">NLAIC::IBasicInterface</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00273">273</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00190">clear()</a>, and <a class="el" href="a05414.html#l00206">insert()</a>. +<p> +<div class="fragment"><pre>00274 { +00275 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed0">clear</a>(); +00276 CStringVarName str(is); +00277 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a>(str); +00278 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamee1" doxytag="NLAIAGENT::CIndexedVarName::loadClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::loadClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00095">95</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a06432.html#l00058">_Count</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00271">NLAIAGENT::CIndexedVarName::CNameStruc::Count</a>, <a class="el" href="a05415.html#l00273">NLAIAGENT::CIndexedVarName::CNameStruc::Index</a>, <a class="el" href="a05415.html#l00299">NLAIAGENT::CIndexedVarName::CNameStruc::load()</a>, <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>, <a class="el" href="a05414.html#l00125">releaseClass()</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>00096 { +00097 <a class="code" href="a04558.html#a10">sint32</a> i; +00098 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( i ); +00099 <span class="keywordflow">if</span>(i != 0) +00100 { +00101 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamee2">releaseClass</a>(); +00102 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> = <span class="keyword">new</span> CNameStruc [i]; +00103 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a> = i; +00104 <a class="code" href="a04558.html#a10">sint32</a> k; +00105 <span class="keywordflow">for</span>(i = 0;i < <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a>;i ++) +00106 { +00107 is.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( k ); +00108 <span class="keywordflow">if</span>(k) +00109 { +00110 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruca4">load</a>(is); +00111 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->insert(TMapName::value_type(*_TableName[i].Name, &_TableName[i])); +00112 } +00113 <span class="keywordflow">else</span> +00114 { +00115 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco0">Count</a> = 0; +00116 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco1">Index</a> = i; +00117 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> = NULL; +00118 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->push_back(&_TableName[i]); +00119 } +00120 } +00121 } +00122 +00123 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea14" doxytag="NLAIAGENT::CIndexedVarName::newIndex" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> NLAIAGENT::CIndexedVarName::newIndex </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00239">239</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a06432.html#l00058">_Count</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00271">NLAIAGENT::CIndexedVarName::CNameStruc::Count</a>, <a class="el" href="a05415.html#l00273">NLAIAGENT::CIndexedVarName::CNameStruc::Index</a>, <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00206">insert()</a>. +<p> +<div class="fragment"><pre>00240 { +00241 +00242 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->size()) +00243 { +00244 CNameStruc *o = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->front(); +00245 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->pop_front(); +00246 o->Count++; +00247 <span class="keywordflow">return</span> o->Index; +00248 } +00249 <span class="keywordflow">else</span> +00250 { +00251 CNameStruc *tmp = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>; +00252 _TableName = <span class="keyword">new</span> CNameStruc [<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a> + <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">_Bank</a>]; +00253 +00254 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a>; i < (_Count + <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">_Bank</a>); i++) +00255 { +00256 _TableName[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco0">Count</a> = 0; +00257 _TableName[i].Index = i; +00258 _TableName[i].Name = NULL; +00259 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->push_back(&_TableName[i]); +00260 } +00261 +00262 memcpy(_TableName, tmp, _Count*<span class="keyword">sizeof</span>(CNameStruc)); +00263 _Count += <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">_Bank</a>; +00264 <span class="keywordflow">return</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea14">newIndex</a>(); +00265 } +00266 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea15" doxytag="NLAIAGENT::CIndexedVarName::newInstance" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02151.html">NLAIC::IBasicType</a> * NLAIAGENT::CIndexedVarName::newInstance </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +This function allow a new instance, that mean that the class is a class factory. +<p> +Implements <a class="el" href="a02151.html#NLAICHARACTER_1_1IZonea33">NLAIC::IBasicType</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00286">286</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00152">CIndexedVarName()</a>, and <a class="el" href="a05646.html#l00236">x</a>. +<p> +<div class="fragment"><pre>00287 { +00288 <a class="code" href="a02154.html">NLAIC::IBasicInterface</a> *<a class="code" href="a04223.html#a572">x</a> = <span class="keyword">new</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea3">CIndexedVarName</a>(<span class="stringliteral">"Inst"</span>); +00289 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a572">x</a>; +00290 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea16" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> <a class="el" href="a02661.html">IVarName</a> & NLAIAGENT::CIndexedVarName::operator+= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamez1677_0">NLAIAGENT::IVarName</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00224">224</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05415.html#l00080">NLAIAGENT::IVarName::addString()</a>, <a class="el" href="a05414.html#l00206">insert()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00225 { +00226 <span class="keywordtype">char</span> *n = (<span class="keywordtype">char</span> *)<a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea0">addString</a>(s); +00227 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a>(n); +00228 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00229 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea17" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> <a class="el" href="a02661.html">IVarName</a> & NLAIAGENT::CIndexedVarName::operator-= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamez1677_1">NLAIAGENT::IVarName</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00231">231</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00206">insert()</a>, <a class="el" href="a05646.html#l00977">s</a>, and <a class="el" href="a05415.html#l00090">NLAIAGENT::IVarName::subString()</a>. +<p> +<div class="fragment"><pre>00232 { +00233 <span class="keywordtype">char</span> *n = (<span class="keywordtype">char</span> *)<a class="code" href="a02661.html#NLAIAGENT_1_1IVarNamea15">subString</a>(s); +00234 <span class="keywordflow">if</span>(n != NULL) <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a>(n); +00235 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00236 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IVarNamez1675_0" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> bool NLAIAGENT::IVarName::operator< </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>v</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00052">52</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, and <a class="el" href="a05646.html#l00237">v</a>. +<p> +<div class="fragment"><pre>00053 { +00054 <span class="keyword">const</span> <span class="keywordtype">char</span> *name1 = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea10">getString</a>(); +00055 <span class="keyword">const</span> <span class="keywordtype">char</span> *name2 = <a class="code" href="a04223.html#a576">v</a>.getString(); +00056 <span class="keywordflow">if</span>(name1[0] < name2[0]) <span class="keywordflow">return</span> <span class="keyword">true</span>; +00057 <span class="keywordflow">else</span> <span class="keywordflow">return</span> strcmp(name1,name2) < 0; +00058 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea18" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> <a class="el" href="a02661.html">IVarName</a> & NLAIAGENT::CIndexedVarName::operator= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>v</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamez1677_2">NLAIAGENT::IVarName</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00184">184</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a05414.html#l00206">insert()</a>, and <a class="el" href="a05646.html#l00977">s</a>. +<p> +<div class="fragment"><pre>00185 { +00186 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamed1">insert</a>(CStringVarName(<a class="code" href="a04223.html#a626">s</a>.getString())); +00187 <span class="keywordflow">return</span> *<span class="keyword">this</span>; +00188 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IVarNamez1675_1" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> bool NLAIAGENT::IVarName::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>v</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00069">69</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, and <a class="el" href="a05646.html#l00237">v</a>. +<p> +<div class="fragment"><pre>00070 { +00071 <span class="keyword">const</span> <span class="keywordtype">char</span> *name1 = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea10">getString</a>(); +00072 <span class="keyword">const</span> <span class="keywordtype">char</span> *name2 = <a class="code" href="a04223.html#a576">v</a>.getString(); +00073 <span class="keywordflow">if</span>(name1[0] == name2[0]) <span class="keywordflow">return</span> strcmp(name1,name2) == 0; +00074 +00075 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00076 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IVarNamez1675_2" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> bool NLAIAGENT::IVarName::operator> </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>v</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00060">60</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, and <a class="el" href="a05646.html#l00237">v</a>. +<p> +<div class="fragment"><pre>00061 { +00062 <span class="keyword">const</span> <span class="keywordtype">char</span> *name1 = <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea10">getString</a>(); +00063 <span class="keyword">const</span> <span class="keywordtype">char</span> *name2 = <a class="code" href="a04223.html#a576">v</a>.getString(); +00064 <span class="keywordflow">if</span>(name1[0] > name2[0]) <span class="keywordflow">return</span> <span class="keyword">true</span>; +00065 <span class="keywordflow">else</span> <span class="keywordflow">return</span> strcmp(name1,name2) > 0; +00066 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea46" doxytag="NLAIAGENT::CIndexedVarName::release" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> virtual void NLAIC::IPointerGestion::release </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Release allow to release the pointer. The last release when the _Ref is nul delete the object. +<p> + +<p> +Definition at line <a class="el" href="a05386.html#l00086">86</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00093">NLAIC::IPointerGestion::decRef()</a>. +<p> +Referenced by <a class="el" href="a05736.html#l00174">NLAIAGENT::CSeqFsmScript::activate()</a>, <a class="el" href="a05847.html#l00458">NLAISCRIPT::CAgentClass::addBrancheCode()</a>, <a class="el" href="a05601.html#l00047">NLAISCRIPT::CConstraintDebug::addIndex()</a>, <a class="el" href="a06755.html#l00138">NLAISCRIPT::CCompilateur::affectation()</a>, <a class="el" href="a06755.html#l00327">NLAISCRIPT::CCompilateur::affectationMember()</a>, <a class="el" href="a05854.html#l00334">NLAISCRIPT::COperatorClass::backward()</a>, <a class="el" href="a05718.html#l00313">NLAILOGIC::CFirstOrderOperator::backward()</a>, <a class="el" href="a05716.html#l00235">NLAILOGIC::CFirstOrderAssert::backward()</a>, <a class="el" href="a06662.html#l00539">NLAISCRIPT::CCompilateur::buildObject()</a>, <a class="el" href="a05421.html#l00161">NLAILINK::buildScript()</a>, <a class="el" href="a06755.html#l00816">NLAISCRIPT::CCompilateur::callFunction()</a>, <a class="el" href="a05804.html#l00117">NLAIC::CIdentType::CIdentType()</a>, <a class="el" href="a05589.html#l00366">NLAISCRIPT::CCompilateur::clean()</a>, <a class="el" href="a05843.html#l00185">NLAISCRIPT::CParam::clear()</a>, <a class="el" href="a05770.html#l01076">NLAIAGENT::CVectorGroupType::clear()</a>, <a class="el" href="a05770.html#l00664">NLAIAGENT::CGroupType::clear()</a>, <a class="el" href="a06733.html#l00075">NLAIAGENT::CVolatilMemmory::CVolatilMemmory()</a>, <a class="el" href="a05699.html#l00030">NLAISCRIPT::CFactorType::del()</a>, <a class="el" href="a05477.html#l00126">NLAIAGENT::IAgentComposite::deleteListe()</a>, <a class="el" href="a06294.html#l00251">NLAIPYSERVER::endPythonInterface()</a>, <a class="el" href="a05770.html#l00962">NLAIAGENT::CVectorGroupType::erase()</a>, <a class="el" href="a05770.html#l00545">NLAIAGENT::CGroupType::erase()</a>, <a class="el" href="a05770.html#l00946">NLAIAGENT::CVectorGroupType::eraseAll()</a>, <a class="el" href="a05770.html#l00529">NLAIAGENT::CGroupType::eraseAll()</a>, <a class="el" href="a05589.html#l00340">NLAISCRIPT::CCompilateur::errorMethodConstraint()</a>, <a class="el" href="a05589.html#l00325">NLAISCRIPT::CCompilateur::errorTypeConstraint()</a>, <a class="el" href="a05589.html#l00160">NLAISCRIPT::CCompilateur::findMethode()</a>, <a class="el" href="a05854.html#l00350">NLAISCRIPT::COperatorClass::forward()</a>, <a class="el" href="a05718.html#l00330">NLAILOGIC::CFirstOrderOperator::forward()</a>, <a class="el" href="a05588.html#l00070">NLAIAGENT::CComponentHandle::getComponent()</a>, <a class="el" href="a06133.html#l00091">NLAIAGENT::COperatorScript::getDebugString()</a>, <a class="el" href="a05412.html#l00664">NLAIAGENT::CAgentScript::getDebugString()</a>, <a class="el" href="a06131.html#l00046">NLAILOGIC::IBaseOperator::IBaseOperator()</a>, <a class="el" href="a06755.html#l00063">NLAISCRIPT::CCompilateur::ifInterrogation()</a>, <a class="el" href="a06755.html#l00097">NLAISCRIPT::CCompilateur::ifInterrogationEnd()</a>, <a class="el" href="a06669.html#l00361">NLAILOGIC::CFactPattern::init()</a>, <a class="el" href="a06343.html#l00197">NLAILOGIC::CRule::init()</a>, <a class="el" href="a05749.html#l00679">NLAIFUZZY::CTrapezeFuzzySet::init()</a>, <a class="el" href="a05749.html#l00563">NLAIFUZZY::CLeftFuzzySet::init()</a>, <a class="el" href="a05749.html#l00442">NLAIFUZZY::CTriangleFuzzySet::init()</a>, <a class="el" href="a05749.html#l00177">NLAIFUZZY::CRightFuzzySet::init()</a>, <a class="el" href="a05749.html#l00074">NLAIFUZZY::CFuzzyInterval::init()</a>, <a class="el" href="a05745.html#l00214">NLAIFUZZY::CFuzzyRule::init()</a>, <a class="el" href="a05741.html#l00068">NLAIFUZZY::CSimpleFuzzyCond::init()</a>, <a class="el" href="a06755.html#l00036">NLAISCRIPT::CCompilateur::interrogationEnd()</a>, <a class="el" href="a05854.html#l00743">NLAISCRIPT::COperatorClass::isValidFonc()</a>, <a class="el" href="a05420.html#l00057">NLAIAGENT::IAgent::Kill()</a>, <a class="el" href="a06660.html#l00190">NLAILOGIC::CVar::load()</a>, <a class="el" href="a06658.html#l00399">NLAILOGIC::CValueSet::load()</a>, <a class="el" href="a06127.html#l00072">NLAISCRIPT::CLdbOpCode::load()</a>, <a class="el" href="a06123.html#l00370">NLAISCRIPT::CLibCallMethodi::load()</a>, <a class="el" href="a06123.html#l00303">NLAISCRIPT::CLibCallInheritedMethod::load()</a>, <a class="el" href="a06123.html#l00241">NLAISCRIPT::CLibCallMethod::load()</a>, <a class="el" href="a06121.html#l00102">NLAISCRIPT::CLdbNewOpCode::load()</a>, <a class="el" href="a06120.html#l00758">NLAISCRIPT::CAddParamNameDebug::load()</a>, <a class="el" href="a06120.html#l00658">NLAISCRIPT::CFindRunMsg::load()</a>, <a class="el" href="a05911.html#l00061">NLAIAGENT::IListBasicManager::load()</a>, <a class="el" href="a05770.html#l01055">NLAIAGENT::CVectorGroupType::load()</a>, <a class="el" href="a05770.html#l00643">NLAIAGENT::CGroupType::load()</a>, <a class="el" href="a05412.html#l00605">NLAIAGENT::CAgentScript::load()</a>, <a class="el" href="a05407.html#l00087">NLAIAGENT::CStringType::load()</a>, <a class="el" href="a05401.html#l00070">NLAIAGENT::CLocalAgentMail::load()</a>, <a class="el" href="a06124.html#l00103">NLAISCRIPT::CMethodContextDebug::loadContext()</a>, <a class="el" href="a05589.html#l00052">NLAISCRIPT::CCompilateur::onEndClass()</a>, <a class="el" href="a05964.html#l00143">NLAIAGENT::CLocalMailBox::onKill()</a>, <a class="el" href="a05420.html#l00081">NLAIAGENT::IAgent::onKill()</a>, <a class="el" href="a05400.html#l00058">NLAIAGENT::CLocalAgentMail::onKill()</a>, <a class="el" href="a05770.html#l00698">NLAIAGENT::CVectorGroupType::operator-()</a>, <a class="el" href="a05770.html#l00284">NLAIAGENT::CGroupType::operator-()</a>, <a class="el" href="a05859.html#l00079">NLAIAGENT::CKeyObject::operator=()</a>, <a class="el" href="a05600.html#l00089">NLAISCRIPT::CFunctionTag::operator=()</a>, <a class="el" href="a05475.html#l00068">NLAIAGENT::CIdMethod::operator=()</a>, <a class="el" href="a06755.html#l00358">NLAISCRIPT::CCompilateur::PrivateError()</a>, <a class="el" href="a06662.html#l00082">NLAISCRIPT::CCompilateur::processingVar()</a>, <a class="el" href="a05412.html#l01412">NLAIAGENT::CAgentScript::processMessages()</a>, <a class="el" href="a05475.html#l00433">NLAIAGENT::IRefrence::refLoadStream()</a>, <a class="el" href="a06755.html#l00608">NLAISCRIPT::CCompilateur::registerMethod()</a>, <a class="el" href="a05477.html#l00108">NLAIAGENT::IAgentComposite::removeChild()</a>, <a class="el" href="a05716.html#l00095">NLAILOGIC::CFirstOrderAssert::removeFact()</a>, <a class="el" href="a05605.html#l00067">NLAISCRIPT::CConstraintStackComp::run()</a>, <a class="el" href="a05603.html#l00047">NLAISCRIPT::CConstraintFindRun::run()</a>, <a class="el" href="a05599.html#l00050">NLAISCRIPT::CConstraintMethode::run()</a>, <a class="el" href="a05420.html#l00365">NLAIAGENT::IBasicAgent::run()</a>, <a class="el" href="a05412.html#l01060">NLAIAGENT::CAgentScript::runInitComponent()</a>, <a class="el" href="a06733.html#l00218">NLAIAGENT::CVolatilMemmory::runMessage()</a>, <a class="el" href="a06129.html#l00262">NLAIAGENT::CAgentOperation::runMethodBase()</a>, <a class="el" href="a05589.html#l00286">NLAISCRIPT::CCompilateur::runMethodConstraint()</a>, <a class="el" href="a05763.html#l00773">NLAILOGIC::CInternalGoal::runMethodeMember()</a>, <a class="el" href="a05763.html#l00439">NLAILOGIC::CGoal::runMethodeMember()</a>, <a class="el" href="a05695.html#l00222">NLAILOGIC::CFact::runMethodeMember()</a>, <a class="el" href="a05475.html#l00266">NLAIAGENT::IObjectIA::runMethodeMember()</a>, <a class="el" href="a06126.html#l00087">NLAISCRIPT::CLdbStackMemberiOpCode::runOpCode()</a>, <a class="el" href="a06124.html#l00278">NLAISCRIPT::CCallStackMethodi::runOpCode()</a>, <a class="el" href="a06122.html#l00333">NLAISCRIPT::CLibHeapMemberMethod::runOpCode()</a>, <a class="el" href="a06121.html#l00960">NLAISCRIPT::CAffOpCode::runOpCode()</a>, <a class="el" href="a06121.html#l00819">NLAISCRIPT::CJFalseOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00449">NLAISCRIPT::CAffOpCodeDebug::runOpCode()</a>, <a class="el" href="a06120.html#l00274">NLAISCRIPT::CDiffOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00250">NLAISCRIPT::CInfEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00226">NLAISCRIPT::CSupEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00202">NLAISCRIPT::CEqOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00177">NLAISCRIPT::CInfOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00150">NLAISCRIPT::CSupOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00126">NLAISCRIPT::CMulOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00101">NLAISCRIPT::CDivOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00077">NLAISCRIPT::CSubOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00053">NLAISCRIPT::CAddOpCode::runOpCode()</a>, <a class="el" href="a06120.html#l00034">NLAISCRIPT::CNegOpCode::runOpCode()</a>, <a class="el" href="a05412.html#l00953">NLAIAGENT::CAgentScript::runTellParentNotify()</a>, <a class="el" href="a05589.html#l00260">NLAISCRIPT::CCompilateur::runTypeConstraint()</a>, <a class="el" href="a06734.html#l00092">NLAIAGENT::CHashTimerManager::sendMessage()</a>, <a class="el" href="a06733.html#l00202">NLAIAGENT::CVolatilMemmory::sendMessage()</a>, <a class="el" href="a05964.html#l00093">NLAIAGENT::CLocalMailBox::sendMessage()</a>, <a class="el" href="a05911.html#l00229">NLAIAGENT::IListManager::sendMessage()</a>, <a class="el" href="a05416.html#l00741">NLAIAGENT::CAgentTimerHandle::sendMessage()</a>, <a class="el" href="a05412.html#l01250">NLAIAGENT::CAgentScript::sendMessage()</a>, <a class="el" href="a05412.html#l01177">NLAIAGENT::CAgentScript::sendMethod()</a>, <a class="el" href="a06589.html#l00283">NLAISCRIPT::COperandSimple::serial()</a>, <a class="el" href="a06114.html#l00142">NLAISCRIPT::CObjectUnknown::setBaseType()</a>, <a class="el" href="a06662.html#l00471">NLAISCRIPT::CCompilateur::setChaineVar()</a>, <a class="el" href="a05845.html#l00133">NLAISCRIPT::CClassInterpretFactory::setClass()</a>, <a class="el" href="a05386.html#l00437">NLAIC::CSelfClassFactory::setClass()</a>, <a class="el" href="a05845.html#l00096">NLAISCRIPT::IClassInterpret::setClassName()</a>, <a class="el" href="a06114.html#l00136">NLAISCRIPT::CObjectUnknown::setClassType()</a>, <a class="el" href="a06065.html#l00177">NLAIAGENT::IMessageBase::setContinuation()</a>, <a class="el" href="a06131.html#l00150">NLAILOGIC::IBaseOperator::setGoal()</a>, <a class="el" href="a05854.html#l00698">NLAISCRIPT::COperatorClass::setGoal()</a>, <a class="el" href="a06662.html#l00452">NLAISCRIPT::CCompilateur::setImediateVar()</a>, <a class="el" href="a06662.html#l00439">NLAISCRIPT::CCompilateur::setImediateVarNill()</a>, <a class="el" href="a05843.html#l00278">NLAISCRIPT::CParam::setInfo()</a>, <a class="el" href="a05847.html#l00836">NLAISCRIPT::CAgentClass::setInheritanceName()</a>, <a class="el" href="a06662.html#l00463">NLAISCRIPT::CCompilateur::setListVar()</a>, <a class="el" href="a06066.html#l00106">NLAIAGENT::IMessageBase::setMessageGroup()</a>, <a class="el" href="a06662.html#l00492">NLAISCRIPT::CCompilateur::setMethodVar()</a>, <a class="el" href="a06660.html#l00098">NLAILOGIC::IBaseVar::setName()</a>, <a class="el" href="a06130.html#l00087">NLAIAGENT::CAgentOperation::setName()</a>, <a class="el" href="a05843.html#l00339">NLAISCRIPT::CMethodeName::setName()</a>, <a class="el" href="a05475.html#l00461">NLAIAGENT::IRefrence::setNumRef()</a>, <a class="el" href="a05603.html#l00114">NLAISCRIPT::CConstraintFindRun::setOpCode()</a>, <a class="el" href="a05599.html#l00285">NLAISCRIPT::CConstraintMethode::setOpCode()</a>, <a class="el" href="a06662.html#l00401">NLAISCRIPT::CCompilateur::setPerformative()</a>, <a class="el" href="a05763.html#l00891">NLAILOGIC::CInternalGoal::setProperty()</a>, <a class="el" href="a06065.html#l00170">NLAIAGENT::IMessageBase::setReceiver()</a>, <a class="el" href="a06065.html#l00163">NLAIAGENT::IMessageBase::setSender()</a>, <a class="el" href="a06658.html#l00550">NLAILOGIC::CValueSet::setSize()</a>, <a class="el" href="a06662.html#l00482">NLAISCRIPT::CCompilateur::setStackVar()</a>, <a class="el" href="a06030.html#l00263">NLAIAGENT::CMessageScript::setStaticMember()</a>, <a class="el" href="a05412.html#l00517">NLAIAGENT::CAgentScript::setStaticMember()</a>, <a class="el" href="a05845.html#l00083">NLAISCRIPT::IClassInterpret::setType()</a>, <a class="el" href="a05600.html#l00105">NLAISCRIPT::CFunctionTag::setTypeObject()</a>, <a class="el" href="a05843.html#l00376">NLAISCRIPT::CMethodeName::setTypeOfMethode()</a>, <a class="el" href="a06660.html#l00147">NLAILOGIC::CVar::setValue()</a>, <a class="el" href="a06130.html#l00075">NLAIAGENT::CAgentOperation::setValue()</a>, <a class="el" href="a05398.html#l00075">NLAIAGENT::IAgentInput::setValue()</a>, <a class="el" href="a06658.html#l00155">NLAILOGIC::CValueSet::unify()</a>, <a class="el" href="a05854.html#l00246">NLAISCRIPT::COperatorClass::unifyBackward()</a>, <a class="el" href="a05718.html#l00225">NLAILOGIC::CFirstOrderOperator::unifyBackward()</a>, <a class="el" href="a05854.html#l00285">NLAISCRIPT::COperatorClass::unifyForward()</a>, <a class="el" href="a05718.html#l00264">NLAILOGIC::CFirstOrderOperator::unifyForward()</a>, <a class="el" href="a06343.html#l00402">NLAILOGIC::CRule::unifyLiaisonBack()</a>, <a class="el" href="a06120.html#l00719">NLAISCRIPT::CAddParamNameDebug::~CAddParamNameDebug()</a>, <a class="el" href="a05847.html#l00105">NLAISCRIPT::CAgentClass::~CAgentClass()</a>, <a class="el" href="a06129.html#l00062">NLAIAGENT::CAgentOperation::~CAgentOperation()</a>, <a class="el" href="a05412.html#l00476">NLAIAGENT::CAgentScript::~CAgentScript()</a>, <a class="el" href="a05416.html#l00688">NLAIAGENT::CAgentTimerHandle::~CAgentTimerHandle()</a>, <a class="el" href="a05416.html#l00253">NLAIAGENT::CAgentWatchTimer::~CAgentWatchTimer()</a>, <a class="el" href="a05845.html#l00128">NLAISCRIPT::CClassInterpretFactory::~CClassInterpretFactory()</a>, <a class="el" href="a05573.html#l00083">NLAISCRIPT::CCodeBrancheRunDebug::~CCodeBrancheRunDebug()</a>, <a class="el" href="a05590.html#l00317">NLAISCRIPT::CCompilateur::~CCompilateur()</a>, <a class="el" href="a05588.html#l00052">NLAIAGENT::CComponentHandle::~CComponentHandle()</a>, <a class="el" href="a05607.html#l00085">NLAISCRIPT::CConstraintChkMethodeType::~CConstraintChkMethodeType()</a>, <a class="el" href="a05600.html#l00372">NLAISCRIPT::CConstraintMethode::~CConstraintMethode()</a>, <a class="el" href="a05605.html#l00060">NLAISCRIPT::CConstraintStackComp::~CConstraintStackComp()</a>, <a class="el" href="a05695.html#l00110">NLAILOGIC::CFact::~CFact()</a>, <a class="el" href="a06120.html#l00599">NLAISCRIPT::CFindRunMsg::~CFindRunMsg()</a>, <a class="el" href="a05716.html#l00052">NLAILOGIC::CFirstOrderAssert::~CFirstOrderAssert()</a>, <a class="el" href="a05600.html#l00112">NLAISCRIPT::CFunctionTag::~CFunctionTag()</a>, <a class="el" href="a05804.html#l00093">NLAIC::CIdentType::~CIdentType()</a>, <a class="el" href="a05475.html#l00107">NLAIAGENT::CIdMethod::~CIdMethod()</a>, <a class="el" href="a05763.html#l00569">NLAILOGIC::CInternalGoal::~CInternalGoal()</a>, <a class="el" href="a05859.html#l00074">NLAIAGENT::CKeyObject::~CKeyObject()</a>, <a class="el" href="a06121.html#l00113">NLAISCRIPT::CLdbNewOpCode::~CLdbNewOpCode()</a>, <a class="el" href="a06127.html#l00081">NLAISCRIPT::CLdbOpCode::~CLdbOpCode()</a>, <a class="el" href="a06123.html#l00319">NLAISCRIPT::CLibCallInheritedMethod::~CLibCallInheritedMethod()</a>, <a class="el" href="a06123.html#l00254">NLAISCRIPT::CLibCallMethod::~CLibCallMethod()</a>, <a class="el" href="a06123.html#l00386">NLAISCRIPT::CLibCallMethodi::~CLibCallMethodi()</a>, <a class="el" href="a05964.html#l00060">NLAIAGENT::CLocalMailBox::~CLocalMailBox()</a>, <a class="el" href="a05966.html#l00061">NLAIAGENT::CMainAgentScript::~CMainAgentScript()</a>, <a class="el" href="a06500.html#l00076">NLAISCRIPT::CLibTest::CMethodCall::~CMethodCall()</a>, <a class="el" href="a05413.html#l00114">NLAIAGENT::CAgentScript::CMethodCall::~CMethodCall()</a>, <a class="el" href="a05843.html#l00299">NLAISCRIPT::CMethodeName::~CMethodeName()</a>, <a class="el" href="a05848.html#l00136">NLAISCRIPT::CAgentClass::CMethodType::~CMethodType()</a>, <a class="el" href="a06114.html#l00149">NLAISCRIPT::CObjectUnknown::~CObjectUnknown()</a>, <a class="el" href="a06589.html#l00300">NLAISCRIPT::COperandSimple::~COperandSimple()</a>, <a class="el" href="a06589.html#l00552">NLAISCRIPT::COperandUnknown::~COperandUnknown()</a>, <a class="el" href="a06589.html#l00679">NLAISCRIPT::COperationType::~COperationType()</a>, <a class="el" href="a06589.html#l00813">NLAISCRIPT::COperationTypeGD::~COperationTypeGD()</a>, <a class="el" href="a05854.html#l00094">NLAISCRIPT::COperatorClass::~COperatorClass()</a>, <a class="el" href="a05407.html#l00243">NLAIAGENT::CPairType::~CPairType()</a>, <a class="el" href="a05386.html#l00444">NLAIC::CSelfClassFactory::~CSelfClassFactory()</a>, <a class="el" href="a05407.html#l00128">NLAIAGENT::CStringType::~CStringType()</a>, <a class="el" href="a06658.html#l00132">NLAILOGIC::CValueSet::~CValueSet()</a>, <a class="el" href="a06660.html#l00141">NLAILOGIC::CVar::~CVar()</a>, <a class="el" href="a06733.html#l00080">NLAIAGENT::CVolatilMemmory::~CVolatilMemmory()</a>, <a class="el" href="a05398.html#l00043">NLAIAGENT::IAgentInput::~IAgentInput()</a>, <a class="el" href="a05422.html#l00039">NLAILOGIC::IBaseAssert::~IBaseAssert()</a>, <a class="el" href="a06131.html#l00068">NLAILOGIC::IBaseOperator::~IBaseOperator()</a>, <a class="el" href="a06660.html#l00111">NLAILOGIC::IBaseVar::~IBaseVar()</a>, <a class="el" href="a05420.html#l00303">NLAIAGENT::IBasicAgent::~IBasicAgent()</a>, <a class="el" href="a06039.html#l00091">NLAISCRIPT::IBlock::~IBlock()</a>, <a class="el" href="a05845.html#l00065">NLAISCRIPT::IClassInterpret::~IClassInterpret()</a>, <a class="el" href="a05763.html#l00059">NLAILOGIC::IGoal::~IGoal()</a>, <a class="el" href="a05911.html#l00050">NLAIAGENT::IListBasicManager::~IListBasicManager()</a>, <a class="el" href="a06065.html#l00142">NLAIAGENT::IMessageBase::~IMessageBase()</a>, <a class="el" href="a05475.html#l00467">NLAIAGENT::IRefrence::~IRefrence()</a>, and <a class="el" href="a06759.html#l00041">NLAICHARACTER::IZone::~IZone()</a>. +<p> +<div class="fragment"><pre>00087 { +00088 <span class="keywordflow">if</span>(<a class="code" href="a02145.html#NLAIAGENT_1_1VectorTypea2">decRef</a>() == 0) +00089 <span class="keyword">delete</span> <span class="keyword">this</span>; +00090 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamee2" doxytag="NLAIAGENT::CIndexedVarName::releaseClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::releaseClass </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00125">125</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a06432.html#l00058">_Count</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00095">loadClass()</a>, and <a class="el" href="a05421.html#l00047">NLAILINK::releaseIALib()</a>. +<p> +<div class="fragment"><pre>00126 { +00127 <span class="keywordflow">return</span>; +00128 +00129 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> != NULL) +00130 { +00131 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>->clear(); +00132 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>->clear(); +00133 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i =0; i < <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a>; i++) +00134 { +00135 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> != NULL) <span class="keyword">delete</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a>; +00136 } +00137 <span class="keyword">delete</span> [] <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>; +00138 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a> = NULL; +00139 } +00140 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a> != NULL) +00141 { +00142 <span class="keyword">delete</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a>; +00143 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">_Empty</a> = NULL; +00144 } +00145 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a> != NULL) +00146 { +00147 <span class="keyword">delete</span> <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a>; +00148 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">_Map</a> = NULL; +00149 } +00150 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamea20" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::save </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>os</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Save the class in a stream. +<p> +Implements <a class="el" href="a02154.html#NLAIAGENT_1_1IWordNumRefa14">NLAIC::IBasicInterface</a>. +<p> +Definition at line <a class="el" href="a05414.html#l00268">268</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05415.html#l00347">getIndex()</a>, and <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>00269 { +00270 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( *_TableName[<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea7">getIndex</a>()].Name ); +00271 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamee3" doxytag="NLAIAGENT::CIndexedVarName::saveClass" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NLAIAGENT::CIndexedVarName::saveClass </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>is</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05414.html#l00074">74</a> of file <a class="el" href="a05414.html">agent_string.cpp</a>. +<p> +References <a class="el" href="a06432.html#l00058">_Count</a>, <a class="el" href="a06432.html#l00056">_TableName</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a05415.html#l00275">NLAIAGENT::CIndexedVarName::CNameStruc::Name</a>, <a class="el" href="a05646.html#l00977">s</a>, <a class="el" href="a05415.html#l00291">NLAIAGENT::CIndexedVarName::CNameStruc::save()</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>00075 { +00076 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a577">count</a> = (<a class="code" href="a04558.html#a10">sint32</a>) <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">_Count</a>; +00077 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( count ); +00078 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < <a class="code" href="a04223.html#a577">count</a>; i++) +00079 { +00080 <span class="keywordflow">if</span>(<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruco2">Name</a> != NULL) +00081 { +00082 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a626">s</a> = 1; +00083 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( s ); +00084 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">_TableName</a>[i].<a class="code" href="a02662.html#NLAIAGENT_1_1CIndexedVarName_1_1CNameStruca5">save</a>(os); +00085 } +00086 <span class="keywordflow">else</span> +00087 { +00088 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a04223.html#a626">s</a> = 0; +00089 os.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>( s ); +00090 } +00091 } +00092 +00093 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1VectorTypea54" doxytag="NLAIAGENT::CIndexedVarName::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" nowrap valign="top"> virtual void NLAIC::IBasicInterface::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)<code> [inline, virtual, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02145.html#NLAIC_1_1IPointerGestionz1764_1">NLAIC::IPointerGestion</a>. +<p> +Definition at line <a class="el" href="a05386.html#l00328">328</a> of file <a class="el" href="a05386.html">abstract_interface.h</a>. +<p> +References <a class="el" href="a05386.html#l00350">NLAIC::IBasicInterface::load()</a>, and <a class="el" href="a05386.html#l00346">NLAIC::IBasicInterface::save()</a>. +<p> +<div class="fragment"><pre>00329 { +00330 <span class="keywordflow">if</span> ( f.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>() ) +00331 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea13">load</a>( f ); +00332 <span class="keywordflow">else</span> +00333 <a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea20">save</a>( f ); +00334 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1IVarNamea15" doxytag="NLAIAGENT::CIndexedVarName::subString" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const char* NLAIAGENT::IVarName::subString </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a02661.html">IVarName</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>s</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline, inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Extract an string from an ather. +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00090">90</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +References <a class="el" href="a02661.html#NLAIAGENT_1_1IVarNamea6">NLAIAGENT::IVarName::getString()</a>, <a class="el" href="a05646.html#l00977">s</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a05415.html#l00207">NLAIAGENT::CStringVarName::operator-=()</a>, and <a class="el" href="a05414.html#l00231">operator-=()</a>. +<p> +<div class="fragment"><pre>00091 { +00092 <span class="keywordtype">char</span> *nameTmp,*str = (<span class="keywordtype">char</span> *)<a class="code" href="a04223.html#a626">s</a>.getString(); +00093 nameTmp = (<span class="keywordtype">char</span> *)<a class="code" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamea10">getString</a>(); +00094 +00095 <a class="code" href="a04558.html#a10">sint32</a> k = strlen(nameTmp); +00096 +00097 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a10">sint32</a> i = 0; i < k; i ++) +00098 { +00099 <span class="keywordflow">if</span>(!strcmp(&nameTmp[i],str)) +00100 { +00101 <a class="code" href="a04558.html#a10">sint32</a> <a class="code" href="a05373.html#a2">l</a>,n = strlen(str); +00102 <span class="keywordtype">char</span> *name = <span class="keyword">new</span> <span class="keywordtype">char</span> [(<a class="code" href="a05373.html#a2">l</a> = (k - n + 1))]; +00103 memcpy(name,nameTmp,i); +00104 memcpy(&name[i],nameTmp + n,l); +00105 <span class="keywordflow">return</span> name; +00106 } +00107 } +00108 <span class="keywordflow">return</span> NULL; +00109 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamev0" doxytag="NLAIAGENT::CIndexedVarName::_Bank" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev0">CIndexedVarName::_Bank</a> = 256<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Actual nomber of allocation resolution in the Table. Note that when we superseded table resolution we realloc a new table with the old size add by _Bank. +<p> +Definition at line <a class="el" href="a06432.html#l00057">57</a> of file <a class="el" href="a06432.html">static_def_init.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamev1" doxytag="NLAIAGENT::CIndexedVarName::_Count" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev1">CIndexedVarName::_Count</a> = 0<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Number of string allocated. This is the table size. +<p> + +<p> +Definition at line <a class="el" href="a06432.html#l00058">58</a> of file <a class="el" href="a06432.html">static_def_init.cpp</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00039">initClass()</a>, <a class="el" href="a05414.html#l00095">loadClass()</a>, <a class="el" href="a05414.html#l00239">newIndex()</a>, <a class="el" href="a05414.html#l00125">releaseClass()</a>, and <a class="el" href="a05414.html#l00074">saveClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamev2" doxytag="NLAIAGENT::CIndexedVarName::_Empty" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> std::list< <a class="el" href="a02662.html">CIndexedVarName::CNameStruc</a> * > * <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev2">CIndexedVarName::_Empty</a> = new std::list<<a class="el" href="a02662.html">CIndexedVarName::CNameStruc</a> *><code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Number of cell free in the table, not that this is very usefull because thy prevent us to realloc all time a new table. +<p> +Definition at line <a class="el" href="a06432.html#l00061">61</a> of file <a class="el" href="a06432.html">static_def_init.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamer0" doxytag="NLAIAGENT::CIndexedVarName::_Index" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a10">sint32</a> <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamer0">NLAIAGENT::CIndexedVarName::_Index</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +the index of the declared string in the table. +<p> + +<p> +Definition at line <a class="el" href="a05415.html#l00333">333</a> of file <a class="el" href="a05415.html">agent_string.h</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00157">CIndexedVarName()</a>, <a class="el" href="a05414.html#l00190">clear()</a>, <a class="el" href="a05415.html#l00347">getIndex()</a>, <a class="el" href="a05414.html#l00297">getString()</a>, and <a class="el" href="a05414.html#l00206">insert()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamev3" doxytag="NLAIAGENT::CIndexedVarName::_Map" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamey0">CIndexedVarName::TMapName</a> * <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev3">CIndexedVarName::_Map</a> = new <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamey0">CIndexedVarName::TMapName</a><code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Static std::map for storing string. +<p> + +<p> +Definition at line <a class="el" href="a06432.html#l00060">60</a> of file <a class="el" href="a06432.html">static_def_init.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNamev4" doxytag="NLAIAGENT::CIndexedVarName::_TableName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="a02662.html">CIndexedVarName::CNameStruc</a> * <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNamev4">CIndexedVarName::_TableName</a> = NULL<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Table of string, this the contents of the map. +<p> + +<p> +Definition at line <a class="el" href="a06432.html#l00056">56</a> of file <a class="el" href="a06432.html">static_def_init.cpp</a>. +<p> +Referenced by <a class="el" href="a05414.html#l00157">CIndexedVarName()</a>, <a class="el" href="a05414.html#l00190">clear()</a>, <a class="el" href="a05414.html#l00297">getString()</a>, <a class="el" href="a05414.html#l00039">initClass()</a>, <a class="el" href="a05414.html#l00206">insert()</a>, <a class="el" href="a05414.html#l00095">loadClass()</a>, <a class="el" href="a05414.html#l00239">newIndex()</a>, <a class="el" href="a05414.html#l00125">releaseClass()</a>, <a class="el" href="a05414.html#l00268">save()</a>, and <a class="el" href="a05414.html#l00074">saveClass()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLAIAGENT_1_1CIndexedVarNames0" doxytag="NLAIAGENT::CIndexedVarName::IdIndexedVarName" ></a><p> +<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> const <a class="el" href="a02650.html">NLAIC::CIdentType</a> <a class="el" href="a02660.html#NLAIAGENT_1_1CIndexedVarNames0">CIndexedVarName::IdIndexedVarName</a><code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Referenced by <a class="el" href="a05414.html#l00033">getType()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05415.html">agent_string.h</a><li><a class="el" href="a05414.html">agent_string.cpp</a><li><a class="el" href="a06432.html">static_def_init.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 09:16:32 2004 for NeL by +<a href="http://www.doxygen.org/index.html"> +<img src="doxygen.png" alt="doxygen" align="middle" border=0 > +</a>1.3.6 </small></address> +</body> +</html> |