aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/opcode__call__method_8h-source.html
blob: fa8017701a0746faeb0ae727349627db1fef6be5 (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
<!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=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
 </TR>
</TABLE> 

<!-- banner Nevrax -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 WIDTH=100%>
 <TR><TD  BGCOLOR="#000000" BACKGROUND="/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>opcode_call_method.h</h1><a href="opcode__call__method_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 <font class="preprocessor">#ifndef NL_OP_CODE_CALL_METHOD_H</font>
00026 <font class="preprocessor"></font><font class="preprocessor">#define NL_OP_CODE_CALL_METHOD_H</font>
00027 <font class="preprocessor"></font>
00028 <font class="keyword">namespace </font>NLAISCRIPT
00029 {
<a name="l00030"></a><a class="code" href="classNLAISCRIPT_1_1IMethodContext.html">00030</a>         <font class="keyword">class </font>IMethodContext
00031         {
00032         <font class="keyword">public</font>:
00033                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1IMethodContext.html#a0">saveConstext</a>(CCodeContext &amp;context) = 0;
00034                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1IMethodContext.html#a1">loadConstext</a>(CCodeContext &amp;context) = 0;
00035 
00036                 <font class="keyword">virtual</font> <font class="keyword">const</font> IMethodContext *<a class="code" href="classNLAISCRIPT_1_1IMethodContext.html#a2">clone</a>() <font class="keyword">const</font> = 0;
00037         };
00038 
00039 
<a name="l00040"></a><a class="code" href="classNLAISCRIPT_1_1CMethodContext.html">00040</a>         <font class="keyword">class </font>CMethodContext: <font class="keyword">public</font> IMethodContext
00041         {
00042         <font class="keyword">public</font>:
00043                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CMethodContext.html#a0">saveConstext</a>(CCodeContext &amp;context);
00044                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CMethodContext.html#a1">loadConstext</a>(CCodeContext &amp;context);
00045 
00046                 <font class="keyword">const</font> IMethodContext *<a class="code" href="classNLAISCRIPT_1_1CMethodContext.html#a2">clone</a>() <font class="keyword">const</font>;
00047                 
00048         };
00049 
<a name="l00050"></a><a class="code" href="classNLAISCRIPT_1_1CMethodContextDebug.html">00050</a>         <font class="keyword">class </font>CMethodContextDebug: <font class="keyword">public</font> IMethodContext
00051         {
00052         <font class="keyword">public</font>:
00053                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CMethodContextDebug.html#a0">saveConstext</a>(CCodeContext &amp;context);
00054                 <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CMethodContextDebug.html#a1">loadConstext</a>(CCodeContext &amp;context);
00055 
00056                 <font class="keyword">const</font> IMethodContext *<a class="code" href="classNLAISCRIPT_1_1CMethodContextDebug.html#a2">clone</a>() <font class="keyword">const</font>;
00057                 
00058         };
00059 
<a name="l00060"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html">00060</a>         <font class="keyword">class </font>ICallMethod: <font class="keyword">public</font> IOpRunCode
00061         {
00062         <font class="keyword">private</font>:
<a name="l00063"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#o0">00063</a>                 IMethodContext *<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#o0">_MethodContext</a>;
00064 
00065         <font class="keyword">public</font>:
<a name="l00066"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">00066</a>                 <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a> &amp;c):_MethodContext((IMethodContext *)c._MethodContext-&gt;<a class="code" href="classNLAIC_1_1IBasicType.html#a3">clone</a>())
00067                 {
00068                 }
00069 
<a name="l00070"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a1">00070</a>                 <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(IMethodContext *c):_MethodContext(c)
00071                 {
00072                 }
00073 
<a name="l00074"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a2">00074</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a2">saveConstext</a>(CCodeContext &amp;context)
00075                 {
00076                         _MethodContext-&gt;saveConstext(context);
00077                 }
00078 
<a name="l00079"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a3">00079</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a3">loadConstext</a>(CCodeContext &amp;context)
00080                 {
00081                         _MethodContext-&gt;loadConstext(context);
00082                 }
00083 
<a name="l00084"></a><a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a4">00084</a>                 <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a4">~ICallMethod</a>()
00085                 {
00086                         <font class="keyword">delete</font> _MethodContext;
00087                 }
00088         };
00089 
<a name="l00090"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html">00090</a>         <font class="keyword">class </font>CCallMethod: <font class="keyword">public</font> ICallMethod
00091         {
00092         <font class="keyword">public</font>:
00093                 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#p0">IdCallMethode</a>;
00094                 
00095         <font class="keyword">private</font>:
<a name="l00096"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">00096</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">_Inheritance</a>;
<a name="l00097"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">00097</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">_I</a>;
00098 
00099         <font class="keyword">public</font>:
00100 
<a name="l00101"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a0">00101</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a0">CCallMethod</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a0">CCallMethod</a> &amp;c):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">_Inheritance</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">_Inheritance</a>),<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">_I</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">_I</a>)
00102                 {                       
00103                 }
00104 
<a name="l00105"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a1">00105</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a0">CCallMethod</a>(IMethodContext *c,sint32 inheritance,sint32 i):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">_Inheritance</a>(inheritance),<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">_I</a>(i)
00106                 {                       
00107                 }
00108 
00109                 NLAIAGENT::TProcessStatement <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a2">runOpCode</a>(CCodeContext &amp;context);          
00110                 
00111                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a3">getDebugResult</a>(std::string &amp;str,CCodeContext &amp;context) <font class="keyword">const</font>;
00112 
<a name="l00113"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a4">00113</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a4">clone</a>()<font class="keyword"> const</font>
00114 <font class="keyword">                </font>{
00115                         <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_1CCallMethod.html#a0">CCallMethod</a>(*<font class="keyword">this</font>);
00116                         <font class="keywordflow">return</font> x;
00117                 }
<a name="l00118"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a5">00118</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a5">newInstance</a>()<font class="keyword"> const</font>
00119 <font class="keyword">                </font>{
00120                         <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a4">clone</a>();
00121                 }
<a name="l00122"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a6">00122</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;<a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a6">getType</a>()<font class="keyword"> const</font>
00123 <font class="keyword">                </font>{
00124                         <font class="keywordflow">return</font> IdCallMethode;
00125                 }
00126 
00127                 
00128 
<a name="l00129"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a7">00129</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a7">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
00130                 {               
00131                         sint32 n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">_I</a>;
00132                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00133                         n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">_Inheritance</a>;
00134                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00135                 }
00136 
<a name="l00137"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a8">00137</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a8">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is) 
00138                 {                               
00139                         sint32 n;
00140                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00141                         <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o1">_I</a> = n;
00142                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00143                         <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#o0">_Inheritance</a> = n;
00144                 }
00145                                 
00146 
<a name="l00147"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a9">00147</a>                 <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethod.html#a9">~CCallMethod</a>()
00148                 {
00149                 }
00150 
00151         };      
00152         
<a name="l00153"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html">00153</a>         <font class="keyword">class </font>CCallHeapMethodi: <font class="keyword">public</font> ICallMethod
00154         {
00155         <font class="keyword">public</font>:
00156                 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#p0">IdCallHeapMethodei</a>;
00157                 
00158         <font class="keyword">private</font>:
<a name="l00159"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">00159</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">_Inheritance</a>;
<a name="l00160"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">00160</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">_I</a>;
<a name="l00161"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">00161</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">_HeapPos</a>;
<a name="l00162"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o3">00162</a>                 <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o3">_N</a>;
00163 
00164         <font class="keyword">public</font>:                 
<a name="l00165"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a0">00165</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a0">CCallHeapMethodi</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a0">CCallHeapMethodi</a> &amp;c):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">_Inheritance</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">_Inheritance</a>),<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">_I</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">_I</a>),<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">_HeapPos</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">_HeapPos</a>),_N(c._N)
00166                 {
00167                 }
<a name="l00168"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a1">00168</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a0">CCallHeapMethodi</a>(IMethodContext *c,sint32 inheritance,sint32 i,sint32 heapPos,<font class="keyword">const</font> <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>):
00169                                                                 <a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">_Inheritance</a>(inheritance),<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">_I</a>(i),<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">_HeapPos</a>(heapPos),_N(<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>)
00170                 {
00171                 }
00172 
00173                 NLAIAGENT::TProcessStatement <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a2">runOpCode</a>(CCodeContext &amp;context);          
00174                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a3">getDebugResult</a>(std::string &amp;str,CCodeContext &amp;context) <font class="keyword">const</font>;
00175                                 
<a name="l00176"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a4">00176</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a4">clone</a>()<font class="keyword"> const</font>
00177 <font class="keyword">                </font>{
00178                         <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_1CCallHeapMethodi.html#a0">CCallHeapMethodi</a>(*<font class="keyword">this</font>);
00179                         <font class="keywordflow">return</font> x;
00180                 }
<a name="l00181"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a5">00181</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a5">newInstance</a>()<font class="keyword"> const</font>
00182 <font class="keyword">                </font>{
00183                         <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a4">clone</a>();
00184                 }
<a name="l00185"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a6">00185</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;<a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a6">getType</a>()<font class="keyword"> const</font>
00186 <font class="keyword">                </font>{
00187                         <font class="keywordflow">return</font> IdCallHeapMethodei;
00188                 }               
00189                 
<a name="l00190"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a7">00190</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a7">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
00191                 {
00192                         sint32 n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">_I</a>;
00193                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00194                         n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">_Inheritance</a>;
00195                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00196                         n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">_HeapPos</a>;
00197                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00198                         <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;i = (<a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;)_N;
00199                         os.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(i);
00200                 }
00201 
<a name="l00202"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a8">00202</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a8">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is) 
00203                 {                               
00204                         sint32 n;
00205                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00206                         <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o1">_I</a> = n;
00207                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00208                         <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o0">_Inheritance</a> = n;
00209                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00210                         <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#o2">_HeapPos</a> = n;                   
00211                         is.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(_N);
00212                 }
00213                                 
<a name="l00214"></a><a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a9">00214</a>                 <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CCallHeapMethodi.html#a9">~CCallHeapMethodi</a>()
00215                 {
00216                 }
00217 
00218         };
00219         
00220 
<a name="l00221"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html">00221</a>         <font class="keyword">class </font>CCallStackMethodi: <font class="keyword">public</font> ICallMethod
00222         {
00223         <font class="keyword">public</font>:
00224                 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#p0">IdCallStackMethodei</a>;
00225 
00226         <font class="keyword">protected</font>:
<a name="l00227"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">00227</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">_Inheritance</a>;
<a name="l00228"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">00228</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a>;
<a name="l00229"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n2">00229</a>                 <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n2">_N</a>;
00230                 
00231         <font class="keyword">public</font>:                 
<a name="l00232"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a0">00232</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a0">CCallStackMethodi</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a0">CCallStackMethodi</a> &amp;c):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">_Inheritance</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">_Inheritance</a>),<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a>),_N(c._N)
00233                 {
00234                 }
<a name="l00235"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a1">00235</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a0">CCallStackMethodi</a>(IMethodContext *c,sint32 inheritance,sint32 i,<font class="keyword">const</font> <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">_Inheritance</a>(inheritance),<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a>(i),_N(<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>)
00236                 {                       
00237                 }
00238 
00239                 <font class="keyword">virtual</font>  NLAIAGENT::TProcessStatement <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a2">runOpCode</a>(CCodeContext &amp;context);         
00240                 
00241                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a3">getDebugResult</a>(std::string &amp;str,CCodeContext &amp;context) <font class="keyword">const</font>;              
00242 
<a name="l00243"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a4">00243</a>                 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a4">clone</a>()<font class="keyword"> const</font>
00244 <font class="keyword">                </font>{
00245                         <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_1CCallStackMethodi.html#a0">CCallStackMethodi</a>(*<font class="keyword">this</font>);
00246                         <font class="keywordflow">return</font> x;
00247                 }
<a name="l00248"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a5">00248</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a5">newInstance</a>()<font class="keyword"> const</font>
00249 <font class="keyword">                </font>{
00250                         <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a4">clone</a>();
00251                 }
<a name="l00252"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a6">00252</a>                 <font class="keyword">virtual</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a6">getType</a>()<font class="keyword"> const</font>
00253 <font class="keyword">                </font>{
00254                         <font class="keywordflow">return</font> IdCallStackMethodei;
00255                 }
00256                 
00257 
<a name="l00258"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a7">00258</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a7">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
00259                 {               
00260                         sint32 n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a>;
00261                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00262                         n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">_Inheritance</a>;
00263                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00264                         <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;i = (<a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;)_N;
00265                         os.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(i);
00266                 }
00267 
<a name="l00268"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a8">00268</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a8">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is) 
00269                 {                               
00270                         sint32 n;
00271                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00272                         <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a> = n;
00273                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00274                         <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n0">_Inheritance</a> = n;
00275                         is.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(_N);
00276                 }
00277                                 
<a name="l00278"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a9">00278</a>                 <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a9">~CCallStackMethodi</a>()
00279                 {
00280                 }
00281 
00282         };
00283 
<a name="l00284"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html">00284</a>         <font class="keyword">class </font>CCallStackNewMethodi: <font class="keyword">public</font> CCallStackMethodi
00285         {
00286         <font class="keyword">public</font>:
00287                 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#p0">IdCallStackNewMethodei</a>;
00288         
00289         <font class="keyword">public</font>:
<a name="l00290"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a0">00290</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a0">CCallStackNewMethodi</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a0">CCallStackNewMethodi</a> &amp;c):<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a0">CCallStackMethodi</a>(c)
00291                 {
00292                         
00293                 }
<a name="l00294"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a1">00294</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a0">CCallStackNewMethodi</a>(IMethodContext *c,sint32 inheritance,sint32 i,<font class="keyword">const</font> <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>):<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#a0">CCallStackMethodi</a>(c,inheritance,i,<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>)
00295                 {                       
00296                 }
00297 
00298                 NLAIAGENT::TProcessStatement <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a2">runOpCode</a>(CCodeContext &amp;context);
00299 
<a name="l00300"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a3">00300</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a3">getDebugResult</a>(std::string &amp;str,CCodeContext &amp;context)<font class="keyword"> const</font>
00301 <font class="keyword">                </font>{               
00302                         <a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *obj = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)context.Stack[(int)context.Stack];
00303                         <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a>::const_iterator it = <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n2">_N</a>.begin();
00304 
00305                         <font class="keywordflow">while</font>(it != <a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n2">_N</a>.end())
00306                         {
00307                                 obj = (<a class="code" href="classNLAIAGENT_1_1IObjectIA.html">NLAIAGENT::IObjectIA</a> *)obj-&gt;<a class="code" href="classNLAIAGENT_1_1IObjectIA.html#a7">getStaticMember</a>(*it++);
00308                         }
00309 
00310                         str = <a class="code" href="namespaceNLAIC.html#a5">NLAIC::stringGetBuild</a>(<font class="stringliteral">"CallMethod %d de la class '%s' dans le stack apres un new"</font>,<a class="code" href="classNLAISCRIPT_1_1CCallStackMethodi.html#n1">_I</a>, (<font class="keyword">const</font> <font class="keywordtype">char</font> *)obj-&gt;<a class="code" href="classNLAIC_1_1IBasicType.html#a2">getType</a>());
00311                 }
00312 
<a name="l00313"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a4">00313</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a4">clone</a>()<font class="keyword"> const</font>
00314 <font class="keyword">                </font>{
00315                         <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_1CCallStackNewMethodi.html#a0">CCallStackNewMethodi</a>(*<font class="keyword">this</font>);
00316                         <font class="keywordflow">return</font> x;
00317                 }
00318 
<a name="l00319"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a5">00319</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;<a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a5">getType</a>()<font class="keyword"> const</font>
00320 <font class="keyword">                </font>{
00321                         <font class="keywordflow">return</font> IdCallStackNewMethodei;
00322                 }
00323                                 
<a name="l00324"></a><a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a6">00324</a>                 <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CCallStackNewMethodi.html#a6">~CCallStackNewMethodi</a>()
00325                 {
00326                 }
00327 
00328         };
00329         
00330 
<a name="l00331"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html">00331</a>         <font class="keyword">class </font>CCallMethodi: <font class="keyword">public</font> ICallMethod
00332         {
00333         <font class="keyword">public</font>:
00334                 <font class="keyword">static</font> <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#p0">IdCallMethodei</a>;
00335                 
00336         <font class="keyword">private</font>:
<a name="l00337"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">00337</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">_Inheritance</a>;
<a name="l00338"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">00338</a>                 sint32 <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">_I</a>;
<a name="l00339"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o2">00339</a>                 <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o2">_N</a>;
00340                 
00341         <font class="keyword">public</font>:
<a name="l00342"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a0">00342</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a0">CCallMethodi</a>(<font class="keyword">const</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a0">CCallMethodi</a> &amp;c):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">_Inheritance</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">_Inheritance</a>),<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">_I</a>(c.<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">_I</a>),_N(c._N)
00343                 {
00344 
00345                 }
00346                 
<a name="l00347"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a1">00347</a>                 <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a0">CCallMethodi</a>(IMethodContext *c,sint32 inheritance,sint32 i,<font class="keyword">const</font> <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>):<a class="code" href="classNLAISCRIPT_1_1ICallMethod.html#a0">ICallMethod</a>(c),<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">_Inheritance</a>(inheritance),<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">_I</a>(i),_N(<a class="code" href="namespaceNLAISCRIPT.html#a20">l</a>)
00348                 {                       
00349                 }
00350 
00351                 NLAIAGENT::TProcessStatement <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a2">runOpCode</a>(CCodeContext &amp;context);          
00352                 
00353                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a3">getDebugResult</a>(std::string &amp;str,CCodeContext &amp;context) <font class="keyword">const</font>;              
00354 
<a name="l00355"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a4">00355</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a4">clone</a>()<font class="keyword"> const</font>
00356 <font class="keyword">                </font>{
00357                         <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_1CCallMethodi.html#a0">CCallMethodi</a>(*<font class="keyword">this</font>);
00358                         <font class="keywordflow">return</font> x;
00359                 }
<a name="l00360"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a5">00360</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1IBasicType.html">NLAIC::IBasicType</a> *<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a5">newInstance</a>()<font class="keyword"> const</font>
00361 <font class="keyword">                </font>{
00362                         <font class="keywordflow">return</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a4">clone</a>();
00363                 }
<a name="l00364"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a6">00364</a>                 <font class="keyword">const</font> <a class="code" href="classNLAIC_1_1CIdentType.html">NLAIC::CIdentType</a> &amp;<a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a6">getType</a>()<font class="keyword"> const</font>
00365 <font class="keyword">                </font>{
00366                         <font class="keywordflow">return</font> IdCallMethodei;
00367                 }
00368                 
00369 
<a name="l00370"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a7">00370</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a7">save</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;os)
00371                 {               
00372                         sint32 n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">_I</a>;
00373                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00374                         n = (sint32) <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">_Inheritance</a>;
00375                         os.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00376                         <a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;i = (<a class="code" href="classstd_1_1list.html">std::list&lt;sint32&gt;</a> &amp;)_N;
00377                         os.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(i);
00378                 }
00379 
<a name="l00380"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a8">00380</a>                 <font class="keywordtype">void</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a8">load</a>(<a class="code" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;is) 
00381                 {                               
00382                         sint32 n;
00383                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00384                         <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o1">_I</a> = n;
00385                         is.<a class="code" href="classNLMISC_1_1IStream.html#a5">serial</a>(n);
00386                         <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#o0">_Inheritance</a> = n;
00387                         is.<a class="code" href="classNLMISC_1_1IStream.html#a7">serialCont</a>(_N);
00388                 }
00389                                 
<a name="l00390"></a><a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a9">00390</a>                 <font class="keyword">virtual</font> <a class="code" href="classNLAISCRIPT_1_1CCallMethodi.html#a9">~CCallMethodi</a>()
00391                 {
00392                 }
00393 
00394         };              
00395 }
00396 <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>