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.

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