diff options
Diffstat (limited to 'docs/doxygen/nel/a02276.html')
-rw-r--r-- | docs/doxygen/nel/a02276.html | 531 |
1 files changed, 531 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02276.html b/docs/doxygen/nel/a02276.html new file mode 100644 index 00000000..cc08cade --- /dev/null +++ b/docs/doxygen/nel/a02276.html @@ -0,0 +1,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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLMISC::CBMSDbgInfo Class Reference</h1><code>#include <<a class="el" href="a05483.html">bit_mem_stream.h</a>></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 </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"> </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 </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"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa2">beginEventBrowsing</a> ()</td></tr> + +<tr><td class="mdescLeft"> </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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa3">CBMSDbgInfo</a> ()</td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa4">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign=bottom><a class="el" href="a02276.html#NLMISC_1_1CBMSDbgInfoa5">endEventBrowsing</a> ()</td></tr> + +<tr><td class="mdescLeft"> </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 </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"> </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 </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> &bms, <a class="el" href="a04558.html#a10">sint32</a> eventId)</td></tr> + +<tr><td class="mdescLeft"> </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 </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"> </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 & 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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </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> </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> </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->AddEventIsEnabled ) +00238 { +00239 _DbgData->NextSymbol = NULL; +00240 <span class="keywordflow">return</span>; +00241 } +00242 +00243 TBMSSerialInfo serialItem( bitpos, size, type, _DbgData->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->List.begin(); itl!=_DbgData->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->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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </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> </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> </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->AddEventIsEnabled ) +00222 { +00223 _DbgData->NextSymbol = NULL; +00224 <span class="keywordflow">return</span>; +00225 } +00226 +00227 TBMSSerialInfo serialItem( bitpos, size, type, _DbgData->NextSymbol ); +00228 _DbgData->List.push_back( serialItem ); +00229 _DbgData->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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->CurrentBrowsedItem = 0; +00287 _DbgData->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">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->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">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a> </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> * </td> + <td class="mdname" nowrap> <em>eventId</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->CurrentBrowsedItem < _DbgData->List.size() ) +00304 { +00305 <span class="keywordflow">if</span> ( bitpos == _DbgData->List[_DbgData->CurrentBrowsedItem].BitPos ) <span class="comment">// works only with a vector!</span> +00306 { +00307 *eventId = (<a class="code" href="a04558.html#a10">sint32</a>)_DbgData->CurrentBrowsedItem; +00308 ++_DbgData->CurrentBrowsedItem; +00309 <span class="keywordflow">return</span> <a class="code" href="a05378.html#a244">toString</a>( <span class="stringliteral">"(%u)"</span>, _DbgData->CurrentBrowsedItem - 1 ); +00310 } +00311 <span class="comment">//nlassert( bitpos < (*_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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a02269.html">CBitMemStream</a> & </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> </td> + <td class="mdname" nowrap> <em>eventId</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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 < (sint32)_DbgData->List.size() ); +00775 TBMSSerialInfo& serialItem = _DbgData->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">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname1" valign="top" nowrap> <em>symbol</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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->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> |