aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02757.html
blob: b2e94e90fb84a2707ba167d7789cfe99a974717e (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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>NeL: NLLIGO::CLigoError class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex">  <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a>  | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>NLLIGO::CLigoError Class Reference</h1><code>#include &lt;<a class="el" href="a05906.html">ligo_error.h</a>&gt;</code>
<p>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Error handling<p>
<dl compact><dt><b>Author:</b></dt><dd>Cyril 'Hulud' Corvazier <p>
Nevrax France </dd></dl>
<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="a05906.html#l00043">43</a> of file <a class="el" href="a05906.html">ligo_error.h</a>.<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> { <br>
&nbsp;&nbsp;<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a> = 0, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw7">NoEdgeVertices</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw13">OpenedEdge</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw4">MultipleEdge</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw18">VertexList</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw9">NotInserted</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw3">Inserted</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw2">FlatZone</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw5">MustHave4Edges</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw12">NotSymetrical</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw11">NotSameVerticesNumber</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw10">NotSameVertex</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw6">NoCornerFound</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw15">TwoCornerVertices</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw0">CornerIsMissing</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw17">VertexAlreadyUsed</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>, 
<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a>
<br>
 }</td></tr>

<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora0">clear</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear the container.  <a href="#NLLIGO_1_1CLigoErrora0"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora1">CLigoError</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#NLLIGO_1_1CLigoErrora1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora2">getVertexError</a> (<a class="el" href="a04558.html#a15">uint</a> error, <a class="el" href="a04558.html#a15">uint</a> &amp;<a class="el" href="a04223.html#a564">id</a>, <a class="el" href="a04558.html#a15">uint</a> &amp;edge) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a vertex error.  <a href="#NLLIGO_1_1CLigoErrora2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora3">numVertexError</a> () const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get num vertex error.  <a href="#NLLIGO_1_1CLigoErrora3"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrora4">pushVertexError</a> (<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> code, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a564">id</a>, <a class="el" href="a04558.html#a15">uint</a> edge=0xffffffff)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Push a vertex error code.  <a href="#NLLIGO_1_1CLigoErrora4"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrore0">getStringError</a> (<a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> errorCode)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get an error string.  <a href="#NLLIGO_1_1CLigoErrore0"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErroro0">MainError</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Main error code.  <a href="#NLLIGO_1_1CLigoErroro0"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02758.html">CVertex</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Vertex error.  <a href="#NLLIGO_1_1CLigoErrorr0"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>const char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorv0">_StringError</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Error string.  <a href="#NLLIGO_1_1CLigoErrorv0"></a><br><br></td></tr>
</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="NLLIGO_1_1CLigoErrorw14" doxytag="NLLIGO::CLigoError::TError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> enum <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">NLLIGO::CLigoError::TError</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumeration values: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8" doxytag="NoError" ></a>NoError</em>&nbsp;</td><td>
No error. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw7" doxytag="NoEdgeVertices" ></a>NoEdgeVertices</em>&nbsp;</td><td>
No vertices in the edge list. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw13" doxytag="OpenedEdge" ></a>OpenedEdge</em>&nbsp;</td><td>
Opened edges detected. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw4" doxytag="MultipleEdge" ></a>MultipleEdge</em>&nbsp;</td><td>
Mulitple edge on the boundary. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw18" doxytag="VertexList" ></a>VertexList</em>&nbsp;</td><td>
Vertex list invalid. One vertex should be a corner. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw9" doxytag="NotInserted" ></a>NotInserted</em>&nbsp;</td><td>
The vertex has not been inserted in the edge list. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw3" doxytag="Inserted" ></a>Inserted</em>&nbsp;</td><td>
The vertex has been inserted in the edge list. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw2" doxytag="FlatZone" ></a>FlatZone</em>&nbsp;</td><td>
Flat zone, all vertex are in the same corner. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw5" doxytag="MustHave4Edges" ></a>MustHave4Edges</em>&nbsp;</td><td>
4 edge to define a material </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw12" doxytag="NotSymetrical" ></a>NotSymetrical</em>&nbsp;</td><td>
4 edge to define a material </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw11" doxytag="NotSameVerticesNumber" ></a>NotSameVerticesNumber</em>&nbsp;</td><td>
Not same number of vertices. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw10" doxytag="NotSameVertex" ></a>NotSameVertex</em>&nbsp;</td><td>
Vertex is not the same. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw6" doxytag="NoCornerFound" ></a>NoCornerFound</em>&nbsp;</td><td>
No corner found. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw15" doxytag="TwoCornerVertices" ></a>TwoCornerVertices</em>&nbsp;</td><td>
Two corner vertices. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw0" doxytag="CornerIsMissing" ></a>CornerIsMissing</em>&nbsp;</td><td>
Corner is missing. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw17" doxytag="VertexAlreadyUsed" ></a>VertexAlreadyUsed</em>&nbsp;</td><td>
Boundary vertex used by multiple edge. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16" doxytag="UnknownError" ></a>UnknownError</em>&nbsp;</td><td>
Unkown error. </td></tr>
<tr><td valign=top><em><a class="anchor" name="NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1" doxytag="ErrorCount" ></a>ErrorCount</em>&nbsp;</td><td>
Error count. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="a05906.html#l00046">46</a> of file <a class="el" href="a05906.html">ligo_error.h</a>.
<p>
<div class="fragment"><pre>00047         {
00049                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a>                         =0,
00050 
00052                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw7">NoEdgeVertices</a>,
00053 
00055                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw13">OpenedEdge</a>,
00056 
00058                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw4">MultipleEdge</a>,
00059 
00061                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw18">VertexList</a>,
00062 
00064                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw9">NotInserted</a>,
00065 
00067                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw3">Inserted</a>,
00068 
00070                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw2">FlatZone</a>,
00071 
00073                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw5">MustHave4Edges</a>,
00074 
00076                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw12">NotSymetrical</a>,
00077 
00079                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw11">NotSameVerticesNumber</a>,
00080 
00082                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw10">NotSameVertex</a>,
00083 
00085                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw6">NoCornerFound</a>,
00086 
00088                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw15">TwoCornerVertices</a>,
00089 
00091                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw0">CornerIsMissing</a>,
00092 
00094                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw17">VertexAlreadyUsed</a>,
00095 
00097                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>,
00098 
00100                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a>
00101         };
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="NLLIGO_1_1CLigoErrora1" doxytag="NLLIGO::CLigoError::CLigoError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> NLLIGO::CLigoError::CLigoError </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00033">33</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
References <a class="el" href="a05905.html#l00080">clear()</a>.
<p>
<div class="fragment"><pre>00034 {
00035         <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrora0">clear</a> ();
00036 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="NLLIGO_1_1CLigoErrora0" doxytag="NLLIGO::CLigoError::clear" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLLIGO::CLigoError::clear </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Clear the container. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00080">80</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
References <a class="el" href="a05906.html#l00153">_VertexError</a>, <a class="el" href="a05906.html#l00124">MainError</a>, and <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a>.
<p>
Referenced by <a class="el" href="a06780.html#l00107">NLLIGO::CZoneTemplate::build()</a>, <a class="el" href="a06766.html#l00041">NLLIGO::CZoneEdge::build()</a>, <a class="el" href="a05907.html#l00038">NLLIGO::CMaterial::build()</a>, <a class="el" href="a05905.html#l00033">CLigoError()</a>, and <a class="el" href="a06766.html#l00089">NLLIGO::CZoneEdge::isSymetrical()</a>.
<p>
<div class="fragment"><pre>00081 {
00082         <a class="code" href="a02757.html#NLLIGO_1_1CLigoErroro0">MainError</a> = <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw8">NoError</a>;
00083         <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.clear ();
00084 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLLIGO_1_1CLigoErrore0" doxytag="NLLIGO::CLigoError::getStringError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char * NLLIGO::CLigoError::getStringError </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>errorCode</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [static]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get an error string. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00111">111</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
References <a class="el" href="a05905.html#l00088">_StringError</a>, <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a>, and <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>.
<p>
<div class="fragment"><pre>00112 {
00113         <span class="keywordflow">if</span> (errorCode&lt;=<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw1">ErrorCount</a>)
00114         {
00115                 <span class="keywordflow">return</span> <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorv0">_StringError</a>[errorCode];
00116         }
00117         <span class="keywordflow">else</span>
00118         {
00119                 <span class="keywordflow">return</span> <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorv0">_StringError</a>[<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorw14NLLIGO_1_1CLigoErrorw16">UnknownError</a>];
00120         }
00121 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLLIGO_1_1CLigoErrora2" doxytag="NLLIGO::CLigoError::getVertexError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">CLigoError::TError</a> NLLIGO::CLigoError::getVertexError </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>error</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>edge</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get a vertex error. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00070">70</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
References <a class="el" href="a05906.html#l00153">_VertexError</a>, <a class="el" href="a05906.html#l00143">NLLIGO::CLigoError::CVertex::Code</a>, <a class="el" href="a05906.html#l00149">NLLIGO::CLigoError::CVertex::Edge</a>, <a class="el" href="a05906.html#l00146">NLLIGO::CLigoError::CVertex::Id</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00071 {
00072         <span class="keyword">const</span> CVertex &amp;vertex = <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>[error];
00073         <span class="keywordtype">id</span> = vertex.Id;
00074         edge = vertex.Edge;
00075         <span class="keywordflow">return</span> vertex.Code;
00076 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLLIGO_1_1CLigoErrora3" doxytag="NLLIGO::CLigoError::numVertexError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a15">uint</a> NLLIGO::CLigoError::numVertexError </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap> const</td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get num vertex error. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00063">63</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
References <a class="el" href="a05906.html#l00153">_VertexError</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
<div class="fragment"><pre>00064 {
00065         <span class="keywordflow">return</span> <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.size ();
00066 }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLLIGO_1_1CLigoErrora4" doxytag="NLLIGO::CLigoError::pushVertexError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void NLLIGO::CLigoError::pushVertexError </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>code</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>edge</em> = 0xffffffff</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Push a vertex error code. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00040">40</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
References <a class="el" href="a05906.html#l00153">_VertexError</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
<p>
Referenced by <a class="el" href="a06780.html#l00107">NLLIGO::CZoneTemplate::build()</a>, <a class="el" href="a06766.html#l00041">NLLIGO::CZoneEdge::build()</a>, <a class="el" href="a06766.html#l00089">NLLIGO::CZoneEdge::isSymetrical()</a>, and <a class="el" href="a06766.html#l00138">NLLIGO::CZoneEdge::isTheSame()</a>.
<p>
<div class="fragment"><pre>00041 {
00042         <span class="comment">// Check if this vertex exist in the error list</span>
00043         <a class="code" href="a04558.html#a15">uint</a> vertex;
00044         <span class="keywordflow">for</span> (vertex=0; vertex&lt;<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.size(); vertex++)
00045         {
00046                 <span class="keywordflow">if</span> (<a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>[vertex].Id == <span class="keywordtype">id</span>)
00047                 {
00048                         <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>[vertex] = CVertex (code, <span class="keywordtype">id</span>, edge);
00049                         <span class="keywordflow">break</span>;
00050                 }
00051         }
00052 
00053         <span class="comment">// Not found ?</span>
00054         <span class="keywordflow">if</span> (vertex == <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.size())
00055         {
00056                 <span class="comment">// Add a vertex error</span>
00057                 <a class="code" href="a02757.html#NLLIGO_1_1CLigoErrorr0">_VertexError</a>.push_back (CVertex (code, <span class="keywordtype">id</span>, edge));
00058         }
00059 }
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="NLLIGO_1_1CLigoErrorv0" doxytag="NLLIGO::CLigoError::_StringError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char * <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorv0">NLLIGO::CLigoError::_StringError</a><code> [static, private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<b>Initial value:</b><div class="fragment"><pre>
{
        <span class="stringliteral">"No error"</span>,                                             
        <span class="stringliteral">"No vertex in the edge list"</span>,   
        <span class="stringliteral">"Opened edges detected"</span>,                
        <span class="stringliteral">"Mulitple edge on the boundary"</span>,
        <span class="stringliteral">"Vertex list invalid. One vertex should be a corner"</span>,   
        <span class="stringliteral">"The vertex has not been inserted in the edge list"</span>,    
        <span class="stringliteral">"The vertex has been inserted in the edge list"</span>,                
        <span class="stringliteral">"Flat zone, all vertices are in the same corner"</span>,               
        <span class="stringliteral">"The zone must have 4 edges to define a material"</span>,      
        <span class="stringliteral">"A edge of the zone is not symetrical"</span>,         
        <span class="stringliteral">"Not the same number of vertex"</span>,        
        <span class="stringliteral">"Some vertices are not the same"</span>,       
        <span class="stringliteral">"No corner found"</span>,                                      
        <span class="stringliteral">"A edge has two times the same corner"</span>, 
        <span class="stringliteral">"A corner is missing in this edge"</span>, 
        <span class="stringliteral">"A boundary vertex is used by multiple edges"</span>, 
        <span class="stringliteral">"Unkown error"</span>,                                         
}
</pre></div>Error string. 
<p>

<p>
Definition at line <a class="el" href="a05905.html#l00088">88</a> of file <a class="el" href="a05905.html">ligo_error.cpp</a>.
<p>
Referenced by <a class="el" href="a05905.html#l00111">getStringError()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLLIGO_1_1CLigoErrorr0" doxytag="NLLIGO::CLigoError::_VertexError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> std::vector&lt;<a class="el" href="a02758.html">CVertex</a>&gt; <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorr0">NLLIGO::CLigoError::_VertexError</a><code> [private]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Vertex error. 
<p>

<p>
Definition at line <a class="el" href="a05906.html#l00153">153</a> of file <a class="el" href="a05906.html">ligo_error.h</a>.
<p>
Referenced by <a class="el" href="a05905.html#l00080">clear()</a>, <a class="el" href="a05905.html#l00070">getVertexError()</a>, <a class="el" href="a05905.html#l00063">numVertexError()</a>, and <a class="el" href="a05905.html#l00040">pushVertexError()</a>.    </td>
  </tr>
</table>
<a class="anchor" name="NLLIGO_1_1CLigoErroro0" doxytag="NLLIGO::CLigoError::MainError" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErrorw14">TError</a> <a class="el" href="a02757.html#NLLIGO_1_1CLigoErroro0">NLLIGO::CLigoError::MainError</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Main error code. 
<p>

<p>
Definition at line <a class="el" href="a05906.html#l00124">124</a> of file <a class="el" href="a05906.html">ligo_error.h</a>.
<p>
Referenced by <a class="el" href="a06780.html#l00107">NLLIGO::CZoneTemplate::build()</a>, <a class="el" href="a06578.html#l00068">NLLIGO::CTransition::build()</a>, <a class="el" href="a05907.html#l00038">NLLIGO::CMaterial::build()</a>, <a class="el" href="a05905.html#l00080">clear()</a>, <a class="el" href="a06766.html#l00089">NLLIGO::CZoneEdge::isSymetrical()</a>, and <a class="el" href="a06766.html#l00138">NLLIGO::CZoneEdge::isTheSame()</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="a05906.html">ligo_error.h</a><li><a class="el" href="a05905.html">ligo_error.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 12:47:52 2004 for NeL by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > 
</a>1.3.6 </small></address>
</body>
</html>