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.

classios__base.html 54KB

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