aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/varstack_8h-source.html
blob: d27be9fd20b5b8cf905bc96e55bb622d7c42535d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
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="/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="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=140 BGCOLOR=#dddddd><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=16><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD><IMG width=6 height=14 SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF='/'><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
        <TD><IMG  width=6 height=14  SRC="/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF='/'><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="/inc/img/black_banner.jpg"><A HREF=""><IMG  SRC="/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="/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
	<TD WIDTH=140   BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG  SRC="/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="/news/" TITLE="Rubrique news"><img width=13 height=15  hspace=5 border=0 src=/inc/img/picto-news.gif ALT=#></A></td><td><a  class='linkbox' href="/news/" TITLE="News">News</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/mail/" TITLE="Rubrique mail"><img width=15 height=11  hspace=5 border=0 src=/inc/img/picto-mail.gif ALT=#></A></td><td><a  class='linkbox' href="/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/docs/" TITLE="Rubrique docs"><img width=14 height=16  hspace=5 border=0 src=/inc/img/picto-docs.gif ALT=#></A></td><td><a  class='linkbox' href="/docs/" TITLE="Documentation">Documentation</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/cvs/" TITLE="Rubrique cvs"><img width=13 height=17  hspace=5 border=0 src=/inc/img/picto-cvs.gif ALT=#></A></td><td><a  class='linkbox' href="/cvs/" TITLE="CVS Web">CVS</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/bugs/" TITLE="Rubrique bugs"><img width=20 height=16  hspace=5 border=0 src=/inc/img/picto-bugs.gif ALT=#></A></td><td><a  class='linkbox' href="/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="/GPL.php3" TITLE="Rubrique license"><img  width=18 height=12   hspace=5 border=0 src=/inc/img/picto-gpl.gif ALT=#></A></td><td><a  class='linkbox' href="/GPL.php3" TITLE="License">License</a></td></tr>
		</TABLE>
		</TD></TR></TABLE></TD></TR></TABLE>
		<!------ End Box  ------>

	</TD>
	<TD WIDTH=15><IMG  SRC="/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
	<TD ALIGN=left valign=top><IMG  SRC="/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

<!-- title -->
<TABLE  background="/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td>
<A HREF="/docs/"><img src="/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
</td><td><IMG  SRC="/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="/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:/cgi-bin/nel-search.cgi" href="/cgi-bin/nel-search.cgi">Search</a> &nbsp; </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> &amp;<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-&gt;<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> &amp;<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> &amp;<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>]-&gt;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> &amp;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> &amp;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> &amp;<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 &amp;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>]-&gt;getDebugString(valVar);
00127                         text = <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CVarPStack&lt;%d&gt;: _vale&lt;%d&gt; 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> &amp;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> &amp;<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> &amp;)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> &amp;<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> &amp;<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>])-&gt;<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> &amp;<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> &amp;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> &amp;<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> &amp;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> &amp;<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> &amp;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> &amp;<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> &amp;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> &amp;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> &amp;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> &amp;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> &amp;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 &lt; </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &lt; 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 &gt; </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &gt; 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 &lt;= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &lt;= 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 &gt;= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &gt;= 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> &amp;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> &amp;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>])-&gt;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-&gt;<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> &amp;<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-&gt;<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> &amp;<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>]-&gt;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> &amp;<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>]-&gt;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]-&gt;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> &amp;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> &amp;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> &amp;<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 &amp;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>]-&gt;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&lt;%d,%s&gt;: pointe la variable %s"</font>,<a class="code" href="classNLAISCRIPT_1_1CVarPStackParam.html#o0">_Val</a>,_NameVar-&gt;<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&lt;%d&gt;: 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> &amp;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> &amp;<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> &amp;)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> &amp;<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> &amp;<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>])-&gt;<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> &amp;<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> &amp;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> &amp;<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> &amp;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> &amp;<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> &amp;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> &amp;<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> &amp;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> &amp;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> &amp;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> &amp;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> &amp;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 &lt; </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &lt; 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 &gt; </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &gt; 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 &lt;= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &lt;= 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 &gt;= </a>(<a class="code" href="classNLAIAGENT_1_1IObjetOp.html">NLAIAGENT::IObjetOp</a> &amp;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>]) &gt;= 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> &amp;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> &amp;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>])-&gt;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-&gt;<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>&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=/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>