classdoor_1_1Clrscr.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.17"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Bugz Door Project: door::Clrscr Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">Bugz Door Project
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.17 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="namespacedoor.html">door</a></li><li class="navelem"><a class="el" href="classdoor_1_1Clrscr.html">Clrscr</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#pub-methods">Public Member Functions</a> &#124;
  68. <a href="#friends">Friends</a> &#124;
  69. <a href="classdoor_1_1Clrscr-members.html">List of all members</a> </div>
  70. <div class="headertitle">
  71. <div class="title">door::Clrscr Class Reference</div> </div>
  72. </div><!--header-->
  73. <div class="contents">
  74. <p>Clear the screen.
  75. <a href="classdoor_1_1Clrscr.html#details">More...</a></p>
  76. <p><code>#include &lt;<a class="el" href="door_8h_source.html">door.h</a>&gt;</code></p>
  77. <table class="memberdecls">
  78. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  79. Public Member Functions</h2></td></tr>
  80. <tr class="memitem:a0611278ef387fce25ce1a7771b65096a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Clrscr.html#a0611278ef387fce25ce1a7771b65096a">Clrscr</a> (void)</td></tr>
  81. <tr class="separator:a0611278ef387fce25ce1a7771b65096a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. </table><table class="memberdecls">
  83. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
  84. Friends</h2></td></tr>
  85. <tr class="memitem:a1cc056058e52bb52343b17636e6fa5e0"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdoor_1_1Clrscr.html#a1cc056058e52bb52343b17636e6fa5e0">operator&lt;&lt;</a> (std::ostream &amp;os, const <a class="el" href="classdoor_1_1Clrscr.html">Clrscr</a> &amp;clr)</td></tr>
  86. <tr class="separator:a1cc056058e52bb52343b17636e6fa5e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. </table>
  88. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  89. <div class="textblock"><p>Clear the screen. </p>
  90. <p>Clear the screen </p>
  91. </div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  92. <a id="a0611278ef387fce25ce1a7771b65096a"></a>
  93. <h2 class="memtitle"><span class="permalink"><a href="#a0611278ef387fce25ce1a7771b65096a">&#9670;&nbsp;</a></span>Clrscr()</h2>
  94. <div class="memitem">
  95. <div class="memproto">
  96. <table class="memname">
  97. <tr>
  98. <td class="memname">door::Clrscr::Clrscr </td>
  99. <td>(</td>
  100. <td class="paramtype">void&#160;</td>
  101. <td class="paramname"></td><td>)</td>
  102. <td></td>
  103. </tr>
  104. </table>
  105. </div><div class="memdoc">
  106. <p>Construct a new <a class="el" href="classdoor_1_1Clrscr.html" title="Clear the screen.">Clrscr</a>:: <a class="el" href="classdoor_1_1Clrscr.html" title="Clear the screen.">Clrscr</a> object</p>
  107. <p>This is used to clear the screen. </p>
  108. </div>
  109. </div>
  110. <h2 class="groupheader">Friends And Related Function Documentation</h2>
  111. <a id="a1cc056058e52bb52343b17636e6fa5e0"></a>
  112. <h2 class="memtitle"><span class="permalink"><a href="#a1cc056058e52bb52343b17636e6fa5e0">&#9670;&nbsp;</a></span>operator&lt;&lt;</h2>
  113. <div class="memitem">
  114. <div class="memproto">
  115. <table class="mlabels">
  116. <tr>
  117. <td class="mlabels-left">
  118. <table class="memname">
  119. <tr>
  120. <td class="memname">std::ostream&amp; operator&lt;&lt; </td>
  121. <td>(</td>
  122. <td class="paramtype">std::ostream &amp;&#160;</td>
  123. <td class="paramname"><em>os</em>, </td>
  124. </tr>
  125. <tr>
  126. <td class="paramkey"></td>
  127. <td></td>
  128. <td class="paramtype">const <a class="el" href="classdoor_1_1Clrscr.html">Clrscr</a> &amp;&#160;</td>
  129. <td class="paramname"><em>clr</em>&#160;</td>
  130. </tr>
  131. <tr>
  132. <td></td>
  133. <td>)</td>
  134. <td></td><td></td>
  135. </tr>
  136. </table>
  137. </td>
  138. <td class="mlabels-right">
  139. <span class="mlabels"><span class="mlabel">friend</span></span> </td>
  140. </tr>
  141. </table>
  142. </div><div class="memdoc">
  143. <p>Clear the screen using ANSI codes.</p>
  144. <p>Not all systems home the cursor after clearing the screen. We automatically home the cursor as well.</p>
  145. <dl class="params"><dt>Parameters</dt><dd>
  146. <table class="params">
  147. <tr><td class="paramname">os</td><td>std::ostream&amp; </td></tr>
  148. <tr><td class="paramname">clr</td><td>const <a class="el" href="classdoor_1_1Clrscr.html" title="Clear the screen.">Clrscr</a>&amp; </td></tr>
  149. </table>
  150. </dd>
  151. </dl>
  152. <dl class="section return"><dt>Returns</dt><dd>std::ostream&amp; </dd></dl>
  153. </div>
  154. </div>
  155. <hr/>The documentation for this class was generated from the following files:<ul>
  156. <li><a class="el" href="door_8h_source.html">door.h</a></li>
  157. <li><a class="el" href="door_8cpp.html">door.cpp</a></li>
  158. </ul>
  159. </div><!-- contents -->
  160. <!-- start footer part -->
  161. <hr class="footer"/><address class="footer"><small>
  162. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  163. <img class="footer" src="doxygen.png" alt="doxygen"/>
  164. </a> 1.8.17
  165. </small></address>
  166. </body>
  167. </html>