aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/form__elm_8h-source.html
blob: 65a9bb36cf98d0eb912f4ad697b07356bdf45699 (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
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
	<TITLE>nevrax.org : docs</TITLE>
	<LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css">
	<link href="doxygen.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY MARGINHEIGHT="0" MARGINWIDTH="0">

<!-- uplinks -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0>
 <TR>
        <TD WIDTH=16><IMG  SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=140 BGCOLOR=#dddddd><IMG  SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD WIDTH=16><IMG  SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD>
        <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
        <TD><IMG  width=6 height=14  SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</TD>
 </TR>
</TABLE> 

<!-- banner Nevrax -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 WIDTH=100%>
 <TR><TD  BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG  SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR>
</TABLE>

<!-- main table -->
<TABLE CELLSPACING=0 CELLPADDING=0  BORDER=0 height=100%>
 <TR>
	<TD WIDTH=16><IMG  SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD>
	<TD WIDTH=140   BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG  SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT="">

		<!------ Begin Box ------>
		<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0  cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black>
		<FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td  colspan=2 bgcolor=#FFFFFF>
		<TABLE cellspacing=0 cellpadding=1 border=0>
			<tr><td ALIGN=middle><a  class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15  hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a  class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11  hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a  class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16  hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a  class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17  hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a  class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16  hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a  class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr>
			<tr><td ALIGN=middle><a  class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img  width=18 height=12   hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a  class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr>
		</TABLE>
		</TD></TR></TABLE></TD></TR></TABLE>
		<!------ End Box  ------>

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

<!-- title -->
<TABLE  background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td>
<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A>
</td><td><IMG  SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT="">
</td></tr></table>
&nbsp;

<!-- block -->
<TABLE  bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0  BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD>
	<TD><B>Documentation</B></TD>
	<TD ALIGN=RIGHT>&nbsp;</td>
</tr></table>
<!-- Generated by Doxygen 1.2.14 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> &nbsp; </center>
<hr><h1>form_elm.h</h1><a href="form__elm_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 _NLGEORGES__FORM_ELT_H</font>
00027 <font class="preprocessor"></font><font class="preprocessor">#define _NLGEORGES__FORM_ELT_H</font>
00028 <font class="preprocessor"></font>
00029 <font class="preprocessor">#include "<a class="code" href="u__form__elm_8h.html">nel/georges/u_form_elm.h</a>"</font>
00030 <font class="preprocessor">#include "<a class="code" href="smart__ptr_8h.html">nel/misc/smart_ptr.h</a>"</font>
00031 <font class="preprocessor">#include "<a class="code" href="rgba_8h.html">nel/misc/rgba.h</a>"</font>
00032 
00033 <font class="preprocessor">#include "<a class="code" href="form__dfn_8h.html">georges/form_dfn.h</a>"</font>
00034 
00035 <font class="keyword">namespace </font>NLGEORGES
00036 {
00037 
00038 <font class="keyword">class </font>CType;
00039 <font class="keyword">class </font>CFormDfn;
00040 <font class="keyword">class </font>CForm;
00041 
<a name="l00045"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html">00045</a> <font class="keyword">class </font>CFormElm : <font class="keyword">public</font> UFormElm
00046 {
<a name="l00047"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">00047</a>         <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a>;
<a name="l00048"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">00048</a>         <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a>;
<a name="l00049"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">00049</a>         <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a>;
00050 <font class="keyword">public</font>:
00051 
00052         <font class="comment">// Contructor</font>
00053         <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> (<a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a> *form, <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *parentNode, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> *parentDfn, uint parentIndex);
00054 
00055         <font class="comment">// Destructor</font>
00056         <font class="keyword">virtual</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#a1">~CFormElm</a> ();
00057 
00058         <font class="comment">// Get the form pointer</font>
00059         <a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a>                   *<a class="code" href="classNLGEORGES_1_1CFormElm.html#a2">getForm</a> () <font class="keyword">const</font>;
00060 
00061         <font class="comment">// Is the element are used by this form ?</font>
00062         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a3">isUsed</a> (<font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a> *form) <font class="keyword">const</font>;
00063 
00064         <font class="comment">// Get the form name of the element</font>
00065         <font class="keyword">virtual</font> <font class="keywordtype">void</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a4">getFormName</a> (std::string &amp;result, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *child=NULL) <font class="keyword">const</font> = 0;
00066 
00067         <font class="comment">// From UFormElm</font>
00068         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a5">getNodeByName</a> (<font class="keyword">const</font> UFormElm **result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s13">TWhereIsNode</a> *where, <font class="keywordtype">bool</font> verbose, uint32 round=0xffffffff) <font class="keyword">const</font>;
00069         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a5">getNodeByName</a> (UFormElm **result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s13">TWhereIsNode</a> *where, <font class="keywordtype">bool</font> verbose, uint32 round=0xffffffff);
00070         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (std::string &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00071         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (sint8 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00072         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (uint8 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00073         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (sint16 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00074         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (uint16 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00075         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (sint32 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00076         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (uint32 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00077         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (<font class="keywordtype">float</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00078         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (<font class="keywordtype">double</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00079         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (<font class="keywordtype">bool</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00080         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a7">getValueByName</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where, uint32 round=0xffffffff) <font class="keyword">const</font>;
00081         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00082         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (sint8 <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00083         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (uint8 <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00084         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (sint16 <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00085         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (uint16 <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00086         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (sint32 <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00087         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (uint32 <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00088         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (<font class="keywordtype">float</font> <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00089         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (<font class="keywordtype">double</font> <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00090         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (<font class="keywordtype">bool</font> <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00091         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a18">setValueByName</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keywordtype">bool</font> *created);
00092         <font class="keyword">virtual</font> UFormElm        *<a class="code" href="classNLGEORGES_1_1CFormElm.html#a29">getParent</a> () <font class="keyword">const</font>;
00093         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a30">isArray</a> () <font class="keyword">const</font>;
00094         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a31">getArraySize</a> (uint &amp;size) <font class="keyword">const</font>;
00095         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a32">getArrayNode</a> (<font class="keyword">const</font> UFormElm **result, uint arrayIndex) <font class="keyword">const</font>;
00096         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a32">getArrayNode</a> (UFormElm **result, uint arrayIndex);
00097         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a34">getArrayNodeName</a> (std::string &amp;result, uint arrayIndex) <font class="keyword">const</font>;
00098         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (std::string &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00099         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (sint8 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00100         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (uint8 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00101         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (sint16 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00102         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (uint16 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00103         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (sint32 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00104         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (uint32 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00105         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (<font class="keywordtype">float</font> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00106         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (<font class="keywordtype">double</font> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00107         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (<font class="keywordtype">bool</font> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00108         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a35">getArrayValue</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00109         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a46">isStruct</a> () <font class="keyword">const</font>;
00110         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a47">isVirtualStruct</a> () <font class="keyword">const</font>;
00111         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a48">getDfnName</a> (std::string &amp;dfnName ) <font class="keyword">const</font>;
00112         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a49">getStructSize</a> (uint &amp;size) <font class="keyword">const</font>;
00113         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a50">getStructNodeName</a> (uint element, std::string &amp;result) <font class="keyword">const</font>;
00114         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a51">getStructNode</a> (uint element, <font class="keyword">const</font> UFormElm **result) <font class="keyword">const</font>;
00115         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a51">getStructNode</a> (uint element, UFormElm **result);
00116         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a53">isAtom</a> () <font class="keyword">const</font>;
00117         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (std::string &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00118         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (sint8 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00119         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (uint8 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00120         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (sint16 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00121         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (uint16 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00122         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (sint32 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00123         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (uint32 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00124         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (<font class="keywordtype">float</font> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00125         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (<font class="keywordtype">double</font> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00126         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (<font class="keywordtype">bool</font> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00127         <font class="keyword">virtual</font> <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a54">getValue</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00128 
00129         <font class="comment">// ** Convert functions</font>
00130 
00131         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (sint8 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00132         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (uint8 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00133         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (sint16 &amp;result,   <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00134         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (uint16 &amp;result,   <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00135         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (sint32 &amp;result,   <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00136         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (uint32 &amp;result,   <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00137         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (<font class="keywordtype">float</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00138         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (<font class="keywordtype">double</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00139         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (<font class="keywordtype">bool</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00140         <font class="keyword">inline</font> <font class="keywordtype">bool</font>             <a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">convertValue</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>) <font class="keyword">const</font>;
00141 
00142         <font class="comment">// ** Internal node access</font>
00143 
00144         <font class="comment">// Create for a node by name. If the node already exist, return it</font>
00145         <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a75">createNodeByName</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **parentDfn, uint &amp;indexDfn, 
00146                                                                                 <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **nodeDfn, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a> **nodeType, 
00147                                                                                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> **node, UFormDfn::TEntryType &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, 
00148                                                                                 <font class="keywordtype">bool</font> &amp;array, <font class="keywordtype">bool</font> &amp;created);
00149 
00154         <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a76">deleteNodeByName</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **parentDfn, uint &amp;indexDfn, 
00155                                                                                 <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **nodeDfn, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a> **nodeType, 
00156                                                                                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> **node, UFormDfn::TEntryType &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, 
00157                                                                                 <font class="keywordtype">bool</font> &amp;array);
00158 
00159         <font class="comment">// Search for a node by name</font>
00160         <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a5">getNodeByName</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **parentDfn, uint &amp;indexDfn, 
00161                                                                                 <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **nodeDfn, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a> **nodeType, 
00162                                                                                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> **node, UFormDfn::TEntryType &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, 
00163                                                                                 <font class="keywordtype">bool</font> &amp;array, <font class="keywordtype">bool</font> &amp;parentVDfnArray, <font class="keywordtype">bool</font> verbose, uint32 round) <font class="keyword">const</font>;
00164 
00169         <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a78">arrayInsertNodeByName</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **parentDfn, uint &amp;indexDfn, 
00170                                                                                 <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **nodeDfn, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a> **nodeType, 
00171                                                                                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> **node, UFormDfn::TEntryType &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, 
00172                                                                                 <font class="keywordtype">bool</font> &amp;array, <font class="keywordtype">bool</font> verbose, uint arrayIndex) <font class="keyword">const</font>;
00173 
00178         <font class="keywordtype">bool</font>    <a class="code" href="classNLGEORGES_1_1CFormElm.html#a79">arrayDeleteNodeByName</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **parentDfn, uint &amp;indexDfn, 
00179                                                                                 <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **nodeDfn, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a> **nodeType, 
00180                                                                                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> **node, UFormDfn::TEntryType &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, 
00181                                                                                 <font class="keywordtype">bool</font> &amp;array, <font class="keywordtype">bool</font> verbose, uint arrayIndex) <font class="keyword">const</font>;
00182 <font class="keyword">protected</font>:
00183         
00184         <font class="comment">// Action to perform</font>
<a name="l00185"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#t3">00185</a>         <font class="keyword">enum</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#t3">TNodeAction</a>
00186         {
00187                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#t3t0">Return</a>,
00188                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#t3t1">Create</a>,
00189                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#t3t2">Delete</a>,
00190         };
00191 
00200         <font class="keyword">static</font> <font class="keywordtype">bool</font>     <a class="code" href="classNLGEORGES_1_1CFormElm.html#e0">getIternalNodeByName</a> (<a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a> *form, <font class="keyword">const</font> <font class="keywordtype">char</font> *name, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **parentDfn, uint &amp;indexDfn, 
00201                                                                                 <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a> **nodeDfn, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l1">CType</a> **nodeType, 
00202                                                                                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> **node, UFormDfn::TEntryType &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, 
00203                                                                                 <font class="keywordtype">bool</font> &amp;array, <a class="code" href="classNLGEORGES_1_1CFormElm.html#t3">TNodeAction</a> action, <font class="keywordtype">bool</font> &amp;created, <font class="keywordtype">bool</font> &amp;parentVDfnArray, <font class="keywordtype">bool</font> verbose, uint32 round);
00204 
00208         <font class="keyword">virtual</font> <font class="keywordtype">void</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#b0">unlink</a> (<a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *child);
00209 
00210 <font class="keyword">public</font>:
00211 
00212         <font class="comment">// Get next token, return NULL if last token</font>
00213         <font class="keyword">static</font> <font class="keyword">const</font> <font class="keywordtype">char</font>* <a class="code" href="classNLGEORGES_1_1CFormElm.html#d0">tokenize</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *name, std::string &amp;str, uint &amp;errorIndex, uint &amp;code);
00214 
00215         <font class="comment">// ** IO functions</font>
00216         <font class="keyword">virtual</font> xmlNodePtr      <a class="code" href="classNLGEORGES_1_1CFormElm.html#a80">write</a> (xmlNodePtr node, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a> *form, <font class="keyword">const</font> <font class="keywordtype">char</font> *structName = NULL, <font class="keywordtype">bool</font> forceWrite = <font class="keyword">false</font>) <font class="keyword">const</font> = 0;
00217 
00218         <font class="comment">// Last value of round</font>
00219         <font class="keyword">static</font> uint32           <a class="code" href="classNLGEORGES_1_1CFormElm.html#p0">LastRound</a>;
00220 
00221 <font class="keyword">protected</font>:
00222 
00223         <font class="comment">// The form of this node</font>
<a name="l00224"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#n0">00224</a>         <a class="code" href="classNLGEORGES_1_1CFormElm.html#l0">CForm</a>                           *<a class="code" href="classNLGEORGES_1_1CFormElm.html#n0">Form</a>;
00225 
00226         <font class="comment">// The parent node of this node</font>
<a name="l00227"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#n1">00227</a>         <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a>                        *<a class="code" href="classNLGEORGES_1_1CFormElm.html#n1">ParentNode</a>;
00228 
00229         <font class="comment">// The parent DFN of this node</font>
<a name="l00230"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#n2">00230</a>         <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#l2">CFormDfn</a>          *<a class="code" href="classNLGEORGES_1_1CFormElm.html#n2">ParentDfn</a>;
00231 
00232         <font class="comment">// The index in the parent DFN for this node</font>
<a name="l00233"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#n3">00233</a>         uint                            <a class="code" href="classNLGEORGES_1_1CFormElm.html#n3">ParentIndex</a>;
00234 
00235         <font class="comment">// Recurce Tag</font>
<a name="l00236"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#n4">00236</a>         uint32                          <a class="code" href="classNLGEORGES_1_1CFormElm.html#n4">Round</a>;
00237 
00238         <font class="comment">// Error handling</font>
00239         <font class="keyword">static</font> <font class="keywordtype">void</font>                     <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keywordtype">bool</font> exception, <font class="keyword">const</font> <font class="keywordtype">char</font> *formName, <font class="keyword">const</font> <font class="keywordtype">char</font> *formFileName, <font class="keyword">const</font> <font class="keywordtype">char</font> *function, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a398">format</a>, ... );
00240         <font class="keyword">virtual</font> <font class="keywordtype">void</font>            <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keywordtype">bool</font> exception, <font class="keyword">const</font> <font class="keywordtype">char</font> *function, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a398">format</a>, ... ) <font class="keyword">const</font>;
00241 
00242 <font class="keyword">private</font>:
00243         <font class="comment">// Tokens</font>
<a name="l00244"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#u4">00244</a>         <font class="keyword">enum</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#u4">TToken</a>
00245         {
00246                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#u4u0">TokenString</a> = 0,
00247                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#u4u1">TokenPoint</a>,
00248                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#u4u2">TokenArrayBegin</a>,
00249                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#u4u3">TokenArrayEnd</a>,
00250         };
00251 };
00252 
<a name="l00259"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct.html">00259</a> <font class="keyword">class </font>CFormElmStruct : <font class="keyword">public</font> CFormElm
00260 {
00261 <font class="keyword">public</font>:
00262         <font class="comment">// Default constructor</font>
00263         <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a0">CFormElmStruct</a> (CForm *form, <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *parentNode, <font class="keyword">const</font> CFormDfn *parentDfn, uint parentIndex);
00264         <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a1">~CFormElmStruct</a> ();
00265 
00266         <font class="comment">// Clear sub elements</font>
00267         <font class="keywordtype">void</font> <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a2">clean</a> ();
00268 
00269         <font class="comment">// Smart pointer on the form definition for this structure</font>
<a name="l00270"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#m0">00270</a>         <a class="code" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr&lt;CFormDfn&gt;</a>     <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#m0">FormDfn</a>;
00271 
00272         <font class="comment">// Pointer on the parent element</font>
00273         <font class="comment">//CFormElmStruct                                        *Parent;</font>
00274 
00275         <font class="comment">// A struct element</font>
<a name="l00276"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html">00276</a>         <font class="keyword">class </font>CFormElmStructElm
00277         {
00278         <font class="keyword">public</font>:
<a name="l00279"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#a0">00279</a>                 <a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#a0">CFormElmStructElm</a> ()
00280                 {
00281                         <a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#m1">Element</a> = NULL;
00282                 }
00283 
<a name="l00284"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#m0">00284</a>                 std::string             <a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#m0">Name</a>;
<a name="l00285"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#m1">00285</a>                 CFormElm*               <a class="code" href="classNLGEORGES_1_1CFormElmStruct_1_1CFormElmStructElm.html#m1">Element</a>;
00286         };
00287 
00288 
00289         <font class="comment">// Build form a DFN</font>
00290         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a3">build</a> (<font class="keyword">const</font> CFormDfn *dfn);
00291 
00292         <font class="comment">// From UFormElm</font>
00293         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a4">isStruct</a> () <font class="keyword">const</font>;
00294         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a5">getStructSize</a> (uint &amp;size) <font class="keyword">const</font>;
00295         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a6">getStructNodeName</a> (uint element, std::string &amp;result) <font class="keyword">const</font>;
00296         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a7">getStructNode</a> (uint element, <font class="keyword">const</font> UFormElm **result) <font class="keyword">const</font>;
00297         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a7">getStructNode</a> (uint element, UFormElm **result);
00298 
00299         <font class="comment">// From CFormElm</font>
00300         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a9">isUsed</a> (<font class="keyword">const</font> CForm *form) <font class="keyword">const</font>;
00301         xmlNodePtr                      <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a10">write</a> (xmlNodePtr node, <font class="keyword">const</font> CForm *form, <font class="keyword">const</font> <font class="keywordtype">char</font> *structName, <font class="keywordtype">bool</font> forceWrite = <font class="keyword">false</font>) <font class="keyword">const</font>;
00302         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a11">unlink</a> (<a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *child);
00303         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a12">getFormName</a> (std::string &amp;result, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *child) <font class="keyword">const</font>;
00304 
00305 
00306         <font class="comment">// Call by CFormLoader</font>
00307         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a13">read</a> (xmlNodePtr node, CFormLoader &amp;loader, <font class="keyword">const</font> CFormDfn *dfn, CForm *form);
00308 
00309         <font class="comment">// Sub Elements</font>
<a name="l00310"></a><a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#m1">00310</a>         std::vector&lt;CFormElmStructElm&gt;          <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#m1">Elements</a>;
00311 
00312         <font class="comment">// Error handling</font>
00313         <font class="keyword">virtual</font> <font class="keywordtype">void</font>            <a class="code" href="classNLGEORGES_1_1CFormElmStruct.html#a14">warning</a> (<font class="keywordtype">bool</font> exception, <font class="keyword">const</font> <font class="keywordtype">char</font> *function, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a398">format</a>, ... ) <font class="keyword">const</font>;
00314 };
00315 
<a name="l00319"></a><a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html">00319</a> <font class="keyword">class </font>CFormElmVirtualStruct : <font class="keyword">public</font> CFormElmStruct
00320 {
00321 <font class="keyword">public</font>:
00322 
00323         <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a0">CFormElmVirtualStruct</a> (CForm *form, <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *parentNode, <font class="keyword">const</font> CFormDfn *parentDfn, uint parentIndex);
00324 
00325         <font class="comment">// The Dfn filename used by this struct</font>
<a name="l00326"></a><a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#m0">00326</a>         std::string                     <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#m0">DfnFilename</a>;
00327 
00328         <font class="comment">// From UFormElm</font>
00329         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a1">isVirtualStruct</a> () <font class="keyword">const</font>;
00330         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a2">getDfnName</a> (std::string &amp;dfnName ) <font class="keyword">const</font>;
00331 
00332         <font class="comment">// From CFormElm</font>
00333         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a3">isUsed</a> (<font class="keyword">const</font> CForm *form) <font class="keyword">const</font>;
00334         xmlNodePtr                      <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a4">write</a> (xmlNodePtr node, <font class="keyword">const</font> CForm *form, <font class="keyword">const</font> <font class="keywordtype">char</font> *structName, <font class="keywordtype">bool</font> forceWrite = <font class="keyword">false</font>) <font class="keyword">const</font>;
00335 
00336         <font class="comment">// Call by CFormLoader</font>
00337         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a5">read</a> (xmlNodePtr node, CFormLoader &amp;loader, CForm *form);
00338 
00339         <font class="comment">// Error handling</font>
00340         <font class="keyword">virtual</font> <font class="keywordtype">void</font>            <a class="code" href="classNLGEORGES_1_1CFormElmVirtualStruct.html#a6">warning</a> (<font class="keywordtype">bool</font> exception, <font class="keyword">const</font> <font class="keywordtype">char</font> *function, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a398">format</a>, ... ) <font class="keyword">const</font>;
00341 };
00342 
<a name="l00346"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray.html">00346</a> <font class="keyword">class </font>CFormElmArray : <font class="keyword">public</font> CFormElm
00347 {
00348 <font class="keyword">public</font>:
00349         <font class="comment">// Default constructor</font>
00350         <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a0">CFormElmArray</a> (CForm *form, <font class="keyword">const</font> CFormDfn *formDfn, <font class="keyword">const</font> CType *<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *parentNode, <font class="keyword">const</font> CFormDfn *parentDfn, uint parentIndex);
00351         <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a1">~CFormElmArray</a> ();
00352         <font class="keywordtype">void</font> <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a2">clean</a> ();
00353 
00354         <font class="comment">// Smart pointer on the form definition for this structure</font>
<a name="l00355"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray.html#m0">00355</a>         <a class="code" href="classNLMISC_1_1CSmartPtr.html">NLMISC::CSmartPtr&lt;CFormDfn&gt;</a>     <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#m0">FormDfn</a>;
00356 
00357         <font class="comment">// Pointer on the type (the smart pointer in hold by CFormDfn)</font>
<a name="l00358"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray.html#m1">00358</a>         <font class="keyword">const</font> CType                     *<a class="code" href="classNLGEORGES_1_1CFormElmArray.html#m1">Type</a>;
00359 
00360         <font class="comment">// From UFormElm</font>
00361         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a3">isArray</a> () <font class="keyword">const</font>;
00362         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a4">getArraySize</a> (uint &amp;size) <font class="keyword">const</font>;
00363         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a5">getArrayNode</a> (<font class="keyword">const</font> UFormElm **result, uint arrayIndex) <font class="keyword">const</font>;
00364         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a5">getArrayNode</a> (UFormElm **result, uint arrayIndex);
00365         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a7">getArrayNodeName</a> (std::string &amp;result, uint arrayIndex) <font class="keyword">const</font>;
00366         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (std::string &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00367         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (sint8 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00368         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (uint8 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00369         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (sint16 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00370         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (uint16 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00371         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (sint32 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00372         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (uint32 &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00373         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (<font class="keywordtype">float</font> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00374         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (<font class="keywordtype">double</font> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00375         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (<font class="keywordtype">bool</font> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00376         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a8">getArrayValue</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;result, uint arrayIndex, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s14">TWhereIsValue</a> *where) <font class="keyword">const</font>;
00377 
00378         <font class="comment">// From CFormElm</font>
00379         xmlNodePtr                      <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a19">write</a> (xmlNodePtr node, <font class="keyword">const</font> CForm *form, <font class="keyword">const</font> <font class="keywordtype">char</font> *structName, <font class="keywordtype">bool</font> forceWrite = <font class="keyword">false</font>) <font class="keyword">const</font>;
00380         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a20">setParent</a> (<a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *parent);
00381         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a21">unlink</a> (<a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *child);
00382         <font class="keywordtype">bool</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a22">isUsed</a> (<font class="keyword">const</font> CForm *form) <font class="keyword">const</font>;
00383         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a23">getFormName</a> (std::string &amp;result, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElm.html#a0">CFormElm</a> *child) <font class="keyword">const</font>;
00384 
00385         <font class="comment">// Call by CFormLoader</font>
00386 
00387         <font class="comment">// Read an array</font>
00388         <font class="keywordtype">void</font>                            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a24">read</a> (xmlNodePtr node, CFormLoader &amp;loader, CForm *form);
00389 
00390         <font class="comment">// A struct element</font>
<a name="l00391"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html">00391</a>         <font class="keyword">class </font>CElement
00392         {
00393         <font class="keyword">public</font>:
<a name="l00394"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#a0">00394</a>                 <a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#a0">CElement</a> ()
00395                 {
00396                         <a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#m1">Element</a> = NULL;
00397                 }
00398 
<a name="l00399"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#m0">00399</a>                 std::string             <a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#m0">Name</a>;
<a name="l00400"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#m1">00400</a>                 CFormElm*               <a class="code" href="classNLGEORGES_1_1CFormElmArray_1_1CElement.html#m1">Element</a>;
00401         };
00402 
00403         <font class="comment">// Array of elements</font>
<a name="l00404"></a><a class="code" href="classNLGEORGES_1_1CFormElmArray.html#m2">00404</a>         std::vector&lt;CElement&gt;           <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#m2">Elements</a>;
00405 
00406         <font class="comment">// Error handling</font>
00407         <font class="keyword">virtual</font> <font class="keywordtype">void</font>            <a class="code" href="classNLGEORGES_1_1CFormElmArray.html#a25">warning</a> (<font class="keywordtype">bool</font> exception, <font class="keyword">const</font> <font class="keywordtype">char</font> *function, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a398">format</a>, ... ) <font class="keyword">const</font>;
00408 };
00409 
<a name="l00413"></a><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html">00413</a> <font class="keyword">class </font>CFormElmAtom : <font class="keyword">public</font> CFormElm
00414 {
<a name="l00415"></a><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l0">00415</a>         <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l0">CForm</a>;
<a name="l00416"></a><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l1">00416</a>         <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l1">CFormElm</a>;
<a name="l00417"></a><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l2">00417</a>         <font class="keyword">friend</font> <font class="keyword">class </font><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l2">CType</a>;
00418 <font class="keyword">public</font>:
00419         <font class="comment">// Default constructor</font>
00420         <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a0">CFormElmAtom</a> (<a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l0">CForm</a> *form, <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l1">CFormElm</a> *parentNode, <font class="keyword">const</font> CFormDfn *parentDfn, uint parentIndex);
00421 
00422         <font class="comment">// Pointer on the parent element</font>
00423         <font class="comment">//CFormElmAtom                          *Parent;</font>
00424 
00425         <font class="comment">// Pointer on the type (the smart pointer in hold by CFormDfn)</font>
<a name="l00426"></a><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#m0">00426</a>         <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l2">CType</a>                                     *<a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#m0">Type</a>;
00427 
00428         <font class="comment">// From CFormElm</font>
00429         xmlNodePtr                                      <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a1">write</a> (xmlNodePtr node, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l0">CForm</a> *form, <font class="keyword">const</font> <font class="keywordtype">char</font> *structName, <font class="keywordtype">bool</font> forceWrite = <font class="keyword">false</font>) <font class="keyword">const</font>;
00430         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a2">setParent</a> (<a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l1">CFormElm</a> *parent);
00431         <font class="keywordtype">void</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a3">getFormName</a> (std::string &amp;result, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l1">CFormElm</a> *child) <font class="keyword">const</font>;
00432 
00433         <font class="comment">// Call by CFormLoader</font>
00434         <font class="keywordtype">void</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a4">read</a> (xmlNodePtr node, CFormLoader &amp;loader, <font class="keyword">const</font> <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l2">CType</a> *<a class="code" href="driver__opengl__extension__def_8h.html#a373">type</a>, <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#l0">CForm</a> *form);
00435 
00436         <font class="comment">// From UFormElm</font>
00437         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a5">isAtom</a> () <font class="keyword">const</font>;
00438         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (std::string &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00439         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (sint8 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00440         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (uint8 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00441         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (sint16 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00442         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (uint16 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00443         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (sint32 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00444         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (uint32 &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00445         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (<font class="keywordtype">float</font> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00446         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (<font class="keywordtype">double</font> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00447         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (<font class="keywordtype">bool</font> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00448         <font class="keywordtype">bool</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a6">getValue</a> (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;resultname, <a class="code" href="classNLGEORGES_1_1UFormElm.html#s12">TEval</a> evaluate) <font class="keyword">const</font>;
00449 
00450         <font class="comment">// Set the value, the elt been used</font>
00451         <font class="keywordtype">void</font>                                            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#a17">setValue</a> (<font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00452 
00453 <font class="keyword">private</font>:
00454         <font class="comment">// The value</font>
<a name="l00455"></a><a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#o0">00455</a>         std::string                                     <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#o0">Value</a>;
00456 
00457         <font class="comment">// Error handling</font>
00458         <font class="keyword">virtual</font> <font class="keywordtype">void</font>            <a class="code" href="classNLGEORGES_1_1CFormElmAtom.html#c0">warning</a> (<font class="keywordtype">bool</font> exception, <font class="keyword">const</font> <font class="keywordtype">char</font> *function, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a398">format</a>, ... ) <font class="keyword">const</font>;
00459 };
00460 
00461 <font class="comment">// ***************************************************************************</font>
00462 <font class="comment">// CFormElm inlines</font>
00463 <font class="comment">// ***************************************************************************</font>
00464 
<a name="l00465"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a65">00465</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (sint8 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00466 <font class="keyword"></font>{
00467         <font class="keywordtype">float</font> tmp;
00468         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00469         {
00470                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (tmp, -128.f, 127.f);
00471                 result = (sint8)tmp;
00472                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00473         }
00474         <font class="keywordflow">else</font>
00475         {
00476                 <font class="comment">// Error message</font>
00477                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in sint8."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00478         }
00479         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00480 }
00481 
00482 <font class="comment">// ***************************************************************************</font>
00483 
<a name="l00484"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a66">00484</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (uint8 &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00485 <font class="keyword"></font>{
00486         <font class="keywordtype">float</font> tmp;
00487         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00488         {
00489                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (tmp, 0.f, 255.f);
00490                 result = (uint8)tmp;
00491                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00492         }
00493         <font class="keywordflow">else</font>
00494         {
00495                 <font class="comment">// Error message</font>
00496                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in uint8."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00497         }
00498         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00499 }
00500 
00501 <font class="comment">// ***************************************************************************</font>
00502 
<a name="l00503"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a67">00503</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (sint16 &amp;result,     <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00504 <font class="keyword"></font>{
00505         <font class="keywordtype">float</font> tmp;
00506         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00507         {
00508                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (tmp, -32768.f, 32767.f);
00509                 result = (sint16)tmp;
00510                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00511         }
00512         <font class="keywordflow">else</font>
00513         {
00514                 <font class="comment">// Error message</font>
00515                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in sint16."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00516         }
00517         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00518 }
00519 
00520 <font class="comment">// ***************************************************************************</font>
00521 
<a name="l00522"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a68">00522</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (uint16 &amp;result,     <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00523 <font class="keyword"></font>{
00524         <font class="keywordtype">float</font> tmp;
00525         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00526         {
00527                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (tmp, 0.f, 65535.f);
00528                 result = (uint16)tmp;
00529                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00530         }
00531         <font class="keywordflow">else</font>
00532         {
00533                 <font class="comment">// Error message</font>
00534                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in uint16."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00535         }
00536         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00537 }
00538 
00539 <font class="comment">// ***************************************************************************</font>
00540 
<a name="l00541"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a69">00541</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (sint32 &amp;result,     <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00542 <font class="keyword"></font>{
00543         <font class="keywordtype">float</font> tmp;
00544         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00545         {
00546                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (tmp, -2147483648.f, 2147483647.f);
00547                 result = (sint32)tmp;
00548                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00549         }
00550         <font class="keywordflow">else</font>
00551         {
00552                 <font class="comment">// Error message</font>
00553                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in sint32."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00554         }
00555         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00556 }
00557 
00558 <font class="comment">// ***************************************************************************</font>
00559 
<a name="l00560"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a70">00560</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (uint32 &amp;result,     <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00561 <font class="keyword"></font>{
00562         <font class="keywordtype">float</font> tmp;
00563         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00564         {
00565                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (tmp, 0.f, 4294967295.f);
00566                 result = (sint32)tmp;
00567                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00568         }
00569         <font class="keywordflow">else</font>
00570         {
00571                 <font class="comment">// Error message</font>
00572                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in uint32."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00573         }
00574         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00575 }
00576 
00577 <font class="comment">// ***************************************************************************</font>
00578 
<a name="l00579"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a71">00579</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (<font class="keywordtype">float</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00580 <font class="keyword"></font>{
00581         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;result) == 1)
00582         {
00583                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00584         }
00585         <font class="keywordflow">else</font>
00586         {
00587                 <font class="comment">// Error message</font>
00588                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in float."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00589         }
00590         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00591 }
00592 
00593 <font class="comment">// ***************************************************************************</font>
00594 
<a name="l00595"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a72">00595</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (<font class="keywordtype">double</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00596 <font class="keyword"></font>{
00597         <font class="keywordtype">float</font> tmp;
00598         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f"</font>, &amp;tmp) == 1)
00599         {
00600                 result = tmp;
00601                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00602         }
00603         <font class="keywordflow">else</font>
00604         {
00605                 <font class="comment">// Error message</font>
00606                 <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in double."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00607         }
00608         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00609 }
00610 
00611 <font class="comment">// ***************************************************************************</font>
00612 
<a name="l00613"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a73">00613</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (<font class="keywordtype">bool</font> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00614 <font class="keyword"></font>{
00615         <font class="keywordtype">int</font> tmp;
00616         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%d"</font>, &amp;tmp) == 1)
00617         {
00618                 result = tmp != 0;
00619                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00620         }
00621         <font class="keywordflow">else</font>
00622         {
00623                 std::string temp = <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>;
00624                 temp = <a class="code" href="namespaceNLMISC.html#a229">NLMISC::strlwr</a> (temp);
00625                 <font class="keywordflow">if</font> (strcmp (temp.c_str (), <font class="stringliteral">"true"</font>) == 0)
00626                 {
00627                         result  = <font class="keyword">true</font>;
00628                         <font class="keywordflow">return</font> <font class="keyword">true</font>;
00629                 }
00630                 <font class="keywordflow">if</font> (strcmp (temp.c_str (), <font class="stringliteral">"false"</font>) == 0)
00631                 {
00632                         result  = <font class="keyword">false</font>;
00633                         <font class="keywordflow">return</font> <font class="keyword">true</font>;
00634                 }
00635         }
00636 
00637         <font class="comment">// Error message</font>
00638         <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in boolean."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00639         
00640         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00641 }
00642 
00643 <font class="comment">// ***************************************************************************</font>
00644 
<a name="l00645"></a><a class="code" href="classNLGEORGES_1_1CFormElm.html#a74">00645</a> <font class="keyword">inline</font> <font class="keywordtype">bool</font> CFormElm::convertValue (<a class="code" href="classNLMISC_1_1CRGBA.html">NLMISC::CRGBA</a> &amp;result, <font class="keyword">const</font> <font class="keywordtype">char</font> *<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>)<font class="keyword"> const</font>
00646 <font class="keyword"></font>{
00647         <font class="keywordtype">float</font> <a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>, g, b;
00648         <font class="keywordflow">if</font> (sscanf (<a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>, <font class="stringliteral">"%f,%f,%f"</font>, &amp;<a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>, &amp;g, &amp;b) == 3)
00649         {
00650                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (<a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>, 0.f, 255.f);
00651                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (g, 0.f, 255.f);
00652                 <a class="code" href="namespaceNLMISC.html#a215">NLMISC::clamp</a> (b, 0.f, 255.f);
00653                 result.<a class="code" href="classNLMISC_1_1CRGBA.html#m0">R</a> = (uint8)<a class="code" href="driver__opengl__extension__def_8h.html#a385">r</a>;
00654                 result.<a class="code" href="classNLMISC_1_1CRGBA.html#m1">G</a> = (uint8)g;
00655                 result.<a class="code" href="classNLMISC_1_1CRGBA.html#m2">B</a> = (uint8)b;
00656                 <font class="keywordflow">return</font> <font class="keyword">true</font>;
00657         }
00658 
00659         <font class="comment">// Error message</font>
00660         <a class="code" href="classNLGEORGES_1_1CFormElm.html#e1">warning</a> (<font class="keyword">false</font>, <font class="stringliteral">"convertValue"</font>, <font class="stringliteral">"Can't convert the string \"%s\" in RGB color."</font>, <a class="code" href="driver__opengl__extension__def_8h.html#a415">value</a>);
00661         
00662         <font class="keywordflow">return</font> <font class="keyword">false</font>;
00663 }
00664 
00665 <font class="comment">// ***************************************************************************</font>
00666 
00667 } <font class="comment">// NLGEORGES</font>
00668 
00669 <font class="preprocessor">#endif // _NLGEORGES_FORM_ELM_H</font>
00670 <font class="preprocessor"></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=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</BODY>
</HTML>