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/varstack_8h-source.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/varstack_8h-source.html')
-rw-r--r-- | docs/doxygen/nel/varstack_8h-source.html | 505 |
1 files changed, 505 insertions, 0 deletions
diff --git a/docs/doxygen/nel/varstack_8h-source.html b/docs/doxygen/nel/varstack_8h-source.html new file mode 100644 index 00000000..1de08a7b --- /dev/null +++ b/docs/doxygen/nel/varstack_8h-source.html @@ -0,0 +1,505 @@ +<!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> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </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> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </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> + + +<!-- 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> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.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">Compound List</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">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <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> </center> +<hr><h1>varstack.h</h1><a href="varstack_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 +00007 <font class="comment">/* Copyright, 2000 Nevrax Ltd.</font> +00008 <font class="comment"> *</font> +00009 <font class="comment"> * This file is part of NEVRAX NEL.</font> +00010 <font class="comment"> * NEVRAX NEL is free software; you can redistribute it and/or modify</font> +00011 <font class="comment"> * it under the terms of the GNU General Public License as published by</font> +00012 <font class="comment"> * the Free Software Foundation; either version 2, or (at your option)</font> +00013 <font class="comment"> * any later version.</font> +00014 <font class="comment"></font> +00015 <font class="comment"> * NEVRAX NEL is distributed in the hope that it will be useful, but</font> +00016 <font class="comment"> * WITHOUT ANY WARRANTY; without even the implied warranty of</font> +00017 <font class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</font> +00018 <font class="comment"> * General Public License for more details.</font> +00019 <font class="comment"></font> +00020 <font class="comment"> * You should have received a copy of the GNU General Public License</font> +00021 <font class="comment"> * along with NEVRAX NEL; see the file COPYING. If not, write to the</font> +00022 <font class="comment"> * Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,</font> +00023 <font class="comment"> * MA 02111-1307, USA.</font> +00024 <font class="comment"> */</font> +00025 +00026 <font class="preprocessor">#ifndef NL_VAR_STACK_H</font> +00027 <font class="preprocessor"></font><font class="preprocessor">#define NL_VAR_STACK_H</font> +00028 <font class="preprocessor"></font> +00029 +00030 <font class="keyword">namespace </font>NLAISCRIPT +00031 { +<a name="l00042"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html">00042</a> <font class="keyword">class </font>CVarPStack:<font class="keyword">public</font> NLAIAGENT::IObjetOp +00043 { +00044 +00045 <font class="keyword">public</font>: +00046 <font class="keyword">static</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#p0">IdVarPStack</a>; +00047 <font class="keyword">private</font>: +<a name="l00049"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">00049</a> sint32 <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>; +00050 +00051 <font class="preprocessor"> #ifdef NL_DEBUG</font> +00052 <font class="preprocessor"></font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> *_NameVar; +00053 <font class="preprocessor"> #endif</font> +00054 <font class="preprocessor"></font> +00055 +00056 <font class="keyword">public</font>: +00057 <font class="keyword">static</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a>** <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#p1">_LocalTableRef</a>; +00058 +00059 <font class="keyword">public</font>: +00060 <font class="preprocessor"> #ifdef NL_DEBUG</font> +00061 <font class="preprocessor"></font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a>(sint32 val, <font class="keyword">const</font> <font class="keywordtype">char</font> *nameVar): +00062 <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>(val),_NameVar(new NLAIAGENT::CIndexedVarName(nameVar)) +00063 { +00064 } +00065 +00066 <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>):NLAIAGENT::<a class="code" href="classNLAIAGENT_1_1IObjetOp.html#a0">IObjetOp</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>),<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>.<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>),_NameVar((NLAIAGENT::IVarName *)<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>._NameVar-><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_0">clone</a>()) +00067 { +00068 } +00069 <font class="preprocessor"> #else</font> +<a name="l00070"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">00070</a> <font class="preprocessor"></font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a>(sint32 val): +00071 <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>(val) +00072 { +00073 } +00074 +<a name="l00075"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a1">00075</a> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>):NLAIAGENT::<a class="code" href="classNLAIAGENT_1_1IObjetOp.html#a0">IObjetOp</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>), <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>.<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>) +00076 { +00077 } +00078 <font class="preprocessor"> #endif</font> +00079 <font class="preprocessor"></font> +<a name="l00081"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a2">00081</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a2">getVarType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font> +00082 <font class="keyword"> </font>{ +00083 <font class="keywordflow">return</font> _LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]->getType(); +00084 } +00085 +<a name="l00087"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a3">00087</a> sint32 <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a3">getIndex</a>()<font class="keyword"> const</font> +00088 <font class="keyword"> </font>{ +00089 <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>; +00090 } +00091 +00093 +<a name="l00094"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_0">00094</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_0">clone</a>()<font class="keyword"> const</font> +00095 <font class="keyword"> </font>{ +00096 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a>(*<font class="keyword">this</font>); +00097 <font class="keywordflow">return</font> x; +00098 } +00099 +<a name="l00100"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_1">00100</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_1">newInstance</a>()<font class="keyword"> const </font> +00101 <font class="keyword"> </font>{ +00102 <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_0">clone</a>(); +00103 } +00104 +<a name="l00105"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_2">00105</a> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_2">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &os) +00106 { +00107 sint32 val = <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>; +00108 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(val); +00109 } +00110 +<a name="l00111"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_3">00111</a> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_3">load</a> (<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &is) +00112 { +00113 sint32 val; +00114 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(val); +00115 val = <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>; +00116 } +00117 +<a name="l00118"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_4">00118</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_4">getType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font> +00119 <font class="keyword"> </font>{ +00120 <font class="keywordflow">return</font> IdVarPStack; +00121 } +00122 +<a name="l00123"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_5">00123</a> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_5">getDebugString</a>(std::string &text)<font class="keyword"> const</font> +00124 <font class="keyword"> </font>{ +00125 std::string valVar; +00126 _LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]->getDebugString(valVar); +00127 text = <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CVarPStack<%d>: _vale<%d> pointe la variable %s"</font>,<font class="keyword">this</font>,<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>,valVar.c_str()); +00128 } +00129 +<a name="l00130"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_6">00130</a> <font class="keywordtype">bool</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_6">isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &a)<font class="keyword"> const</font> +00131 <font class="keyword"> </font>{ +00132 <font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a384">t</a> = (<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a0">CVarPStack</a> &)a; +00133 <font class="keywordflow">return</font> t._Val == <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>; +00134 } +00135 +<a name="l00136"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_7">00136</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_7">run</a>() +00137 { +00138 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>; +00139 } +00140 +<a name="l00141"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_8">00141</a> <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_8">neg</a>() +00142 { +00143 ((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>])-><a class="code" href="classNLAIAGENT_1_1IObjetOp.html#z138_2">neg</a>(); +00144 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00145 } +00146 +<a name="l00147"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_9">00147</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_9">operator += </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00148 { +00149 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) += a; +00150 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00151 } +00152 +<a name="l00153"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_10">00153</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_10">operator -= </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00154 { +00155 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) -= a; +00156 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00157 } +00158 +<a name="l00159"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_11">00159</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_11">operator *= </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00160 { +00161 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) *= a; +00162 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00163 } +<a name="l00164"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_12">00164</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_12">operator /= </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00165 { +00166 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) /= a; +00167 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00168 } +00169 +<a name="l00170"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_13">00170</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_13">operator + </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00171 { +00172 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) + a; +00173 +00174 } +00175 +<a name="l00176"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_14">00176</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_14">operator - </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00177 { +00178 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) - a; +00179 } +00180 +<a name="l00181"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_15">00181</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_15">operator * </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00182 { +00183 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) * a; +00184 } +00185 +<a name="l00186"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_16">00186</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_16">operator / </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00187 { +00188 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) / a; +00189 } +00190 +00191 +<a name="l00192"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_17">00192</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_17">operator < </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00193 { +00194 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) < a; +00195 } +<a name="l00196"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_18">00196</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_18">operator > </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00197 { +00198 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) > a; +00199 } +00200 +<a name="l00201"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_19">00201</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_19">operator <= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00202 { +00203 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) <= a; +00204 } +00205 +<a name="l00206"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_20">00206</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_20">operator >= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00207 { +00208 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) >= a; +00209 } +00210 +<a name="l00211"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_21">00211</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_21">operator ! </a>() <font class="keyword">const</font> +00212 { +00213 <font class="keywordflow">return</font> !*((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]); +00214 } +00215 +<a name="l00216"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_22">00216</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_22">operator != </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a)<font class="keyword"> const</font> +00217 <font class="keyword"> </font>{ +00218 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) != a; +00219 } +00220 +<a name="l00221"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_23">00221</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_23">operator == </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a)<font class="keyword"> const</font> +00222 <font class="keyword"> </font>{ +00223 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>]) == a; +00224 } +00225 +<a name="l00226"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_24">00226</a> <font class="keywordtype">bool</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#z259_24">isTrue</a>()<font class="keyword"> const</font> +00227 <font class="keyword"> </font>{ +00228 <font class="keywordflow">return</font> ((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a>*)_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#o0">_Val</a>])->isTrue(); +00229 } +00231 +<a name="l00232"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a4">00232</a> <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStack.html#a4">~CVarPStack</a>() +00233 { +00234 <font class="preprocessor"> #ifdef NL_DEBUG</font> +00235 <font class="preprocessor"></font> _NameVar-><a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>(); +00236 <font class="preprocessor"> #endif</font> +00237 <font class="preprocessor"></font> } +00238 }; +00239 +00240 +<a name="l00252"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html">00252</a> <font class="keyword">class </font>CVarPStackParam:<font class="keyword">public</font> NLAIAGENT::IObjetOp +00253 { +00254 +00255 <font class="keyword">public</font>: +00256 <font class="keyword">static</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p0">IdVarPStackParam</a>; +00257 <font class="keyword">static</font> sint32 <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>; +00258 <font class="keyword">private</font>: +<a name="l00259"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">00259</a> sint32 <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>; +00260 +00261 <font class="preprocessor">#ifdef NL_DEBUG</font> +00262 <font class="preprocessor"></font> <a class="code" href="classNLAIAGENT_1_1IVarName.html">NLAIAGENT::IVarName</a> *_NameVar; +00263 <font class="preprocessor">#endif </font> +00264 <font class="preprocessor"></font> +00265 <font class="keyword">public</font>: +00266 <font class="preprocessor">#ifdef NL_DEBUG</font> +00267 <font class="preprocessor"></font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a>(sint32 val, <font class="keyword">const</font> <font class="keywordtype">char</font> *nameVar): <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>(val),_NameVar(new NLAIAGENT::CIndexedVarName(nameVar)) +00268 { +00269 } +00270 +00271 <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>):NLAIAGENT::<a class="code" href="classNLAIAGENT_1_1IObjetOp.html#a0">IObjetOp</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>),<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>.<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>),_NameVar((NLAIAGENT::IVarName *)<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>._NameVar-><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_0">clone</a>()) +00272 { +00273 } +00274 <font class="preprocessor">#else</font> +<a name="l00275"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">00275</a> <font class="preprocessor"></font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a>( sint32 val): <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>(val) +00276 { +00277 } +00278 +<a name="l00279"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a1">00279</a> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>):NLAIAGENT::<a class="code" href="classNLAIAGENT_1_1IObjetOp.html#a0">IObjetOp</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>), <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>(<a class="code" href="driver__opengl__extension__def_8h.html#a368">v</a>.<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>) +00280 { +00281 } +00282 <font class="preprocessor">#endif</font> +00283 <font class="preprocessor"></font> +00284 +<a name="l00286"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a2">00286</a> <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a2">getObjectIAClone</a>()<font class="keyword"> const</font> +00287 <font class="keyword"> </font>{ +00288 <font class="keywordflow">return</font> (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]->clone(); +00289 } +00290 +<a name="l00292"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a3">00292</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a3">getVarType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font> +00293 <font class="keyword"> </font>{ +00294 <font class="keywordflow">return</font> CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]->getType(); +00295 } +00296 +<a name="l00298"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a4">00298</a> <font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a4">getObject</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font> +00299 <font class="keyword"> </font>{ +00300 <font class="keywordflow">return</font> CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]; +00301 } +00302 +<a name="l00304"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a5">00304</a> sint32 <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a5">getIndex</a>()<font class="keyword"> const</font> +00305 <font class="keyword"> </font>{ +00306 <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>; +00307 } +00308 +00310 +<a name="l00311"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_0">00311</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_0">clone</a>()<font class="keyword"> const</font> +00312 <font class="keyword"> </font>{ +00313 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a>(*<font class="keyword">this</font>); +00314 <font class="keywordflow">return</font> x; +00315 <font class="comment">//return (NLAIAGENT::IObjectIA *)CVarPStack::_LocalTableRef[_Val + _Shift]->clone();</font> +00316 } +00317 +<a name="l00318"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_1">00318</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_1">newInstance</a>()<font class="keyword"> const </font> +00319 <font class="keyword"> </font>{ +00320 <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a364">x</a> = <font class="keyword">new</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a>(*<font class="keyword">this</font>); +00321 <font class="keywordflow">return</font> x; +00322 } +00323 +<a name="l00324"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_2">00324</a> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_2">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &os) +00325 { +00326 sint32 val = <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>; +00327 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( val ); +00328 sint32 shift = <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>; +00329 os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( shift ); +00330 } +00331 +<a name="l00332"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_3">00332</a> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_3">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &is) +00333 { +00334 sint32 val; +00335 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( val ); +00336 <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> = val; +00337 sint32 shift; +00338 is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>( shift ); +00339 <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a> = shift; +00340 } +00341 +<a name="l00342"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_4">00342</a> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_4">getType</a>(<font class="keywordtype">void</font>)<font class="keyword"> const</font> +00343 <font class="keyword"> </font>{ +00344 <font class="keywordflow">return</font> IdVarPStackParam; +00345 } +00346 +<a name="l00347"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_5">00347</a> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_5">getDebugString</a>(std::string &text)<font class="keyword"> const</font> +00348 <font class="keyword"> </font>{ +00349 std::string valVar; +00350 CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]->getDebugString(valVar); +00351 <font class="preprocessor">#ifdef NL_DEBUG </font> +00352 <font class="preprocessor"></font> text = <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"Stack<%d,%s>: pointe la variable %s"</font>,<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>,_NameVar-><a class="code" href="classNLAIAGENT_1_1IVarName.html#a1">getString</a>(),valVar.c_str()); +00353 <font class="preprocessor">#else </font> +00354 <font class="preprocessor"></font> text = <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"Stack<%d>: pointe la variable %s"</font>,<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>,valVar.c_str()); +00355 <font class="preprocessor">#endif</font> +00356 <font class="preprocessor"></font> } +00357 +<a name="l00358"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_6">00358</a> <font class="keywordtype">bool</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_6">isEqual</a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IBasicObjectIA.html">NLAIAGENT::IBasicObjectIA</a> &a)<font class="keyword"> const</font> +00359 <font class="keyword"> </font>{ +00360 <font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a> &<a class="code" href="driver__opengl__extension__def_8h.html#a384">t</a> = (<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a0">CVarPStackParam</a> &)a; +00361 <font class="keywordflow">return</font> t._Val == <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>; +00362 } +00363 +<a name="l00364"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_7">00364</a> <font class="keyword">const</font> <a class="code" href="structNLAIAGENT_1_1IObjectIA_1_1CProcessResult.html">NLAIAGENT::IObjectIA::CProcessResult</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_7">run</a>() +00365 { +00366 <font class="keywordflow">return</font> <a class="code" href="classNLAIAGENT_1_1IObjectIA.html#p0">NLAIAGENT::IObjectIA::ProcessRun</a>; +00367 } +00368 +<a name="l00369"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_8">00369</a> <font class="keyword">virtual</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_8">neg</a>() +00370 { +00371 ((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>])-><a class="code" href="classNLAIAGENT_1_1IObjetOp.html#z138_2">neg</a>(); +00372 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00373 } +00374 +<a name="l00375"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_9">00375</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_9">operator += </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00376 { +00377 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) += a; +00378 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00379 } +00380 +<a name="l00381"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_10">00381</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_10">operator -= </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00382 { +00383 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) -= a; +00384 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00385 } +00386 +<a name="l00387"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_11">00387</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_11">operator *= </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00388 { +00389 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) *= a; +00390 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00391 } +<a name="l00392"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_12">00392</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_12">operator /= </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00393 { +00394 *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) /= a; +00395 <font class="keywordflow">return</font> *<font class="keyword">this</font>; +00396 } +00397 +<a name="l00398"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_13">00398</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_13">operator + </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00399 { +00400 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) + a; +00401 +00402 } +00403 +<a name="l00404"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_14">00404</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_14">operator - </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00405 { +00406 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) - a; +00407 } +00408 +<a name="l00409"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_15">00409</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_15">operator * </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00410 { +00411 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) * a; +00412 } +00413 +<a name="l00414"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_16">00414</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_16">operator / </a>(<font class="keyword">const</font> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) +00415 { +00416 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) / a; +00417 } +00418 +00419 +<a name="l00420"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_17">00420</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_17">operator < </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00421 { +00422 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) < a; +00423 } +<a name="l00424"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_18">00424</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_18">operator > </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00425 { +00426 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) > a; +00427 } +00428 +<a name="l00429"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_19">00429</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_19">operator <= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00430 { +00431 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) <= a; +00432 } +00433 +<a name="l00434"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_20">00434</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_20">operator >= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a) <font class="keyword">const</font> +00435 { +00436 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) >= a; +00437 } +00438 +<a name="l00439"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_21">00439</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_21">operator ! </a>() <font class="keyword">const</font> +00440 { +00441 <font class="keywordflow">return</font> !*((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]); +00442 } +00443 +<a name="l00444"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_22">00444</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_22">operator != </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a)<font class="keyword"> const</font> +00445 <font class="keyword"> </font>{ +00446 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) != a; +00447 } +00448 +<a name="l00449"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_23">00449</a> <a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_23">operator == </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &a)<font class="keyword"> const</font> +00450 <font class="keyword"> </font>{ +00451 <font class="keywordflow">return</font> *((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> *)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>]) == a; +00452 } +00453 +<a name="l00454"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_24">00454</a> <font class="keywordtype">bool</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#z260_24">isTrue</a>()<font class="keyword"> const</font> +00455 <font class="keyword"> </font>{ +00456 <font class="keywordflow">return</font> ((<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a>*)CVarPStack::_LocalTableRef[<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a> + <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#p1">_Shift</a>])->isTrue(); +00457 } +<a name="l00459"></a><a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a6">00459</a> <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#a6">~CVarPStackParam</a>() +00460 { +00461 <font class="preprocessor"> #ifdef NL_DEBUG</font> +00462 <font class="preprocessor"></font> _NameVar-><a class="code" href="classNLAIC_1_1IPointerGestion.html#a3">release</a>(); +00463 <font class="preprocessor"> #endif</font> +00464 <font class="preprocessor"></font> } +00465 }; +00466 +00467 } +00468 <font class="preprocessor">#endif</font> +</pre></div> + +<!-- footer --> +<BR><FONT Size=+5> </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> |