/usr/share/doc/fflas-ffpack-dev-doc/class_f_f_p_a_c_k_1_1_failure.html is in fflas-ffpack-dev-doc 1.6.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>FflasFfpack: Failure Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">FflasFfpack
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data Fields</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_f_f_p_a_c_k.html">FFPACK</a></li><li class="navelem"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html">Failure</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-static-attribs">Static Protected Attributes</a> </div>
<div class="headertitle">
<div class="title">Failure Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A precondtion failed.
<a href="class_f_f_p_a_c_k_1_1_failure.html#details">More...</a></p>
<p><code>#include <debug.h></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a47872fcdb11f4bd3766f1735bc77e261"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#a47872fcdb11f4bd3766f1735bc77e261">Failure</a> (const char *function, int line, const char *check)</td></tr>
<tr class="memitem:aac6fa202fe52509b544df519f20f2b05"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#aac6fa202fe52509b544df519f20f2b05">Failure</a> (const char *function, const char *file, int line, const char *check)</td></tr>
<tr class="memitem:aa12f1340c8dac6f9cb9196b8009eca63"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#aa12f1340c8dac6f9cb9196b8009eca63">print</a> (std::ostream &o) const </td></tr>
<tr class="memitem:a47872fcdb11f4bd3766f1735bc77e261"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#a47872fcdb11f4bd3766f1735bc77e261">Failure</a> (const char *function, int line, const char *check)</td></tr>
<tr class="memitem:aac6fa202fe52509b544df519f20f2b05"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#aac6fa202fe52509b544df519f20f2b05">Failure</a> (const char *function, const char *file, int line, const char *check)</td></tr>
<tr class="memitem:aa12f1340c8dac6f9cb9196b8009eca63"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#aa12f1340c8dac6f9cb9196b8009eca63">print</a> (std::ostream &o) const </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ae96d11d15fe8614ffb6b7501ac1274fb"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#ae96d11d15fe8614ffb6b7501ac1274fb">setErrorStream</a> (std::ostream &stream)</td></tr>
<tr class="memitem:ae96d11d15fe8614ffb6b7501ac1274fb"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#ae96d11d15fe8614ffb6b7501ac1274fb">setErrorStream</a> (std::ostream &stream)</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a9a8218601530b775b3e4df74c698c302"><td class="memItemLeft" align="right" valign="top">static std::ostream * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html#a9a8218601530b775b3e4df74c698c302">_errorStream</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A precondtion failed. </p>
<p>The <code>throw</code> mechanism is usually used here as in </p>
<div class="fragment"><div class="line"> <span class="keywordflow">if</span> (!check)</div>
<div class="line"> <span class="keywordflow">throw</span>(<a class="code" href="class_f_f_p_a_c_k_1_1_failure.html#a47872fcdb11f4bd3766f1735bc77e261">Failure</a>(__func__,__LINE__,<span class="stringliteral">"this check just failed"</span>);</div>
</div><!-- fragment --><p> The parameters of the constructor help debugging. </p>
</div><hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="a47872fcdb11f4bd3766f1735bc77e261"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html">Failure</a> </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>function</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>check</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A precondtion failed. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">function</td><td>usually <code><b>func</b></code>, the function that threw the error </td></tr>
<tr><td class="paramname">line</td><td>usually <code><b>LINE</b></code>, the line where it happened </td></tr>
<tr><td class="paramname">check</td><td>a string telling what failed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aac6fa202fe52509b544df519f20f2b05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html">Failure</a> </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>function</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>check</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A precondtion failed. The parameter help debugging. This is not much different from the previous except we can digg faster in the file where the exception was triggered. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">function</td><td>usually <code><b>func</b></code>, the function that threw the error </td></tr>
<tr><td class="paramname">file</td><td>usually <code><b>FILE</b></code>, the file where this function is </td></tr>
<tr><td class="paramname">line</td><td>usually <code><b>LINE</b></code>, the line where it happened </td></tr>
<tr><td class="paramname">check</td><td>a string telling what failed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a47872fcdb11f4bd3766f1735bc77e261"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html">Failure</a> </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>function</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>check</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A precondtion failed. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">function</td><td>usually <code><b>func</b></code>, the function that threw the error </td></tr>
<tr><td class="paramname">line</td><td>usually <code><b>LINE</b></code>, the line where it happened </td></tr>
<tr><td class="paramname">check</td><td>a string telling what failed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aac6fa202fe52509b544df519f20f2b05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_f_f_p_a_c_k_1_1_failure.html">Failure</a> </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>function</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>file</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>check</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A precondtion failed. The parameter help debugging. This is not much different from the previous except we can digg faster in the file where the exception was triggered. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">function</td><td>usually <code><b>func</b></code>, the function that threw the error </td></tr>
<tr><td class="paramname">file</td><td>usually <code><b>FILE</b></code>, the file where this function is </td></tr>
<tr><td class="paramname">line</td><td>usually <code><b>LINE</b></code>, the line where it happened </td></tr>
<tr><td class="paramname">check</td><td>a string telling what failed. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ae96d11d15fe8614ffb6b7501ac1274fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void setErrorStream </td>
<td>(</td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"><em>stream</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa12f1340c8dac6f9cb9196b8009eca63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::ostream& print </td>
<td>(</td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"><em>o</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>overload the virtual print of LinboxError. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">o</td><td>output stream </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae96d11d15fe8614ffb6b7501ac1274fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void setErrorStream </td>
<td>(</td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"><em>stream</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aa12f1340c8dac6f9cb9196b8009eca63"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::ostream& print </td>
<td>(</td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"><em>o</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>overload the virtual print of LinboxError. </p>
<dl class="params"><dt>Parameters:</dt><dd>
<table class="params">
<tr><td class="paramname">o</td><td>output stream </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a9a8218601530b775b3e4df74c698c302"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::ostream * _errorStream</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="fflas-ffpack_2utils_2debug_8h.html">fflas-ffpack/utils/debug.h</a></li>
<li><a class="el" href="utils_2debug_8h.html">utils/debug.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jun 21 2012 11:13:14 for FflasFfpack by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
|