You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1163 line
54KB

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