/usr/share/doc/mia-2.0/libdoc/classvstream.html is in libmia-2.0-doc 2.0.13-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 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 | <!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"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>vstream 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! -->
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<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 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="classes.html"><span>Data Structure Index</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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> </div>
<div class="headertitle">
<div class="title">vstream Class Reference<div class="ingroups"><a class="el" href="group__logging.html">Logging and debugguing</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>A output stream to enable certain levels of verbosity.
<a href="classvstream.html#details">More...</a></p>
<p><code>#include <<a class="el" href="msgstream_8hh_source.html">mia/core/msgstream.hh</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a86258e3d4f4ea9844a8c0a25a0103ede"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> { <br/>
  <a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edea5724f042e2045b1cbe3229b795167b01">ml_trace</a>,
<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edea768078a1b3dfc459a7c470e2b66f58c2">ml_debug</a>,
<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edeac7197645e89f032d79cb6940e4deaf00">ml_info</a>,
<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edea18dd1a023701083cc9f159083d14f877">ml_message</a>,
<br/>
  <a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edea589de2934ca32ffd7993ce4839db8a1d">ml_warning</a>,
<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edead6cc550344d3ed0ac10ffe3a51d1ab29">ml_fail</a>,
<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edea21c878842989355e0a7b8232dcf7157b">ml_error</a>,
<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edeace0be6ed6976807e581699e45324f618">ml_fatal</a>,
<br/>
  <a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103edeac2858558a7812f3363a7cca94e96c4a3">ml_undefined</a>
