aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02276.html
blob: cc08cade944a2012b3fcb886f60b5966b681adb9 (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
<!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: NLMISC::CBMSDbgInfo 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>NLMISC::CBMSDbgInfo Class Reference</h1><code>#include &lt;<a class="el" href="a05483.html">bit_mem_stream.h</a>&gt;</code>
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></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="a02276.html#NLMISC_1_1CBMSDbgInfoa0">addPoke</a> (<a class="el" href="a04558.html#a11">uint32</a> bitpos, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>, <a class="el" href="a03899.html#NLMISC_1_1TBMSSerialInfow5">TBMSSerialInfo::TSerialType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a serial event in the middle.  <a href="#NLMISC_1_1CBMSDbgInfoa0"></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="a02276.html#NLMISC_1_1CBMSDbgInfoa1">addSerial</a> (<a class="el" href="a04558.html#a11">uint32</a> bitpos, <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a587">size</a>, <a class="el" href="a03899.html#NLMISC_1_1TBMSSerialInfow5">TBMSSerialInfo::TSerialType</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a serial event at the end.  <a href="#NLMISC_1_1CBMSDbgInfoa1"></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="a02276.html#NLMISC_1_1CBMSDbgInfoa2">beginEventBrowsing</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Begin a browsing session of serial events, <a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa1">addSerial()</a>/addPoke() is now disabled.  <a href="#NLMISC_1_1CBMSDbgInfoa2"></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="a02276.html#NLMISC_1_1CBMSDbgInfoa3">CBMSDbgInfo</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#NLMISC_1_1CBMSDbgInfoa3"></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="a02276.html#NLMISC_1_1CBMSDbgInfoa4">clear</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear.  <a href="#NLMISC_1_1CBMSDbgInfoa4"></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="a02276.html#NLMISC_1_1CBMSDbgInfoa5">endEventBrowsing</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">End a browsing session of serial events, and reenable <a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa1">addSerial()</a>/addPoke().  <a href="#NLMISC_1_1CBMSDbgInfoa5"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa6">getEventIdAtBitPos</a> (<a class="el" href="a04558.html#a11">uint32</a> bitpos, <a class="el" href="a04558.html#a10">sint32</a> *eventId)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return an eventId of serial event, or "" (and eventId -1) if nothing found at the specified bitpos.  <a href="#NLMISC_1_1CBMSDbgInfoa6"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa7">getEventLegendAtBitPos</a> (<a class="el" href="a02269.html">CBitMemStream</a> &amp;bms, <a class="el" href="a04558.html#a10">sint32</a> eventId)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return full info about a serial event, or "" if eventId is -1.  <a href="#NLMISC_1_1CBMSDbgInfoa7"></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="a02276.html#NLMISC_1_1CBMSDbgInfoa8">setSymbolOfNextSerialEvent</a> (const char *symbol)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the symbol for the next event that will be added (optional).  <a href="#NLMISC_1_1CBMSDbgInfoa8"></a><br><br></td></tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa3" doxytag="NLMISC::CBMSDbgInfo::CBMSDbgInfo" ></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"> NLMISC::CBMSDbgInfo::CBMSDbgInfo </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><code> [inline]</code></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="a05483.html#l00191">191</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
<div class="fragment"><pre>00191 {}
</pre></div>    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa0" doxytag="NLMISC::CBMSDbgInfo::addPoke" ></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 NLMISC::CBMSDbgInfo::addPoke </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>bitpos</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03899.html#NLMISC_1_1TBMSSerialInfow5">TBMSSerialInfo::TSerialType</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>type</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

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

<p>
Add a serial event in the middle. 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00234">234</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
References <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a05482.html#l00346">NLMISC::CBitMemStream::poke()</a>, and <a class="el" href="a05482.html#l00375">NLMISC::CBitMemStream::pokeBits()</a>.
<p>
<div class="fragment"><pre>00235         {
00236 <span class="preprocessor">#ifdef NL_DEBUG</span>
00237 <span class="preprocessor"></span>                <span class="keywordflow">if</span> ( ! _DbgData-&gt;AddEventIsEnabled )
00238                 {
00239                         _DbgData-&gt;NextSymbol = NULL;
00240                         <span class="keywordflow">return</span>;
00241                 }
00242 
00243                 TBMSSerialInfo serialItem( bitpos, size, type, _DbgData-&gt;NextSymbol );
00244 
00246                 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>;
00247                 TBMSSerialInfoList::iterator itl;
00248                 <span class="keywordflow">for</span> ( itl=_DbgData-&gt;List.begin(); itl!=_DbgData-&gt;List.end(); ++itl )
00249                 {
00250                         <span class="keywordflow">if</span> ( (*itl).BitPos == bitpos )
00251                         {
00252                                 <span class="comment">// Found, replace reserved by poked</span>
00253                                 (*itl) = serialItem;
00254                                 found = <span class="keyword">true</span>;
00255                                 <span class="keywordflow">break</span>;
00256                         }
00257                 }
00258                 <span class="keywordflow">if</span> ( ! found )
00259                 {
00260                         <a class="code" href="a04199.html#a2">nlwarning</a>( <span class="stringliteral">"Missing reserve() corresponding to poke()"</span> );
00261                 }
00262                 _DbgData-&gt;NextSymbol = NULL;
00263 <span class="preprocessor">#endif</span>
00264 <span class="preprocessor"></span>        }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa1" doxytag="NLMISC::CBMSDbgInfo::addSerial" ></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 NLMISC::CBMSDbgInfo::addSerial </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>bitpos</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>size</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a03899.html#NLMISC_1_1TBMSSerialInfow5">TBMSSerialInfo::TSerialType</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>type</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

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

<p>
Add a serial event at the end. 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00218">218</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
References <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a05646.html#l00244">type</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a05482.html#l00447">NLMISC::CBitMemStream::serial()</a>, <a class="el" href="a05482.html#l00100">NLMISC::CBitMemStream::serialBit()</a>, and <a class="el" href="a05482.html#l00073">NLMISC::CBitMemStream::serialBuffer()</a>.
<p>
<div class="fragment"><pre>00219         {
00220 <span class="preprocessor">#ifdef NL_DEBUG</span>
00221 <span class="preprocessor"></span>                <span class="keywordflow">if</span> ( ! _DbgData-&gt;AddEventIsEnabled )
00222                 {
00223                         _DbgData-&gt;NextSymbol = NULL;
00224                         <span class="keywordflow">return</span>;
00225                 }
00226 
00227                 TBMSSerialInfo serialItem( bitpos, size, type, _DbgData-&gt;NextSymbol );
00228                 _DbgData-&gt;List.push_back( serialItem );
00229                 _DbgData-&gt;NextSymbol = NULL;
00230 <span class="preprocessor">#endif</span>
00231 <span class="preprocessor"></span>        }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa2" doxytag="NLMISC::CBMSDbgInfo::beginEventBrowsing" ></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 NLMISC::CBMSDbgInfo::beginEventBrowsing </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><code> [inline]</code></td>
        </tr>

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

<p>
Begin a browsing session of serial events, <a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa1">addSerial()</a>/addPoke() is now disabled. 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00283">283</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
Referenced by <a class="el" href="a05482.html#l00673">NLMISC::CBitMemStream::displayStream()</a>.
<p>
<div class="fragment"><pre>00284         {
00285 <span class="preprocessor">#ifdef NL_DEBUG</span>
00286 <span class="preprocessor"></span>                _DbgData-&gt;CurrentBrowsedItem = 0;
00287                 _DbgData-&gt;AddEventIsEnabled = <span class="keyword">false</span>;
00288 <span class="preprocessor">#endif</span>
00289 <span class="preprocessor"></span>        }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa4" doxytag="NLMISC::CBMSDbgInfo::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 NLMISC::CBMSDbgInfo::clear </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

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

<p>
Clear. 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00275">275</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
Referenced by <a class="el" href="a05483.html#l00460">NLMISC::CBitMemStream::bufferToFill()</a>, <a class="el" href="a05483.html#l00452">NLMISC::CBitMemStream::fill()</a>, and <a class="el" href="a05483.html#l00382">NLMISC::CBitMemStream::resetBufPos()</a>.
<p>
<div class="fragment"><pre>00276         {
00277 <span class="preprocessor">#ifdef NL_DEBUG</span>
00278 <span class="preprocessor"></span>                _DbgData-&gt;List.clear();
00279 <span class="preprocessor">#endif</span>
00280 <span class="preprocessor"></span>        }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa5" doxytag="NLMISC::CBMSDbgInfo::endEventBrowsing" ></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 NLMISC::CBMSDbgInfo::endEventBrowsing </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><code> [inline]</code></td>
        </tr>

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

<p>
End a browsing session of serial events, and reenable <a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa1">addSerial()</a>/addPoke(). 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00292">292</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
Referenced by <a class="el" href="a05482.html#l00673">NLMISC::CBitMemStream::displayStream()</a>.
<p>
<div class="fragment"><pre>00293         {
00294 <span class="preprocessor">#ifdef NL_DEBUG</span>
00295 <span class="preprocessor"></span>                _DbgData-&gt;AddEventIsEnabled = <span class="keyword">true</span>;
00296 <span class="preprocessor">#endif</span>
00297 <span class="preprocessor"></span>        }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa6" doxytag="NLMISC::CBMSDbgInfo::getEventIdAtBitPos" ></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::string NLMISC::CBMSDbgInfo::getEventIdAtBitPos </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>bitpos</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>eventId</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

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

<p>
Return an eventId of serial event, or "" (and eventId -1) if nothing found at the specified bitpos. 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00300">300</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
References <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
<p>
Referenced by <a class="el" href="a05482.html#l00673">NLMISC::CBitMemStream::displayStream()</a>.
<p>
<div class="fragment"><pre>00301         {
00302 <span class="preprocessor">#ifdef NL_DEBUG</span>
00303 <span class="preprocessor"></span>                <span class="keywordflow">if</span> ( _DbgData-&gt;CurrentBrowsedItem &lt; _DbgData-&gt;List.size() )
00304                 {
00305                         <span class="keywordflow">if</span> ( bitpos == _DbgData-&gt;List[_DbgData-&gt;CurrentBrowsedItem].BitPos ) <span class="comment">// works only with a vector!</span>
00306                         {
00307                                 *eventId = (<a class="code" href="a04558.html#a10">sint32</a>)_DbgData-&gt;CurrentBrowsedItem;
00308                                 ++_DbgData-&gt;CurrentBrowsedItem;
00309                                 <span class="keywordflow">return</span> <a class="code" href="a05378.html#a244">toString</a>( <span class="stringliteral">"(%u)"</span>, _DbgData-&gt;CurrentBrowsedItem - 1 );
00310                         }
00311                         <span class="comment">//nlassert( bitpos &lt; (*_List)[_CurrentBrowsedItem].BitPos ); // occurs if stream overflow</span>
00312                 }
00313 <span class="preprocessor">#endif</span>
00314 <span class="preprocessor"></span>                *eventId = -1;
00315                 <span class="keywordflow">return</span> std::string();
00316         }
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa7" doxytag="NLMISC::CBMSDbgInfo::getEventLegendAtBitPos" ></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::string NLMISC::CBMSDbgInfo::getEventLegendAtBitPos </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="a02269.html">CBitMemStream</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>bms</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td></td>
          <td class="md" nowrap><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>eventId</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inline]</code></td>
        </tr>

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

<p>
Return full info about a serial event, or "" if eventId is -1. 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00765">765</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
References <a class="el" href="a05483.html#l00144">NLMISC::TBMSSerialInfo::BitPos</a>, <a class="el" href="a05483.html#l00145">NLMISC::TBMSSerialInfo::BitSize</a>, <a class="el" href="a05482.html#l00737">NLMISC::CBitMemStream::getSerialItem()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05482.html#l00045">NLMISC::SerialTypeToCStr</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05483.html#l00147">NLMISC::TBMSSerialInfo::Symbol</a>, <a class="el" href="a06229.html#l02652">NLMISC::toString()</a>, and <a class="el" href="a05483.html#l00146">NLMISC::TBMSSerialInfo::Type</a>.
<p>
Referenced by <a class="el" href="a05482.html#l00673">NLMISC::CBitMemStream::displayStream()</a>.
<p>
<div class="fragment"><pre>00766 {
00767 <span class="preprocessor">#ifdef NL_DEBUG</span>
00768 <span class="preprocessor"></span>        <span class="keywordflow">if</span> ( eventId == -1 )
00769         {
00770                 <span class="keywordflow">return</span> std::string();
00771         }
00772         <span class="keywordflow">else</span>
00773         {
00774                 <a class="code" href="a04199.html#a6">nlassert</a>( eventId &lt; (sint32)_DbgData-&gt;List.size() );
00775                 TBMSSerialInfo&amp; serialItem = _DbgData-&gt;List[eventId]; <span class="comment">// works only with a vector!</span>
00776                 <span class="keywordflow">return</span> <a class="code" href="a05378.html#a244">toString</a>( <span class="stringliteral">"(%d) BitPos %3u Type %s BitSize %2u Value %s %s\n"</span>,
00777                                         eventId, serialItem.BitPos, SerialTypeToCStr[serialItem.Type], serialItem.BitSize,
00778                                         bms.getSerialItem( serialItem ).c_str(), (serialItem.Symbol!=NULL)?serialItem.Symbol:<span class="stringliteral">""</span> );
00779         }
00780 <span class="preprocessor">#else</span>
00781 <span class="preprocessor"></span>        <span class="keywordflow">return</span> std::string();
00782 <span class="preprocessor">#endif</span>
00783 <span class="preprocessor"></span>}
</pre></div>    </td>
  </tr>
</table>
<a class="anchor" name="NLMISC_1_1CBMSDbgInfoa8" doxytag="NLMISC::CBMSDbgInfo::setSymbolOfNextSerialEvent" ></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 NLMISC::CBMSDbgInfo::setSymbolOfNextSerialEvent </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>symbol</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>

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

<p>
Set the symbol for the next event that will be added (optional). 
<p>

<p>
Definition at line <a class="el" href="a05483.html#l00267">267</a> of file <a class="el" href="a05483.html">bit_mem_stream.h</a>.
<p>
<div class="fragment"><pre>00268         {
00269 <span class="preprocessor">#ifdef NL_DEBUG</span>
00270 <span class="preprocessor"></span>                _DbgData-&gt;NextSymbol = symbol;
00271 <span class="preprocessor">#endif</span>
00272 <span class="preprocessor"></span>        }
</pre></div>    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a05483.html">bit_mem_stream.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:05:21 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>