Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

1175 Zeilen
55KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6"/>
  7. <title>SdFat: ios_base Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">SdFat
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.6 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  33. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  34. <li><a href="files.html"><span>Files</span></a></li>
  35. </ul>
  36. </div>
  37. <div id="navrow2" class="tabs2">
  38. <ul class="tablist">
  39. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  40. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  41. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  42. </ul>
  43. </div>
  44. </div><!-- top -->
  45. <div class="header">
  46. <div class="summary">
  47. <a href="#pub-types">Public Types</a> &#124;
  48. <a href="#pub-methods">Public Member Functions</a> &#124;
  49. <a href="#pub-static-attribs">Static Public Attributes</a> &#124;
  50. <a href="#pro-methods">Protected Member Functions</a> &#124;
  51. <a href="classios__base-members.html">List of all members</a> </div>
  52. <div class="headertitle">
  53. <div class="title">ios_base Class Reference</div> </div>
  54. </div><!--header-->
  55. <div class="contents">
  56. <p>Base class for all streams.
  57. <a href="classios__base.html#details">More...</a></p>
  58. <p><code>#include &lt;ios.h&gt;</code></p>
  59. <div class="dynheader">
  60. Inheritance diagram for ios_base:</div>
  61. <div class="dyncontent">
  62. <div class="center"><img src="classios__base__inherit__graph.png" border="0" usemap="#ios__base_inherit__map" alt="Inheritance graph"/></div>
  63. <map name="ios__base_inherit__map" id="ios__base_inherit__map">
  64. <area shape="rect" id="node3" href="classios.html" title="Error and state information for all streams. " alt="" coords="291,80,329,107"/> <area shape="rect" id="node5" href="classistream.html" title="Input Stream. " alt="" coords="149,155,213,181"/> <area shape="rect" id="node17" href="classostream.html" title="Output Stream. " alt="" coords="391,155,460,181"/> <area shape="rect" id="node26" href="class_sd_stream_base.html" title="Base class for SD streams. " alt="" coords="255,155,365,181"/> <area shape="rect" id="node7" href="classibufstream.html" title="parse a char string " alt="" coords="23,229,105,256"/> <area shape="rect" id="node11" href="classifstream.html" title="SD file input stream. " alt="" coords="130,229,197,256"/> <area shape="rect" id="node13" href="classiostream.html" title="Input/Output stream. " alt="" coords="223,229,295,256"/> <area shape="rect" id="node9" href="class_arduino_in_stream.html" title="Input stream for Arduino Stream objects. " alt="" coords="5,304,123,331"/> <area shape="rect" id="node15" href="classfstream.html" title="SD file input/output stream. " alt="" coords="262,304,327,331"/> <area shape="rect" id="node19" href="class_arduino_out_stream.html" title="Output stream for Arduino Print objects. " alt="" coords="577,229,705,256"/> <area shape="rect" id="node22" href="classobufstream.html" title="format a char string " alt="" coords="466,229,552,256"/> <area shape="rect" id="node24" href="classofstream.html" title="SD card output stream. " alt="" coords="369,229,441,256"/> </map>
  65. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  66. <table class="memberdecls">
  67. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  68. Public Types</h2></td></tr>
  69. <tr class="memitem:ac9a54e52cef4f01ac0afd8ae896a3413"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a></td></tr>
  70. <tr class="separator:ac9a54e52cef4f01ac0afd8ae896a3413"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. <tr class="memitem:aef19291eeae0f072ac42c6ba1fe3033c"><td class="memItemLeft" align="right" valign="top">typedef unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a></td></tr>
  72. <tr class="separator:aef19291eeae0f072ac42c6ba1fe3033c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  73. <tr class="memitem:a45de7cca0d01da781f4b886179c65c22"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">off_type</a></td></tr>
  74. <tr class="separator:a45de7cca0d01da781f4b886179c65c22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:aaa192ec0dccc43050715553a34644523"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a></td></tr>
  76. <tr class="separator:aaa192ec0dccc43050715553a34644523"><td class="memSeparator" colspan="2">&#160;</td></tr>
  77. <tr class="memitem:abe85cf1f181b8bce8022f05ab76aae7f"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a></td></tr>
  78. <tr class="separator:abe85cf1f181b8bce8022f05ab76aae7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  79. <tr class="memitem:ab01103ba35f6ba93a704b3ec0c86191e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">seekdir</a> { <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb">beg</a>,
  80. <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c">cur</a>,
  81. <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811">end</a>
  82. }</td></tr>
  83. <tr class="separator:ab01103ba35f6ba93a704b3ec0c86191e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:a82836e1d3cc603fba8f0b54d323a2dff"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a></td></tr>
  85. <tr class="separator:a82836e1d3cc603fba8f0b54d323a2dff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. </table><table class="memberdecls">
  87. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  88. Public Member Functions</h2></td></tr>
  89. <tr class="memitem:ade5bd46462e075999c3a5c2cff2015f1"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ade5bd46462e075999c3a5c2cff2015f1">fill</a> ()</td></tr>
  90. <tr class="separator:ade5bd46462e075999c3a5c2cff2015f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  91. <tr class="memitem:aa5683f9bdf295311bd5a6d3cdc2fedd5"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aa5683f9bdf295311bd5a6d3cdc2fedd5">fill</a> (char c)</td></tr>
  92. <tr class="separator:aa5683f9bdf295311bd5a6d3cdc2fedd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:ab5e9c7dbcbc33b7de9dcb70525ec7384"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab5e9c7dbcbc33b7de9dcb70525ec7384">flags</a> () const </td></tr>
  94. <tr class="separator:ab5e9c7dbcbc33b7de9dcb70525ec7384"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:ae67e900dc12e4c7cbc0741ad1c70d6c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae67e900dc12e4c7cbc0741ad1c70d6c2">flags</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl)</td></tr>
  96. <tr class="separator:ae67e900dc12e4c7cbc0741ad1c70d6c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  97. <tr class="memitem:a5aef9bdafb4f0dbdb72e990be22e6144"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a5aef9bdafb4f0dbdb72e990be22e6144">ios_base</a> ()</td></tr>
  98. <tr class="separator:a5aef9bdafb4f0dbdb72e990be22e6144"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. <tr class="memitem:a9d36cb5a859b74e04f640d2f5e53b41d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a9d36cb5a859b74e04f640d2f5e53b41d">precision</a> () const </td></tr>
  100. <tr class="separator:a9d36cb5a859b74e04f640d2f5e53b41d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a5b70cc65fc2c276136fea99bddedb6f0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a5b70cc65fc2c276136fea99bddedb6f0">precision</a> (unsigned int n)</td></tr>
  102. <tr class="separator:a5b70cc65fc2c276136fea99bddedb6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  103. <tr class="memitem:ab5db835cb45bba7684ebf72d9a3cccb4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab5db835cb45bba7684ebf72d9a3cccb4">setf</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl)</td></tr>
  104. <tr class="separator:ab5db835cb45bba7684ebf72d9a3cccb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="memitem:a74dbc93607ab7d68a87ec326b92b6c81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a74dbc93607ab7d68a87ec326b92b6c81">setf</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl, <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> mask)</td></tr>
  106. <tr class="separator:a74dbc93607ab7d68a87ec326b92b6c81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:a3bf7d054a433ed15e8b984e16f630fa4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a3bf7d054a433ed15e8b984e16f630fa4">unsetf</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl)</td></tr>
  108. <tr class="separator:a3bf7d054a433ed15e8b984e16f630fa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:afa30e7644b4eae5928ad9c487ad387de"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afa30e7644b4eae5928ad9c487ad387de">width</a> ()</td></tr>
  110. <tr class="separator:afa30e7644b4eae5928ad9c487ad387de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  111. <tr class="memitem:ab2ba0f005bbf3d8ebed93b64068492e0"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab2ba0f005bbf3d8ebed93b64068492e0">width</a> (unsigned n)</td></tr>
  112. <tr class="separator:ab2ba0f005bbf3d8ebed93b64068492e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. </table><table class="memberdecls">
  114. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
  115. Static Public Attributes</h2></td></tr>
  116. <tr class="memitem:adaaf735381254aa096ebe3605e8bbd0a"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#adaaf735381254aa096ebe3605e8bbd0a">adjustfield</a> = <a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> | <a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> | <a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a></td></tr>
  117. <tr class="separator:adaaf735381254aa096ebe3605e8bbd0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a8380aac3c405730708888fdc68905820"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a8380aac3c405730708888fdc68905820">app</a> = 0X4</td></tr>
  119. <tr class="separator:a8380aac3c405730708888fdc68905820"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:aa434355c165500065276d955d8b36e99"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aa434355c165500065276d955d8b36e99">ate</a> = 0X8</td></tr>
  121. <tr class="separator:aa434355c165500065276d955d8b36e99"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:ac8c2c8f2f6bc9e6ce101c20e88ebce35"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac8c2c8f2f6bc9e6ce101c20e88ebce35">badbit</a> = 0X01</td></tr>
  123. <tr class="separator:ac8c2c8f2f6bc9e6ce101c20e88ebce35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:a75ce5482aa207d7aa0265d138b50a102"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a75ce5482aa207d7aa0265d138b50a102">basefield</a> = <a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> | <a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> | <a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a></td></tr>
  125. <tr class="separator:a75ce5482aa207d7aa0265d138b50a102"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ac99947c17c2936d15243671366605602"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac99947c17c2936d15243671366605602">binary</a> = 0X10</td></tr>
  127. <tr class="separator:ac99947c17c2936d15243671366605602"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:afa74acd95d4bbc7cc3551251aac2bf00"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afa74acd95d4bbc7cc3551251aac2bf00">boolalpha</a> = 0x0100</td></tr>
  129. <tr class="separator:afa74acd95d4bbc7cc3551251aac2bf00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:a2826aed005e7c1f6858060cddae7971a"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> = 0x0008</td></tr>
  131. <tr class="separator:a2826aed005e7c1f6858060cddae7971a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:af75072b7ef2a931c77a2cb8e7ccda460"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#af75072b7ef2a931c77a2cb8e7ccda460">eofbit</a> = 0x02</td></tr>
  133. <tr class="separator:af75072b7ef2a931c77a2cb8e7ccda460"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a36157154001bcce17827db6786e35efd"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a36157154001bcce17827db6786e35efd">failbit</a> = 0X04</td></tr>
  135. <tr class="separator:a36157154001bcce17827db6786e35efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a07a00996a6e525b88bdfe7935d5ead05"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a> = 0x00</td></tr>
  137. <tr class="separator:a07a00996a6e525b88bdfe7935d5ead05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a3608e51eb0a80ea94ddadd5b713a3750"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> = 0x0010</td></tr>
  139. <tr class="separator:a3608e51eb0a80ea94ddadd5b713a3750"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:ae5432e3c269064480652c4602f5f74ad"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a> = 0X20</td></tr>
  141. <tr class="separator:ae5432e3c269064480652c4602f5f74ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  142. <tr class="memitem:afc720b7f6f461ec8e9cf5505059e5d7c"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a> = 0x0004</td></tr>
  143. <tr class="separator:afc720b7f6f461ec8e9cf5505059e5d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  144. <tr class="memitem:ad364df9af2cfde1f40bd8e10c62bb215"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> = 0x0001</td></tr>
  145. <tr class="separator:ad364df9af2cfde1f40bd8e10c62bb215"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:a4155540f8d3ffdb8d25a2f50ee4df08f"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a> = 0x0020</td></tr>
  147. <tr class="separator:a4155540f8d3ffdb8d25a2f50ee4df08f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  148. <tr class="memitem:a4c1d517774c0d11af3424e90395f26ae"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">out</a> = 0X40</td></tr>
  149. <tr class="separator:a4c1d517774c0d11af3424e90395f26ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  150. <tr class="memitem:aec064a12730b5d87e718c1864e29ac64"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> = 0x0002</td></tr>
  151. <tr class="separator:aec064a12730b5d87e718c1864e29ac64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. <tr class="memitem:a7e3373ab307feecfc228bc9bdb29cd01"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a7e3373ab307feecfc228bc9bdb29cd01">showbase</a> = 0x0200</td></tr>
  153. <tr class="separator:a7e3373ab307feecfc228bc9bdb29cd01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  154. <tr class="memitem:ac9bb172682e157f037bd7fb82a236ee6"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac9bb172682e157f037bd7fb82a236ee6">showpoint</a> = 0x0400</td></tr>
  155. <tr class="separator:ac9bb172682e157f037bd7fb82a236ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  156. <tr class="memitem:a7bfa4a883933105d10f8ce2693cb9f21"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a7bfa4a883933105d10f8ce2693cb9f21">showpos</a> = 0x0800</td></tr>
  157. <tr class="separator:a7bfa4a883933105d10f8ce2693cb9f21"><td class="memSeparator" colspan="2">&#160;</td></tr>
  158. <tr class="memitem:a64977c777d6e45826d1be9763f17f824"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a64977c777d6e45826d1be9763f17f824">skipws</a> = 0x1000</td></tr>
  159. <tr class="separator:a64977c777d6e45826d1be9763f17f824"><td class="memSeparator" colspan="2">&#160;</td></tr>
  160. <tr class="memitem:ae62b8972f37509819e1384214071194b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae62b8972f37509819e1384214071194b">trunc</a> = 0X80</td></tr>
  161. <tr class="separator:ae62b8972f37509819e1384214071194b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  162. <tr class="memitem:ade3db1fe3249e87f4c47a9a8916793d9"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ade3db1fe3249e87f4c47a9a8916793d9">uppercase</a> = 0x4000</td></tr>
  163. <tr class="separator:ade3db1fe3249e87f4c47a9a8916793d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  164. </table><table class="memberdecls">
  165. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  166. Protected Member Functions</h2></td></tr>
  167. <tr class="memitem:a19ffb796cb95d3744d9bc7739939acf2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a19ffb796cb95d3744d9bc7739939acf2">flagsToBase</a> ()</td></tr>
  168. <tr class="separator:a19ffb796cb95d3744d9bc7739939acf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. </table>
  170. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  171. <div class="textblock"><p>Base class for all streams. </p>
  172. </div><h2 class="groupheader">Member Typedef Documentation</h2>
  173. <a class="anchor" id="ac9a54e52cef4f01ac0afd8ae896a3413"></a>
  174. <div class="memitem">
  175. <div class="memproto">
  176. <table class="memname">
  177. <tr>
  178. <td class="memname">typedef unsigned int <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">ios_base::fmtflags</a></td>
  179. </tr>
  180. </table>
  181. </div><div class="memdoc">
  182. <p>type for format flags </p>
  183. </div>
  184. </div>
  185. <a class="anchor" id="aef19291eeae0f072ac42c6ba1fe3033c"></a>
  186. <div class="memitem">
  187. <div class="memproto">
  188. <table class="memname">
  189. <tr>
  190. <td class="memname">typedef unsigned char <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">ios_base::iostate</a></td>
  191. </tr>
  192. </table>
  193. </div><div class="memdoc">
  194. <p>typedef for iostate bitmask </p>
  195. </div>
  196. </div>
  197. <a class="anchor" id="a45de7cca0d01da781f4b886179c65c22"></a>
  198. <div class="memitem">
  199. <div class="memproto">
  200. <table class="memname">
  201. <tr>
  202. <td class="memname">typedef int32_t <a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">ios_base::off_type</a></td>
  203. </tr>
  204. </table>
  205. </div><div class="memdoc">
  206. <p>type for relative seek offset </p>
  207. </div>
  208. </div>
  209. <a class="anchor" id="aaa192ec0dccc43050715553a34644523"></a>
  210. <div class="memitem">
  211. <div class="memproto">
  212. <table class="memname">
  213. <tr>
  214. <td class="memname">typedef uint8_t <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">ios_base::openmode</a></td>
  215. </tr>
  216. </table>
  217. </div><div class="memdoc">
  218. <p>typedef for iostream open mode </p>
  219. </div>
  220. </div>
  221. <a class="anchor" id="abe85cf1f181b8bce8022f05ab76aae7f"></a>
  222. <div class="memitem">
  223. <div class="memproto">
  224. <table class="memname">
  225. <tr>
  226. <td class="memname">typedef uint32_t <a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">ios_base::pos_type</a></td>
  227. </tr>
  228. </table>
  229. </div><div class="memdoc">
  230. <p>type for absolute seek position </p>
  231. </div>
  232. </div>
  233. <a class="anchor" id="a82836e1d3cc603fba8f0b54d323a2dff"></a>
  234. <div class="memitem">
  235. <div class="memproto">
  236. <table class="memname">
  237. <tr>
  238. <td class="memname">typedef uint32_t <a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">ios_base::streamsize</a></td>
  239. </tr>
  240. </table>
  241. </div><div class="memdoc">
  242. <p>unsigned size that can represent maximum file size. (violates spec - should be signed) </p>
  243. </div>
  244. </div>
  245. <h2 class="groupheader">Member Enumeration Documentation</h2>
  246. <a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191e"></a>
  247. <div class="memitem">
  248. <div class="memproto">
  249. <table class="memname">
  250. <tr>
  251. <td class="memname">enum <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">ios_base::seekdir</a></td>
  252. </tr>
  253. </table>
  254. </div><div class="memdoc">
  255. <p>enumerated type for the direction of relative seeks </p>
  256. <table class="fieldtable">
  257. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb"></a>beg</em>&#160;</td><td class="fielddoc">
  258. <p>seek relative to the beginning of the stream </p>
  259. </td></tr>
  260. <tr><td class="fieldname"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c"></a>cur</em>&#160;</td><td class="fielddoc">
  261. <p>seek relative to the current stream position </p>
  262. </td></tr>
  263. <tr><td class="fieldname"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811"></a>end</em>&#160;</td><td class="fielddoc">
  264. <p>seek relative to the end of the stream </p>
  265. </td></tr>
  266. </table>
  267. </div>
  268. </div>
  269. <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
  270. <a class="anchor" id="a5aef9bdafb4f0dbdb72e990be22e6144"></a>
  271. <div class="memitem">
  272. <div class="memproto">
  273. <table class="mlabels">
  274. <tr>
  275. <td class="mlabels-left">
  276. <table class="memname">
  277. <tr>
  278. <td class="memname">ios_base::ios_base </td>
  279. <td>(</td>
  280. <td class="paramname"></td><td>)</td>
  281. <td></td>
  282. </tr>
  283. </table>
  284. </td>
  285. <td class="mlabels-right">
  286. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  287. </tr>
  288. </table>
  289. </div><div class="memdoc">
  290. </div>
  291. </div>
  292. <h2 class="groupheader">Member Function Documentation</h2>
  293. <a class="anchor" id="ade5bd46462e075999c3a5c2cff2015f1"></a>
  294. <div class="memitem">
  295. <div class="memproto">
  296. <table class="mlabels">
  297. <tr>
  298. <td class="mlabels-left">
  299. <table class="memname">
  300. <tr>
  301. <td class="memname">char ios_base::fill </td>
  302. <td>(</td>
  303. <td class="paramname"></td><td>)</td>
  304. <td></td>
  305. </tr>
  306. </table>
  307. </td>
  308. <td class="mlabels-right">
  309. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  310. </tr>
  311. </table>
  312. </div><div class="memdoc">
  313. <dl class="section return"><dt>Returns</dt><dd>fill character </dd></dl>
  314. </div>
  315. </div>
  316. <a class="anchor" id="aa5683f9bdf295311bd5a6d3cdc2fedd5"></a>
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="mlabels">
  320. <tr>
  321. <td class="mlabels-left">
  322. <table class="memname">
  323. <tr>
  324. <td class="memname">char ios_base::fill </td>
  325. <td>(</td>
  326. <td class="paramtype">char&#160;</td>
  327. <td class="paramname"><em>c</em></td><td>)</td>
  328. <td></td>
  329. </tr>
  330. </table>
  331. </td>
  332. <td class="mlabels-right">
  333. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  334. </tr>
  335. </table>
  336. </div><div class="memdoc">
  337. <p>Set fill character </p>
  338. <dl class="params"><dt>Parameters</dt><dd>
  339. <table class="params">
  340. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>new fill character </td></tr>
  341. </table>
  342. </dd>
  343. </dl>
  344. <dl class="section return"><dt>Returns</dt><dd>old fill character </dd></dl>
  345. </div>
  346. </div>
  347. <a class="anchor" id="ab5e9c7dbcbc33b7de9dcb70525ec7384"></a>
  348. <div class="memitem">
  349. <div class="memproto">
  350. <table class="mlabels">
  351. <tr>
  352. <td class="mlabels-left">
  353. <table class="memname">
  354. <tr>
  355. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::flags </td>
  356. <td>(</td>
  357. <td class="paramname"></td><td>)</td>
  358. <td> const</td>
  359. </tr>
  360. </table>
  361. </td>
  362. <td class="mlabels-right">
  363. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  364. </tr>
  365. </table>
  366. </div><div class="memdoc">
  367. <dl class="section return"><dt>Returns</dt><dd>format flags </dd></dl>
  368. </div>
  369. </div>
  370. <a class="anchor" id="ae67e900dc12e4c7cbc0741ad1c70d6c2"></a>
  371. <div class="memitem">
  372. <div class="memproto">
  373. <table class="mlabels">
  374. <tr>
  375. <td class="mlabels-left">
  376. <table class="memname">
  377. <tr>
  378. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::flags </td>
  379. <td>(</td>
  380. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  381. <td class="paramname"><em>fl</em></td><td>)</td>
  382. <td></td>
  383. </tr>
  384. </table>
  385. </td>
  386. <td class="mlabels-right">
  387. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  388. </tr>
  389. </table>
  390. </div><div class="memdoc">
  391. <p>set format flags </p>
  392. <dl class="params"><dt>Parameters</dt><dd>
  393. <table class="params">
  394. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>new flag </td></tr>
  395. </table>
  396. </dd>
  397. </dl>
  398. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  399. </div>
  400. </div>
  401. <a class="anchor" id="a19ffb796cb95d3744d9bc7739939acf2"></a>
  402. <div class="memitem">
  403. <div class="memproto">
  404. <table class="mlabels">
  405. <tr>
  406. <td class="mlabels-left">
  407. <table class="memname">
  408. <tr>
  409. <td class="memname">uint8_t ios_base::flagsToBase </td>
  410. <td>(</td>
  411. <td class="paramname"></td><td>)</td>
  412. <td></td>
  413. </tr>
  414. </table>
  415. </td>
  416. <td class="mlabels-right">
  417. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span> </td>
  418. </tr>
  419. </table>
  420. </div><div class="memdoc">
  421. <dl class="section return"><dt>Returns</dt><dd>current number base </dd></dl>
  422. </div>
  423. </div>
  424. <a class="anchor" id="a9d36cb5a859b74e04f640d2f5e53b41d"></a>
  425. <div class="memitem">
  426. <div class="memproto">
  427. <table class="mlabels">
  428. <tr>
  429. <td class="mlabels-left">
  430. <table class="memname">
  431. <tr>
  432. <td class="memname">int ios_base::precision </td>
  433. <td>(</td>
  434. <td class="paramname"></td><td>)</td>
  435. <td> const</td>
  436. </tr>
  437. </table>
  438. </td>
  439. <td class="mlabels-right">
  440. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  441. </tr>
  442. </table>
  443. </div><div class="memdoc">
  444. <dl class="section return"><dt>Returns</dt><dd>precision </dd></dl>
  445. </div>
  446. </div>
  447. <a class="anchor" id="a5b70cc65fc2c276136fea99bddedb6f0"></a>
  448. <div class="memitem">
  449. <div class="memproto">
  450. <table class="mlabels">
  451. <tr>
  452. <td class="mlabels-left">
  453. <table class="memname">
  454. <tr>
  455. <td class="memname">int ios_base::precision </td>
  456. <td>(</td>
  457. <td class="paramtype">unsigned int&#160;</td>
  458. <td class="paramname"><em>n</em></td><td>)</td>
  459. <td></td>
  460. </tr>
  461. </table>
  462. </td>
  463. <td class="mlabels-right">
  464. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  465. </tr>
  466. </table>
  467. </div><div class="memdoc">
  468. <p>set precision </p>
  469. <dl class="params"><dt>Parameters</dt><dd>
  470. <table class="params">
  471. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>new precision </td></tr>
  472. </table>
  473. </dd>
  474. </dl>
  475. <dl class="section return"><dt>Returns</dt><dd>old precision </dd></dl>
  476. </div>
  477. </div>
  478. <a class="anchor" id="ab5db835cb45bba7684ebf72d9a3cccb4"></a>
  479. <div class="memitem">
  480. <div class="memproto">
  481. <table class="mlabels">
  482. <tr>
  483. <td class="mlabels-left">
  484. <table class="memname">
  485. <tr>
  486. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::setf </td>
  487. <td>(</td>
  488. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  489. <td class="paramname"><em>fl</em></td><td>)</td>
  490. <td></td>
  491. </tr>
  492. </table>
  493. </td>
  494. <td class="mlabels-right">
  495. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  496. </tr>
  497. </table>
  498. </div><div class="memdoc">
  499. <p>set format flags </p>
  500. <dl class="params"><dt>Parameters</dt><dd>
  501. <table class="params">
  502. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>new flags to be or'ed in </td></tr>
  503. </table>
  504. </dd>
  505. </dl>
  506. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  507. </div>
  508. </div>
  509. <a class="anchor" id="a74dbc93607ab7d68a87ec326b92b6c81"></a>
  510. <div class="memitem">
  511. <div class="memproto">
  512. <table class="mlabels">
  513. <tr>
  514. <td class="mlabels-left">
  515. <table class="memname">
  516. <tr>
  517. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::setf </td>
  518. <td>(</td>
  519. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  520. <td class="paramname"><em>fl</em>, </td>
  521. </tr>
  522. <tr>
  523. <td class="paramkey"></td>
  524. <td></td>
  525. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  526. <td class="paramname"><em>mask</em>&#160;</td>
  527. </tr>
  528. <tr>
  529. <td></td>
  530. <td>)</td>
  531. <td></td><td></td>
  532. </tr>
  533. </table>
  534. </td>
  535. <td class="mlabels-right">
  536. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  537. </tr>
  538. </table>
  539. </div><div class="memdoc">
  540. <p>modify format flags </p>
  541. <dl class="params"><dt>Parameters</dt><dd>
  542. <table class="params">
  543. <tr><td class="paramdir">[in]</td><td class="paramname">mask</td><td>flags to be removed </td></tr>
  544. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>flags to be set after mask bits have been cleared </td></tr>
  545. </table>
  546. </dd>
  547. </dl>
  548. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  549. </div>
  550. </div>
  551. <a class="anchor" id="a3bf7d054a433ed15e8b984e16f630fa4"></a>
  552. <div class="memitem">
  553. <div class="memproto">
  554. <table class="mlabels">
  555. <tr>
  556. <td class="mlabels-left">
  557. <table class="memname">
  558. <tr>
  559. <td class="memname">void ios_base::unsetf </td>
  560. <td>(</td>
  561. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  562. <td class="paramname"><em>fl</em></td><td>)</td>
  563. <td></td>
  564. </tr>
  565. </table>
  566. </td>
  567. <td class="mlabels-right">
  568. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  569. </tr>
  570. </table>
  571. </div><div class="memdoc">
  572. <p>clear format flags </p>
  573. <dl class="params"><dt>Parameters</dt><dd>
  574. <table class="params">
  575. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>flags to be cleared </td></tr>
  576. </table>
  577. </dd>
  578. </dl>
  579. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  580. </div>
  581. </div>
  582. <a class="anchor" id="afa30e7644b4eae5928ad9c487ad387de"></a>
  583. <div class="memitem">
  584. <div class="memproto">
  585. <table class="mlabels">
  586. <tr>
  587. <td class="mlabels-left">
  588. <table class="memname">
  589. <tr>
  590. <td class="memname">unsigned ios_base::width </td>
  591. <td>(</td>
  592. <td class="paramname"></td><td>)</td>
  593. <td></td>
  594. </tr>
  595. </table>
  596. </td>
  597. <td class="mlabels-right">
  598. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  599. </tr>
  600. </table>
  601. </div><div class="memdoc">
  602. <dl class="section return"><dt>Returns</dt><dd>width </dd></dl>
  603. </div>
  604. </div>
  605. <a class="anchor" id="ab2ba0f005bbf3d8ebed93b64068492e0"></a>
  606. <div class="memitem">
  607. <div class="memproto">
  608. <table class="mlabels">
  609. <tr>
  610. <td class="mlabels-left">
  611. <table class="memname">
  612. <tr>
  613. <td class="memname">unsigned ios_base::width </td>
  614. <td>(</td>
  615. <td class="paramtype">unsigned&#160;</td>
  616. <td class="paramname"><em>n</em></td><td>)</td>
  617. <td></td>
  618. </tr>
  619. </table>
  620. </td>
  621. <td class="mlabels-right">
  622. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  623. </tr>
  624. </table>
  625. </div><div class="memdoc">
  626. <p>set width </p>
  627. <dl class="params"><dt>Parameters</dt><dd>
  628. <table class="params">
  629. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>new width </td></tr>
  630. </table>
  631. </dd>
  632. </dl>
  633. <dl class="section return"><dt>Returns</dt><dd>old width </dd></dl>
  634. </div>
  635. </div>
  636. <h2 class="groupheader">Member Data Documentation</h2>
  637. <a class="anchor" id="adaaf735381254aa096ebe3605e8bbd0a"></a>
  638. <div class="memitem">
  639. <div class="memproto">
  640. <table class="mlabels">
  641. <tr>
  642. <td class="mlabels-left">
  643. <table class="memname">
  644. <tr>
  645. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::adjustfield = <a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> | <a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> | <a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a></td>
  646. </tr>
  647. </table>
  648. </td>
  649. <td class="mlabels-right">
  650. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  651. </tr>
  652. </table>
  653. </div><div class="memdoc">
  654. <p>mask for adjustfield </p>
  655. </div>
  656. </div>
  657. <a class="anchor" id="a8380aac3c405730708888fdc68905820"></a>
  658. <div class="memitem">
  659. <div class="memproto">
  660. <table class="mlabels">
  661. <tr>
  662. <td class="mlabels-left">
  663. <table class="memname">
  664. <tr>
  665. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::app = 0X4</td>
  666. </tr>
  667. </table>
  668. </td>
  669. <td class="mlabels-right">
  670. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  671. </tr>
  672. </table>
  673. </div><div class="memdoc">
  674. <p>seek to end before each write </p>
  675. </div>
  676. </div>
  677. <a class="anchor" id="aa434355c165500065276d955d8b36e99"></a>
  678. <div class="memitem">
  679. <div class="memproto">
  680. <table class="mlabels">
  681. <tr>
  682. <td class="mlabels-left">
  683. <table class="memname">
  684. <tr>
  685. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::ate = 0X8</td>
  686. </tr>
  687. </table>
  688. </td>
  689. <td class="mlabels-right">
  690. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  691. </tr>
  692. </table>
  693. </div><div class="memdoc">
  694. <p>open and seek to end immediately after opening </p>
  695. </div>
  696. </div>
  697. <a class="anchor" id="ac8c2c8f2f6bc9e6ce101c20e88ebce35"></a>
  698. <div class="memitem">
  699. <div class="memproto">
  700. <table class="mlabels">
  701. <tr>
  702. <td class="mlabels-left">
  703. <table class="memname">
  704. <tr>
  705. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::badbit = 0X01</td>
  706. </tr>
  707. </table>
  708. </td>
  709. <td class="mlabels-right">
  710. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  711. </tr>
  712. </table>
  713. </div><div class="memdoc">
  714. <p>iostate bad bit for a nonrecoverable error. </p>
  715. </div>
  716. </div>
  717. <a class="anchor" id="a75ce5482aa207d7aa0265d138b50a102"></a>
  718. <div class="memitem">
  719. <div class="memproto">
  720. <table class="mlabels">
  721. <tr>
  722. <td class="mlabels-left">
  723. <table class="memname">
  724. <tr>
  725. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::basefield = <a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> | <a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> | <a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a></td>
  726. </tr>
  727. </table>
  728. </td>
  729. <td class="mlabels-right">
  730. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  731. </tr>
  732. </table>
  733. </div><div class="memdoc">
  734. <p>mask for basefield </p>
  735. </div>
  736. </div>
  737. <a class="anchor" id="ac99947c17c2936d15243671366605602"></a>
  738. <div class="memitem">
  739. <div class="memproto">
  740. <table class="mlabels">
  741. <tr>
  742. <td class="mlabels-left">
  743. <table class="memname">
  744. <tr>
  745. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::binary = 0X10</td>
  746. </tr>
  747. </table>
  748. </td>
  749. <td class="mlabels-right">
  750. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  751. </tr>
  752. </table>
  753. </div><div class="memdoc">
  754. <p>perform input and output in binary mode (as opposed to text mode) </p>
  755. </div>
  756. </div>
  757. <a class="anchor" id="afa74acd95d4bbc7cc3551251aac2bf00"></a>
  758. <div class="memitem">
  759. <div class="memproto">
  760. <table class="mlabels">
  761. <tr>
  762. <td class="mlabels-left">
  763. <table class="memname">
  764. <tr>
  765. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::boolalpha = 0x0100</td>
  766. </tr>
  767. </table>
  768. </td>
  769. <td class="mlabels-right">
  770. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  771. </tr>
  772. </table>
  773. </div><div class="memdoc">
  774. <p>use strings true/false for bool </p>
  775. </div>
  776. </div>
  777. <a class="anchor" id="a2826aed005e7c1f6858060cddae7971a"></a>
  778. <div class="memitem">
  779. <div class="memproto">
  780. <table class="mlabels">
  781. <tr>
  782. <td class="mlabels-left">
  783. <table class="memname">
  784. <tr>
  785. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::dec = 0x0008</td>
  786. </tr>
  787. </table>
  788. </td>
  789. <td class="mlabels-right">
  790. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  791. </tr>
  792. </table>
  793. </div><div class="memdoc">
  794. <p>base 10 flag </p>
  795. </div>
  796. </div>
  797. <a class="anchor" id="af75072b7ef2a931c77a2cb8e7ccda460"></a>
  798. <div class="memitem">
  799. <div class="memproto">
  800. <table class="mlabels">
  801. <tr>
  802. <td class="mlabels-left">
  803. <table class="memname">
  804. <tr>
  805. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::eofbit = 0x02</td>
  806. </tr>
  807. </table>
  808. </td>
  809. <td class="mlabels-right">
  810. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  811. </tr>
  812. </table>
  813. </div><div class="memdoc">
  814. <p>iostate bit for end of file reached </p>
  815. </div>
  816. </div>
  817. <a class="anchor" id="a36157154001bcce17827db6786e35efd"></a>
  818. <div class="memitem">
  819. <div class="memproto">
  820. <table class="mlabels">
  821. <tr>
  822. <td class="mlabels-left">
  823. <table class="memname">
  824. <tr>
  825. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::failbit = 0X04</td>
  826. </tr>
  827. </table>
  828. </td>
  829. <td class="mlabels-right">
  830. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  831. </tr>
  832. </table>
  833. </div><div class="memdoc">
  834. <p>iostate fail bit for nonfatal error </p>
  835. </div>
  836. </div>
  837. <a class="anchor" id="a07a00996a6e525b88bdfe7935d5ead05"></a>
  838. <div class="memitem">
  839. <div class="memproto">
  840. <table class="mlabels">
  841. <tr>
  842. <td class="mlabels-left">
  843. <table class="memname">
  844. <tr>
  845. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::goodbit = 0x00</td>
  846. </tr>
  847. </table>
  848. </td>
  849. <td class="mlabels-right">
  850. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  851. </tr>
  852. </table>
  853. </div><div class="memdoc">
  854. <p>iostate for no flags </p>
  855. </div>
  856. </div>
  857. <a class="anchor" id="a3608e51eb0a80ea94ddadd5b713a3750"></a>
  858. <div class="memitem">
  859. <div class="memproto">
  860. <table class="mlabels">
  861. <tr>
  862. <td class="mlabels-left">
  863. <table class="memname">
  864. <tr>
  865. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::hex = 0x0010</td>
  866. </tr>
  867. </table>
  868. </td>
  869. <td class="mlabels-right">
  870. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  871. </tr>
  872. </table>
  873. </div><div class="memdoc">
  874. <p>base 16 flag </p>
  875. </div>
  876. </div>
  877. <a class="anchor" id="ae5432e3c269064480652c4602f5f74ad"></a>
  878. <div class="memitem">
  879. <div class="memproto">
  880. <table class="mlabels">
  881. <tr>
  882. <td class="mlabels-left">
  883. <table class="memname">
  884. <tr>
  885. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::in = 0X20</td>
  886. </tr>
  887. </table>
  888. </td>
  889. <td class="mlabels-right">
  890. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  891. </tr>
  892. </table>
  893. </div><div class="memdoc">
  894. <p>open for input </p>
  895. </div>
  896. </div>
  897. <a class="anchor" id="afc720b7f6f461ec8e9cf5505059e5d7c"></a>
  898. <div class="memitem">
  899. <div class="memproto">
  900. <table class="mlabels">
  901. <tr>
  902. <td class="mlabels-left">
  903. <table class="memname">
  904. <tr>
  905. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::internal = 0x0004</td>
  906. </tr>
  907. </table>
  908. </td>
  909. <td class="mlabels-right">
  910. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  911. </tr>
  912. </table>
  913. </div><div class="memdoc">
  914. <p>fill between sign/base prefix and number </p>
  915. </div>
  916. </div>
  917. <a class="anchor" id="ad364df9af2cfde1f40bd8e10c62bb215"></a>
  918. <div class="memitem">
  919. <div class="memproto">
  920. <table class="mlabels">
  921. <tr>
  922. <td class="mlabels-left">
  923. <table class="memname">
  924. <tr>
  925. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::left = 0x0001</td>
  926. </tr>
  927. </table>
  928. </td>
  929. <td class="mlabels-right">
  930. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  931. </tr>
  932. </table>
  933. </div><div class="memdoc">
  934. <p>left adjust fields </p>
  935. </div>
  936. </div>
  937. <a class="anchor" id="a4155540f8d3ffdb8d25a2f50ee4df08f"></a>
  938. <div class="memitem">
  939. <div class="memproto">
  940. <table class="mlabels">
  941. <tr>
  942. <td class="mlabels-left">
  943. <table class="memname">
  944. <tr>
  945. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::oct = 0x0020</td>
  946. </tr>
  947. </table>
  948. </td>
  949. <td class="mlabels-right">
  950. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  951. </tr>
  952. </table>
  953. </div><div class="memdoc">
  954. <p>base 8 flag </p>
  955. </div>
  956. </div>
  957. <a class="anchor" id="a4c1d517774c0d11af3424e90395f26ae"></a>
  958. <div class="memitem">
  959. <div class="memproto">
  960. <table class="mlabels">
  961. <tr>
  962. <td class="mlabels-left">
  963. <table class="memname">
  964. <tr>
  965. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::out = 0X40</td>
  966. </tr>
  967. </table>
  968. </td>
  969. <td class="mlabels-right">
  970. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  971. </tr>
  972. </table>
  973. </div><div class="memdoc">
  974. <p>open for output </p>
  975. </div>
  976. </div>
  977. <a class="anchor" id="aec064a12730b5d87e718c1864e29ac64"></a>
  978. <div class="memitem">
  979. <div class="memproto">
  980. <table class="mlabels">
  981. <tr>
  982. <td class="mlabels-left">
  983. <table class="memname">
  984. <tr>
  985. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::right = 0x0002</td>
  986. </tr>
  987. </table>
  988. </td>
  989. <td class="mlabels-right">
  990. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  991. </tr>
  992. </table>
  993. </div><div class="memdoc">
  994. <p>right adjust fields </p>
  995. </div>
  996. </div>
  997. <a class="anchor" id="a7e3373ab307feecfc228bc9bdb29cd01"></a>
  998. <div class="memitem">
  999. <div class="memproto">
  1000. <table class="mlabels">
  1001. <tr>
  1002. <td class="mlabels-left">
  1003. <table class="memname">
  1004. <tr>
  1005. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::showbase = 0x0200</td>
  1006. </tr>
  1007. </table>
  1008. </td>
  1009. <td class="mlabels-right">
  1010. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1011. </tr>
  1012. </table>
  1013. </div><div class="memdoc">
  1014. <p>use prefix 0X for hex and 0 for oct </p>
  1015. </div>
  1016. </div>
  1017. <a class="anchor" id="ac9bb172682e157f037bd7fb82a236ee6"></a>
  1018. <div class="memitem">
  1019. <div class="memproto">
  1020. <table class="mlabels">
  1021. <tr>
  1022. <td class="mlabels-left">
  1023. <table class="memname">
  1024. <tr>
  1025. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::showpoint = 0x0400</td>
  1026. </tr>
  1027. </table>
  1028. </td>
  1029. <td class="mlabels-right">
  1030. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1031. </tr>
  1032. </table>
  1033. </div><div class="memdoc">
  1034. <p>always show '.' for floating numbers </p>
  1035. </div>
  1036. </div>
  1037. <a class="anchor" id="a7bfa4a883933105d10f8ce2693cb9f21"></a>
  1038. <div class="memitem">
  1039. <div class="memproto">
  1040. <table class="mlabels">
  1041. <tr>
  1042. <td class="mlabels-left">
  1043. <table class="memname">
  1044. <tr>
  1045. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::showpos = 0x0800</td>
  1046. </tr>
  1047. </table>
  1048. </td>
  1049. <td class="mlabels-right">
  1050. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1051. </tr>
  1052. </table>
  1053. </div><div class="memdoc">
  1054. <p>show + sign for nonnegative numbers </p>
  1055. </div>
  1056. </div>
  1057. <a class="anchor" id="a64977c777d6e45826d1be9763f17f824"></a>
  1058. <div class="memitem">
  1059. <div class="memproto">
  1060. <table class="mlabels">
  1061. <tr>
  1062. <td class="mlabels-left">
  1063. <table class="memname">
  1064. <tr>
  1065. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::skipws = 0x1000</td>
  1066. </tr>
  1067. </table>
  1068. </td>
  1069. <td class="mlabels-right">
  1070. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1071. </tr>
  1072. </table>
  1073. </div><div class="memdoc">
  1074. <p>skip initial white space </p>
  1075. </div>
  1076. </div>
  1077. <a class="anchor" id="ae62b8972f37509819e1384214071194b"></a>
  1078. <div class="memitem">
  1079. <div class="memproto">
  1080. <table class="mlabels">
  1081. <tr>
  1082. <td class="mlabels-left">
  1083. <table class="memname">
  1084. <tr>
  1085. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::trunc = 0X80</td>
  1086. </tr>
  1087. </table>
  1088. </td>
  1089. <td class="mlabels-right">
  1090. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1091. </tr>
  1092. </table>
  1093. </div><div class="memdoc">
  1094. <p>truncate an existing stream when opening </p>
  1095. </div>
  1096. </div>
  1097. <a class="anchor" id="ade3db1fe3249e87f4c47a9a8916793d9"></a>
  1098. <div class="memitem">
  1099. <div class="memproto">
  1100. <table class="mlabels">
  1101. <tr>
  1102. <td class="mlabels-left">
  1103. <table class="memname">
  1104. <tr>
  1105. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::uppercase = 0x4000</td>
  1106. </tr>
  1107. </table>
  1108. </td>
  1109. <td class="mlabels-right">
  1110. <span class="mlabels"><span class="mlabel">static</span></span> </td>
  1111. </tr>
  1112. </table>
  1113. </div><div class="memdoc">
  1114. <p>use uppercase letters in number representations </p>
  1115. </div>
  1116. </div>
  1117. <hr/>The documentation for this class was generated from the following file:<ul>
  1118. <li>Arduino/libraries/SdFat/<a class="el" href="ios_8h.html">ios.h</a></li>
  1119. </ul>
  1120. </div><!-- contents -->
  1121. <!-- start footer part -->
  1122. <hr class="footer"/><address class="footer"><small>
  1123. Generated on Sun Aug 24 2014 09:37:38 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  1124. <img class="footer" src="doxygen.png" alt="doxygen"/>
  1125. </a> 1.8.6
  1126. </small></address>
  1127. </body>
  1128. </html>