1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>dbg Macro Definitions</title> 49 </head> 50 <body> 51<h1><CODE>dbg</CODE> Macro Definitions</h1> 52<h2>Description</h2> 53 <div class="section"> 54<p>Macros for debugging.</p><!-- write here --></div> 55 <a name="macro" id="macro"> 56<h2>Macros</h2> 57 <div class="section"> 58 <table class="members"> 59 <tr> 60<th class="category" colspan="3">General-Purpose Asserts</th> 61 </tr> 62 <tr> 63 <td width="100"> </td> 64 <th> 65<a href="../nn_dbg/NN_ASSERT.html"><CODE>NN_ASSERT</CODE></a> 66 </th> 67<td>Tests whether conditions are satisfied.</td> 68 </tr> 69 <tr> 70 <td width="100"> </td> 71 <th> 72<a href="../nn_dbg/NN_ASSERTMSG.html"><CODE>NN_ASSERTMSG</CODE></a> 73 </th> 74<td>Tests whether conditions are satisfied. Displays the specified message when conditions are not satisfied.</td> 75 </tr> 76 <tr> 77 <td width="100"> </td> 78 <th> 79<a href="../nn_dbg/NN_ASSERTMSG_WITH_RESULT.html"><CODE>NN_ASSERTMSG_WITH_RESULT</CODE></a> 80 </th> 81<td>Tests whether conditions are satisfied. Displays the specified <CODE>result</CODE> values and message when conditions are not satisfied.</td> 82 </tr> 83 <tr> 84<th class="category" colspan="3">Asserts for Particular Conditions</th> 85 </tr> 86 <tr> 87 <td width="100"> </td> 88 <th> 89<a href="../nn_dbg/NN_ALIGN_ASSERT.html"><CODE>NN_ALIGN_ASSERT</CODE></a> 90 </th> 91<td>Tests whether the specified alignment conditions are satisfied.</td> 92 </tr> 93 <tr> 94 <td width="100"> </td> 95 <th> 96<a href="../nn_dbg/NN_EQUAL_ASSERT.html"><CODE>NN_EQUAL_ASSERT</CODE></a> 97 </th> 98<td>Tests whether the specified values are equal.</td> 99 </tr> 100 <tr> 101 <td width="100"> </td> 102 <th> 103<a href="../nn_dbg/NN_FLOAT_ASSERT.html"><CODE>NN_FLOAT_ASSERT</CODE></a> 104 </th> 105<td>Tests whether the specified value is a valid floating point value.</td> 106 </tr> 107 <tr> 108 <td width="100"> </td> 109 <th> 110<a href="../nn_dbg/NN_MIN_ASSERT.html"><CODE>NN_MIN_ASSERT</CODE></a> 111 </th> 112<td>Tests whether a value is equal to or greater than the specified value.</td> 113 </tr> 114 <tr> 115 <td width="100"> </td> 116 <th> 117<a href="../nn_dbg/NN_MAX_ASSERT.html"><CODE>NN_MAX_ASSERT</CODE></a> 118 </th> 119<td>Tests whether a value is equal to or less than the specified value.</td> 120 </tr> 121 <tr> 122 <td width="100"> </td> 123 <th> 124<a href="../nn_dbg/NN_MINMAX_ASSERT.html"><CODE>NN_MINMAX_ASSERT</CODE></a> 125 </th> 126<td>Tests whether a value is within the specified range.</td> 127 </tr> 128 <tr> 129 <td width="100"> </td> 130 <th> 131<a href="../nn_dbg/NN_NOT_EQUAL_ASSERT.html"><CODE>NN_NOT_EQUAL_ASSERT</CODE></a> 132 </th> 133<td>Tests whether a value is not equal to the specified value.</td> 134 </tr> 135 <tr> 136 <td width="100"> </td> 137 <th> 138<a href="../nn_dbg/NN_NULL_ASSERT.html"><CODE>NN_NULL_ASSERT</CODE></a> 139 </th> 140<td>Tests whether a value is not <CODE>NULL</CODE>.</td> 141 </tr> 142 <tr> 143 <td width="100"> </td> 144 <th> 145<a href="../nn_dbg/NN_POINTER_ASSERT.html"><CODE>NN_POINTER_ASSERT</CODE></a> 146 </th> 147<td>Tests whether the specified pointer has a valid address.</td> 148 </tr> 149 <tr> 150 <td width="100"> </td> 151 <th> 152<a href="../nn_dbg/NN_THIS_ASSERT.html"><CODE>NN_THIS_ASSERT</CODE></a> 153 </th> 154<td>Tests whether <CODE>this</CODE> is a valid address.</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159<a href="../nn_dbg/NN_RESULT_ASSERT.html"><CODE>NN_RESULT_ASSERT</CODE></a> 160 </th> 161<td>Tests whether <CODE>Result</CODE> represents success.</td> 162 </tr> 163 <tr> 164<th class="category" colspan="3">Compile-Time Asserts</th> 165 </tr> 166 <tr> 167 <td width="100"> </td> 168 <th> 169<a href="../nn_dbg/NN_COMPILER_ASSERT.html"><CODE>NN_COMPILER_ASSERT</CODE></a> 170 </th> 171<td>Tests whether compile-time conditions are satisfied.</td> 172 </tr> 173 <tr> 174<th class="category" colspan="3">Error Termination</th> 175 </tr> 176 <tr> 177 <td width="100"> </td> 178 <th> 179<a href="../nn_dbg/NN_PANIC.html"><CODE>NN_PANIC</CODE></a> 180 </th> 181<td>Stops execution.</td> 182 </tr> 183 <tr> 184 <td width="100"> </td> 185 <th> 186<a href="../nn_dbg/NN_PANIC_WITH_RESULT.html"><CODE>NN_PANIC_WITH_RESULT</CODE></a> 187 </th> 188<td>Displays the value of <CODE>Result</CODE> and stops execution .</td> 189 </tr> 190 <tr> 191 <td width="100"> </td> 192 <th> 193<a href="../nn_dbg/NN_PANIC_IF_FAILED.html"><CODE>NN_PANIC_IF_FAILED</CODE></a> 194 </th> 195<td>Stops execution if <CODE>Result</CODE> does not indicate success.</td> 196 </tr> 197 <tr> 198<th class="category" colspan="3">Constants</th> 199 </tr> 200 <tr> 201 <td width="100"> </td> 202 <th> 203<a href="../nn_dbg/NN_DBG_PRINTF_BUFFER_LENGTH.html"><CODE>NN_DBG_PRINTF_BUFFER_LENGTH</CODE></a> 204 </th> 205<td>The size of the buffer for <a href="../nn_dbg/NN_LOG.html">NN_LOG</a>.</td> 206 </tr> 207 <tr> 208<th class="category" colspan="3">Debug Output</th> 209 </tr> 210 <tr> 211 <td width="100"> </td> 212 <th> 213<a href="../nn_dbg/NN_LOG.html"><CODE>NN_LOG</CODE></a> 214 </th> 215<td>Outputs strings to the Debug window.</td> 216 </tr> 217 <tr> 218 <td width="100"> </td> 219 <th> 220<a href="../nn_dbg/NN_LOGV.html"><CODE>NN_LOGV</CODE></a> 221 </th> 222<td>Outputs strings to the Debug window. It is possible to provide a variable argument list following the string format (string output format).</td> 223 </tr> 224 <tr> 225 <td width="100"> </td> 226 <th> 227<a href="../nn_dbg/NN_PUT.html"><CODE>NN_PUT</CODE></a> 228 </th> 229<td>Outputs strings to the Debug window.</td> 230 </tr> 231 <tr> 232<th class="category" colspan="3">Result Utilities</th> 233 </tr> 234 <tr> 235 <td width="100"> </td> 236 <th> 237<a href="../nn_dbg/NN_DBG_CHECK_RESULT.html"><CODE>NN_DBG_CHECK_RESULT</CODE></a> 238 </th> 239<td>Tests whether <CODE>Result</CODE> represents success.</td> 240 </tr> 241 <tr> 242 <td width="100"> </td> 243 <th> 244<a href="../nn_dbg/NN_DBG_PRINT_RESULT.html"><CODE>NN_DBG_PRINT_RESULT</CODE></a> 245 </th> 246<td>Displays the value of <CODE>Result</CODE>.</td> 247 </tr> </table> 248 </div> 249 </a> 250<h2>Revision History</h2> 251 <div class="section"> 252 <dl class="history"> 253 <dt>2010/06/14</dt> 254<dd>Initial version.<br /> 255 </dd> 256 </dl> 257 </div> 258 <hr><p>CONFIDENTIAL</p></body> 259</html> 260