<br/>
}</td></tr>
<tr class="separator:a86258e3d4f4ea9844a8c0a25a0103ede"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa98f6cc7eac3081b9c35c8997c1c40b6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#aa98f6cc7eac3081b9c35c8997c1c40b6">flush</a> ()</td></tr>
<tr class="memdesc:aa98f6cc7eac3081b9c35c8997c1c40b6"><td class="mdescLeft"> </td><td class="mdescRight">write pending output <a href="#aa98f6cc7eac3081b9c35c8997c1c40b6">More...</a><br/></td></tr>
<tr class="separator:aa98f6cc7eac3081b9c35c8997c1c40b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a741a6a28835011ccfdf3b089f156a6f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">vstream::Level</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a741a6a28835011ccfdf3b089f156a6f3">get_level</a> () const </td></tr>
<tr class="separator:a741a6a28835011ccfdf3b089f156a6f3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7d797514270cd652efaa4c8299dbe94"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#ab7d797514270cd652efaa4c8299dbe94">operator std::ostream &</a> ()</td></tr>
<tr class="separator:ab7d797514270cd652efaa4c8299dbe94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12c20073380c786feb7829bc71252305"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classvstream.html">vstream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a12c20073380c786feb7829bc71252305">operator<<</a> (<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> const l)</td></tr>
<tr class="separator:a12c20073380c786feb7829bc71252305"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0449085e62c569df4d058c7aac4754d1"><td class="memTemplParams" colspan="2">template<class T > </td></tr>
<tr class="memitem:a0449085e62c569df4d058c7aac4754d1"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="classvstream.html">vstream</a> & </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvstream.html#a0449085e62c569df4d058c7aac4754d1">operator<<</a> (const T &text)</td></tr>
<tr class="separator:a0449085e62c569df4d058c7aac4754d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75f28035b509794ab9ccd571e34f3a47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classvstream.html">vstream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a75f28035b509794ab9ccd571e34f3a47">operator<<</a> (std::ostream &(*f)(std::ostream &))</td></tr>
<tr class="separator:a75f28035b509794ab9ccd571e34f3a47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae8420c54faf999d675c1a25259ca68bf"><td class="memItemLeft" align="right" valign="top">std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#ae8420c54faf999d675c1a25259ca68bf">set_stream</a> (std::ostream &os)</td></tr>
<tr class="separator:ae8420c54faf999d675c1a25259ca68bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a551b53913fb53d1e4de8861bb9f9b0db"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a551b53913fb53d1e4de8861bb9f9b0db">set_verbosity</a> (<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> l)</td></tr>
<tr class="separator:a551b53913fb53d1e4de8861bb9f9b0db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae57001859adb8042611cec62c523ed53"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#ae57001859adb8042611cec62c523ed53">show_debug</a> () const </td></tr>
<tr class="separator:ae57001859adb8042611cec62c523ed53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4812258857c93bd6190315754ff7258b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a4812258857c93bd6190315754ff7258b">shows</a> (<a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> l) const </td></tr>
<tr class="separator:a4812258857c93bd6190315754ff7258b"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8a3cd883626223e9ab5d66f722d1ac69"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classvstream.html">vstream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a8a3cd883626223e9ab5d66f722d1ac69">instance</a> ()</td></tr>
<tr class="separator:a8a3cd883626223e9ab5d66f722d1ac69"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e73b4856bfc7b60500fdda5af49ad12"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classvstream.html#a4e73b4856bfc7b60500fdda5af49ad12">set_output_target</a> (std::ostream *os)</td></tr>
<tr class="separator:a4e73b4856bfc7b60500fdda5af49ad12"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A output stream to enable certain levels of verbosity. </p>
<p>This class impelemtns a std::ostream like class to output messages during run-time, supporting various levels of verbosity. The class is implemened as a singleton. On initialization it is set to use std::cerr as output stream, but this can be replaced by any type implementing the std::ostream interface. </p>
<dl class="section remark"><dt>Remarks</dt><dd>if -DNDEBUG is set, the levels <em>debug</em> and <em>trace</em> are not compiled in - i.e. the corresponding output operators are replaced by dummy functions that should be optimized away. </dd></dl>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00062">62</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103ede"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">vstream::Level</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Output verbosity level threshhold, ml_trace is the lowest threshhold and ml_fatal the highest. Output is written, when the output threshold is above or equal to the one set within the output stream. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edea5724f042e2045b1cbe3229b795167b01"></a>ml_trace</em> </td><td class="fielddoc">
<p>write trace of function calls and higher, disabled with -DNDEBUG </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edea768078a1b3dfc459a7c470e2b66f58c2"></a>ml_debug</em> </td><td class="fielddoc">
<p>write debugging information and higher, disabled with -DNDEBUG </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edeac7197645e89f032d79cb6940e4deaf00"></a>ml_info</em> </td><td class="fielddoc">
<p>write additional info about the data processed and higher </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edea18dd1a023701083cc9f159083d14f877"></a>ml_message</em> </td><td class="fielddoc">
<p>write process status messages and higher </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edea589de2934ca32ffd7993ce4839db8a1d"></a>ml_warning</em> </td><td class="fielddoc">
<p>write warnings and higher </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edead6cc550344d3ed0ac10ffe3a51d1ab29"></a>ml_fail</em> </td><td class="fielddoc">
<p>write failture messages (for tests) and higher </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edea21c878842989355e0a7b8232dcf7157b"></a>ml_error</em> </td><td class="fielddoc">
<p>write non-fatal error messages and higher </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edeace0be6ed6976807e581699e45324f618"></a>ml_fatal</em> </td><td class="fielddoc">
<p>write only fatal error messages </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a86258e3d4f4ea9844a8c0a25a0103edeac2858558a7812f3363a7cca94e96c4a3"></a>ml_undefined</em> </td><td class="fielddoc">
<p>stopper </p>
</td></tr>
</table>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00069">69</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa98f6cc7eac3081b9c35c8997c1c40b6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void vstream::flush </td>
<td>(</td>
<td class="paramname"></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>write pending output </p>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00274">274</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a741a6a28835011ccfdf3b089f156a6f3"></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="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">vstream::Level</a> vstream::get_level </td>
<td>(</td>
<td class="paramname"></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">
<dl class="section return"><dt>Returns</dt><dd>the curent verbosity level </dd></dl>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00269">269</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a8a3cd883626223e9ab5d66f722d1ac69"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classvstream.html">vstream</a>& vstream::instance </td>
<td>(</td>
<td class="paramname"></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">
<p>initialise a stream that writes only messages above a certain verbosity level </p>
<p>Referenced by <a class="el" href="msgstream_8hh_source.html#l00221">CTrace::CTrace()</a>, <a class="el" href="msgstream_8hh_source.html#l00213">cvdebug()</a>, <a class="el" href="msgstream_8hh_source.html#l00305">cverr()</a>, <a class="el" href="msgstream_8hh_source.html#l00295">cvfail()</a>, <a class="el" href="msgstream_8hh_source.html#l00285">cvfatal()</a>, <a class="el" href="msgstream_8hh_source.html#l00256">cvinfo()</a>, <a class="el" href="msgstream_8hh_source.html#l00325">cvmsg()</a>, <a class="el" href="msgstream_8hh_source.html#l00315">cvwarn()</a>, and <a class="el" href="msgstream_8hh_source.html#l00228">CTrace::~CTrace()</a>.</p>
</div>
</div>
<a class="anchor" id="ab7d797514270cd652efaa4c8299dbe94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">vstream::operator std::ostream & </td>
<td>(</td>
<td class="paramname"></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>Transparent conversion operator to an std::ostream. </p>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00148">148</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a12c20073380c786feb7829bc71252305"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classvstream.html">vstream</a>& vstream::operator<< </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> const </td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>a special handling to set the output level "inline" </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">l</td><td>the level of the following messages </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0449085e62c569df4d058c7aac4754d1"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classvstream.html">vstream</a>& vstream::operator<< </td>
<td>(</td>
<td class="paramtype">const T & </td>
<td class="paramname"><em>text</em></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>general output routine; output is only given, if the data verbosity level is set higher or equal to the stream verbosity level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>the text to be written to the stream </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a reference to this object </dd></dl>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00125">125</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
</div>
</div>
<a class="anchor" id="a75f28035b509794ab9ccd571e34f3a47"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classvstream.html">vstream</a>& vstream::operator<< </td>
<td>(</td>
<td class="paramtype">std::ostream &(*)(std::ostream &) </td>
<td class="paramname"><em>f</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>A funny construct to enable std::endl to work on this stream idea of Dave Brondsema: <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8567">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8567</a> </p>
</div>
</div>
<a class="anchor" id="a4e73b4856bfc7b60500fdda5af49ad12"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void vstream::set_output_target </td>
<td>(</td>
<td class="paramtype">std::ostream * </td>
<td class="paramname"><em>os</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">
<p>Set the output target with which the stream should be initialized if std::cerr is not to be used. </p>
</div>
</div>
<a class="anchor" id="ae8420c54faf999d675c1a25259ca68bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::ostream& vstream::set_stream </td>
<td>(</td>
<td class="paramtype">std::ostream & </td>
<td class="paramname"><em>os</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>sets the output stream </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">os</td><td></td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the old output stream </dd></dl>
</div>
</div>
<a class="anchor" id="a551b53913fb53d1e4de8861bb9f9b0db"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void vstream::set_verbosity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> </td>
<td class="paramname"><em>l</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>set the verbosity output level </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">l</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae57001859adb8042611cec62c523ed53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool vstream::show_debug </td>
<td>(</td>
<td class="paramname"></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">
<dl class="section return"><dt>Returns</dt><dd>true if the output level is equal or below "debug" </dd></dl>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00262">262</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
<p>References <a class="el" href="msgstream_8hh_source.html#l00071">ml_debug</a>, and <a class="el" href="msgstream_8hh_source.html#l00179">shows()</a>.</p>
</div>
</div>
<a class="anchor" id="a4812258857c93bd6190315754ff7258b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool vstream::shows </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classvstream.html#a86258e3d4f4ea9844a8c0a25a0103ede">Level</a> </td>
<td class="paramname"><em>l</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">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">l</td><td>verbosity level </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if cverb will show the given verbosity level </dd></dl>
<p>Definition at line <a class="el" href="msgstream_8hh_source.html#l00179">179</a> of file <a class="el" href="msgstream_8hh_source.html">msgstream.hh</a>.</p>
<p>Referenced by <a class="el" href="msgstream_8hh_source.html#l00262">show_debug()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="msgstream_8hh_source.html">msgstream.hh</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 25 2014 23:52:10 by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
|