aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/character_8cpp-source.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/character_8cpp-source.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/character_8cpp-source.html')
-rw-r--r--docs/doxygen/nel/character_8cpp-source.html317
1 files changed, 317 insertions, 0 deletions
diff --git a/docs/doxygen/nel/character_8cpp-source.html b/docs/doxygen/nel/character_8cpp-source.html
new file mode 100644
index 00000000..08bc3e56
--- /dev/null
+++ b/docs/doxygen/nel/character_8cpp-source.html
@@ -0,0 +1,317 @@
+<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+ <TITLE>nevrax.org : docs</TITLE>
+ <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
+</HEAD>
+<BODY MARGINHEIGHT="0" MARGINWIDTH="0">
+
+<!-- uplinks -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
+ </TR>
+</TABLE>
+
+<!-- banner Nevrax -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%>
+ <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
+</TABLE>
+
+<!-- main table -->
+<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%>
+ <TR>
+ <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
+ <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+ <!------ Begin Box ------>
+ <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
+ <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF>
+ <TABLE cellspacing=0 cellpadding=1 border=0>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
+ <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
+ </TABLE>
+ </TD></TR></TABLE></TD></TR></TABLE>
+ <!------ End Box ------>
+
+ </TD>
+ <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
+ <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">
+
+<!-- title -->
+<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td>
+<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
+</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
+</td></tr></table>
+&nbsp;
+
+<!-- block -->
+<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
+ <TD><B>Documentation</B></TD>
+ <TD ALIGN=RIGHT>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.14 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
+<hr><h1>character.cpp</h1><a href="character_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001
+00006 <font class="comment">/* Copyright, 2001 Nevrax Ltd.</font>
+00007 <font class="comment"> *</font>
+00008 <font class="comment"> * This file is part of NEVRAX NEL.</font>
+00009 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font>
+00010 <font class="comment"> * it under the terms of the GNU General Public License as published by</font>
+00011 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font>
+00012 <font class="comment"> * any later version.</font>
+00013 <font class="comment"></font>
+00014 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font>
+00015 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font>
+00016 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font>
+00017 <font class="comment"> * General Public License for more details.</font>
+00018 <font class="comment"></font>
+00019 <font class="comment"> * You should have received a copy of the GNU General Public License</font>
+00020 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font>
+00021 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font>
+00022 <font class="comment"> * MA 02111-1307, USA.</font>
+00023 <font class="comment"> */</font>
+00024
+00025 <font class="preprocessor">#include "<a class="code" href="character_8h.html">nel/ai/character/character.h</a>"</font>
+00026
+00027 <font class="keyword">namespace </font>NLAICHARACTER
+00028 {
+00029
+00030 <font class="comment">/*</font>
+00031 <font class="comment">##############################</font>
+00032 <font class="comment"> ICharacter</font>
+00033 <font class="comment">##############################</font>
+00034 <font class="comment">*/</font>
+00035
+<a name="l00036"></a><a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a3">00036</a> <font class="keyword">const</font> std::string &amp;<a class="code" href="zone__lighter_8cpp.html#a11">ICharacter::getName</a>()<font class="keyword"> const</font>
+00037 <font class="keyword"> </font>{
+00038 <font class="keywordflow">throw</font>;
+00039 }
+00040
+00041 <font class="keywordtype">void</font> <a class="code" href="namespaceNLAICHARACTER.html#a0">setName</a>(<font class="keyword">const</font> std::string &amp;)
+00042 {
+00043 <font class="keywordflow">throw</font>;
+00044 }
+00045
+<a name="l00046"></a><a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a5">00046</a> <font class="keyword">const</font> ICharacter *ICharacter::haveCharacter(<font class="keyword">const</font> std::string &amp;)<font class="keyword"> const</font>
+00047 <font class="keyword"> </font>{
+00048 <font class="keywordflow">throw</font>;
+00049 }
+00050
+<a name="l00051"></a><a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a7">00051</a> <font class="keywordtype">bool</font> ICharacter::canAddCharacter()<font class="keyword"> const</font>
+00052 <font class="keyword"> </font>{
+00053 <font class="keywordflow">throw</font>;
+00054 }
+00055
+<a name="l00056"></a><a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a8">00056</a> <font class="keywordtype">bool</font> ICharacter::addCharacter(<font class="keyword">const</font> ICharacter &amp;)
+00057 {
+00058 <font class="keywordflow">throw</font>;
+00059 }
+00060
+00061
+00062 <font class="comment">/*</font>
+00063 <font class="comment">##############################</font>
+00064 <font class="comment"> CCharacterChild</font>
+00065 <font class="comment">##############################</font>
+00066 <font class="comment">*/</font>
+<a name="l00067"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#p0">00067</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> *CCharacterChild::IDCharacterChild = NULL;
+<a name="l00068"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a1">00068</a> CCharacterChild::CCharacterChild(<font class="keyword">const</font> CCharacterChild &amp;name):ICharacter(name),_Name(name._Name)
+00069 {
+00070 }
+<a name="l00071"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a2">00071</a> CCharacterChild::~CCharacterChild()
+00072 {
+00073 }
+00074
+<a name="l00075"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a5">00075</a> <font class="keyword">const</font> ICharacter *CCharacterChild::haveCharacter(<font class="keyword">const</font> std::string &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>)<font class="keyword"> const</font>
+00076 <font class="keyword"> </font>{
+00077 <font class="keywordflow">if</font>(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a> == <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#o0">_Name</a>) <font class="keywordflow">return</font> <font class="keyword">this</font>;
+00078 <font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a0">ICharacter</a> *c = (<font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a0">ICharacter</a> *)<a class="code" href="classNLAIAGENT_1_1IRefrence.html#a6">getParent</a>();
+00079 <font class="keywordflow">if</font>(c == NULL) <font class="keywordflow">return</font> NULL;
+00080 <font class="keywordflow">else</font> <font class="keywordflow">return</font> c-&gt;haveCharacter(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>);
+00081 }
+00082
+<a name="l00083"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a7">00083</a> <font class="keywordtype">bool</font> CCharacterChild::canAddCharacter()<font class="keyword"> const</font>
+00084 <font class="keyword"> </font>{
+00085 <font class="keywordflow">return</font> <font class="keyword">false</font>;
+00086 }
+<a name="l00087"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a6">00087</a> <font class="keywordtype">bool</font> CCharacterChild::addCharacter(<font class="keyword">const</font> ICharacter &amp;)
+00088 {
+00089 <font class="keywordflow">return</font> <font class="keyword">false</font>;
+00090 }
+00091
+<a name="l00092"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a8">00092</a> <font class="keywordtype">void</font> CCharacterChild::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00093 {
+00094 ICharacter::save(os);
+00095 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#o0">_Name</a>);
+00096 }
+00097
+<a name="l00098"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a9">00098</a> <font class="keywordtype">void</font> CCharacterChild::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00099 {
+00100 ICharacter::load(is);
+00101 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(<a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#o0">_Name</a>);
+00102 }
+00103
+<a name="l00104"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a10">00104</a> <font class="keywordtype">void</font> CCharacterChild::getDebugString(std::string &amp;text)<font class="keyword"> const</font>
+00105 <font class="keyword"> </font>{
+00106 }
+00107
+<a name="l00108"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a11">00108</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CCharacterChild::clone()<font class="keyword"> const</font>
+00109 <font class="keyword"> </font>{
+00110 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a0">CCharacterChild</a>(*<font class="keyword">this</font>);
+00111 }
+00112
+<a name="l00113"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a12">00113</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CCharacterChild::newInstance()<font class="keyword"> const</font>
+00114 <font class="keyword"> </font>{
+00115 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a0">CCharacterChild</a>(*<font class="keyword">this</font>);
+00116 }
+00117
+<a name="l00118"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a14">00118</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CCharacterChild::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00119 <font class="keyword"> </font>{
+00120 <font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a0">ICharacter</a> &amp;c = (<font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a0">ICharacter</a> &amp;)a;
+00121 <font class="keywordflow">return</font> c.getName() == <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#o0">_Name</a>;
+00122 }
+00123
+<a name="l00124"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a15">00124</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &amp;CCharacterChild::run()
+00125 {
+00126 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>;
+00127 }
+00128
+<a name="l00129"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#d0">00129</a> <font class="keywordtype">void</font> CCharacterChild::initClass()
+00130 {
+00131 <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a0">CCharacterChild</a> n(<font class="stringliteral">"TrucNoeud"</font>);
+00132 <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#p0">IDCharacterChild</a> = <font class="keyword">new</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a>(<font class="stringliteral">"CharacterChild"</font>,<a class="code" href="classNLAIC_1_1CSelfClassFactory.html">NLAIC::CSelfClassFactory</a>(n),
+00133 <a class="code" href="classNLAIC_1_1CTypeOfObject.html">NLAIC::CTypeOfObject</a>(<a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s6">NLAIC::CTypeOfObject::tObject</a>),
+00134 <a class="code" href="classNLAIC_1_1CTypeOfOperator.html">NLAIC::CTypeOfOperator</a>(<a class="code" href="classNLAIC_1_1CTypeOfOperator.html#s15s0">NLAIC::CTypeOfOperator::opNone</a>));
+00135 }
+00136
+<a name="l00137"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#d1">00137</a> <font class="keywordtype">void</font> CCharacterChild::releaseClass()
+00138 {
+00139 <font class="keyword">delete</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#p0">IDCharacterChild</a>;
+00140 }
+00141
+00142 <font class="comment">/*</font>
+00143 <font class="comment">##############################</font>
+00144 <font class="comment"> CCharacterNoeud</font>
+00145 <font class="comment">##############################</font>
+00146 <font class="comment">*/</font>
+00147
+<a name="l00148"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#p0">00148</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> *CCharacterNoeud::IDCharacterNoeud = NULL;
+<a name="l00149"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a1">00149</a> CCharacterNoeud::CCharacterNoeud(<font class="keyword">const</font> CCharacterNoeud &amp;c):CCharacterChild(c)
+00150 {
+00151 <a class="code" href="classstd_1_1list.html">std::list&lt;ICharacter *&gt;</a>::const_iterator i = c._Character.begin();
+00152 <font class="keywordflow">while</font>(i != c._Character.end())
+00153 {
+00154 <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.push_back(*i);
+00155 (*i)-&gt;incRef();
+00156 i++;
+00157 }
+00158 }
+<a name="l00159"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a2">00159</a> CCharacterNoeud::~CCharacterNoeud()
+00160 {
+00161 }
+00162
+<a name="l00163"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a3">00163</a> <font class="keyword">const</font> ICharacter *CCharacterNoeud::haveCharacter(<font class="keyword">const</font> std::string &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>)<font class="keyword"> const</font>
+00164 <font class="keyword"> </font>{
+00165 <font class="keywordflow">if</font>(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a> == <a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a4">getName</a>()) <font class="keywordflow">return</font> <font class="keyword">this</font>;
+00166 <font class="keywordflow">else</font>
+00167 {
+00168 <a class="code" href="classstd_1_1list.html">std::list&lt;ICharacter *&gt;</a>::const_iterator i = <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.begin();
+00169 <font class="keywordflow">while</font>(i != <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.end())
+00170 {
+00171 <font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a0">ICharacter</a> *c = (*i++)-&gt;haveCharacter(<a class="code" href="driver__opengl__extension__def_8h.html#a383">s</a>);
+00172 <font class="keywordflow">if</font>(c != NULL) <font class="keywordflow">return</font> c;
+00173 }
+00174 }
+00175 <font class="keywordflow">return</font> NULL;
+00176 }
+00177
+<a name="l00178"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a4">00178</a> <font class="keywordtype">bool</font> CCharacterNoeud::addCharacter(<font class="keyword">const</font> ICharacter &amp;c)
+00179 {
+00180 <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.push_back((<a class="code" href="classNLAICHARACTER_1_1ICharacter.html#a0">ICharacter</a> *)c.clone());
+00181 <font class="keywordflow">return</font> <font class="keyword">true</font>;
+00182 }
+00183
+<a name="l00184"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a5">00184</a> <font class="keywordtype">bool</font> CCharacterNoeud::canAddCharacter()<font class="keyword"> const</font>
+00185 <font class="keyword"> </font>{
+00186 <font class="keywordflow">return</font> <font class="keyword">true</font>;
+00187 }
+00188
+<a name="l00189"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a6">00189</a> <font class="keywordtype">void</font> CCharacterNoeud::save(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
+00190 {
+00191 CCharacterChild::save(os);
+00192 <a class="code" href="classstd_1_1list.html">std::list&lt;ICharacter *&gt;</a>::const_iterator i = <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.begin();
+00193 <font class="keywordflow">while</font>(i != <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.end())
+00194 {
+00195 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( (<a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;) (<a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a11">getType</a>()) );
+00196 (*i)-&gt;save(os);
+00197 i++;
+00198 }
+00199 }
+00200
+<a name="l00201"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a7">00201</a> <font class="keywordtype">void</font> CCharacterNoeud::load(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is)
+00202 {
+00203 CCharacterChild::load(is);
+00204 }
+00205
+<a name="l00206"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a8">00206</a> <font class="keywordtype">void</font> CCharacterNoeud::getDebugString(<font class="keywordtype">char</font> *text)<font class="keyword"> const</font>
+00207 <font class="keyword"> </font>{
+00208 }
+00209
+<a name="l00210"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a9">00210</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CCharacterNoeud::clone()<font class="keyword"> const</font>
+00211 <font class="keyword"> </font>{
+00212 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a0">CCharacterNoeud</a>(*<font class="keyword">this</font>);
+00213 }
+00214
+<a name="l00215"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a10">00215</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *CCharacterNoeud::newInstance()<font class="keyword"> const</font>
+00216 <font class="keyword"> </font>{
+00217 <font class="keywordflow">return</font> <font class="keyword">new</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a0">CCharacterNoeud</a>(<a class="code" href="classNLAICHARACTER_1_1CCharacterChild.html#a4">getName</a>());
+00218 }
+00219
+<a name="l00220"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a12">00220</a> <font class="keywordtype">bool</font> <a class="code" href="chain_8cpp.html#a2">CCharacterNoeud::isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &amp;a)<font class="keyword"> const</font>
+00221 <font class="keyword"> </font>{
+00222
+00223 <font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a0">CCharacterNoeud</a> &amp;c = (<font class="keyword">const</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a0">CCharacterNoeud</a> &amp;)a;
+00224 <font class="keywordflow">if</font>(c._Character.size() != <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.size()) <font class="keywordflow">return</font> <font class="keyword">false</font>;
+00225
+00226 <a class="code" href="classstd_1_1list.html">std::list&lt;ICharacter *&gt;</a>::const_iterator i = <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.begin();
+00227 <a class="code" href="classstd_1_1list.html">std::list&lt;ICharacter *&gt;</a>::const_iterator j = c._Character.begin();
+00228 <font class="keywordflow">while</font>(i != <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#o0">_Character</a>.end())
+00229 {
+00230 <font class="keywordflow">if</font>(!((*i++)-&gt;getName() == (*j++)-&gt;getName())) <font class="keywordflow">return</font> <font class="keyword">false</font>;
+00231 }
+00232 <font class="keywordflow">return</font> <a class="code" href="chain_8cpp.html#a2">CCharacterChild::isEqual</a>(a);
+00233 }
+00234
+<a name="l00235"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#d0">00235</a> <font class="keywordtype">void</font> CCharacterNoeud::initClass()
+00236 {
+00237 <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#a0">CCharacterNoeud</a> n(<font class="stringliteral">"TrucNoeud"</font>);
+00238 <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#p0">IDCharacterNoeud</a> = <font class="keyword">new</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a>(<font class="stringliteral">"CharacterNoeud"</font>,<a class="code" href="classNLAIC_1_1CSelfClassFactory.html">NLAIC::CSelfClassFactory</a>(n),
+00239 <a class="code" href="classNLAIC_1_1CTypeOfObject.html">NLAIC::CTypeOfObject</a>(<a class="code" href="classNLAIC_1_1CTypeOfObject.html#s12s6">NLAIC::CTypeOfObject::tObject</a>),
+00240 <a class="code" href="classNLAIC_1_1CTypeOfOperator.html">NLAIC::CTypeOfOperator</a>(<a class="code" href="classNLAIC_1_1CTypeOfOperator.html#s15s0">NLAIC::CTypeOfOperator::opNone</a>));
+00241 }
+00242
+<a name="l00243"></a><a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#d1">00243</a> <font class="keywordtype">void</font> CCharacterNoeud::releaseClass()
+00244 {
+00245 <font class="keyword">delete</font> <a class="code" href="classNLAICHARACTER_1_1CCharacterNoeud.html#p0">IDCharacterNoeud</a>;
+00246 }
+00247 }
+</pre></div>
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </FONT>
+</TD>
+<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
+</TR>
+</TABLE>
+</BODY>
+</HTML>