2030 lines
119 KiB
HTML
2030 lines
119 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<title>SdFat: ifstream Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body>
|
|
<!-- Generated by Doxygen 1.7.4 -->
|
|
<div id="top">
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">SdFat</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="navrow2" class="tabs2">
|
|
<ul class="tablist">
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
|
<a href="#pro-methods">Protected Member Functions</a> |
|
|
<a href="#pri-methods">Private Member Functions</a> |
|
|
<a href="#pri-static-methods">Static Private Member Functions</a> |
|
|
<a href="#pri-attribs">Private Attributes</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">ifstream Class Reference</div> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="ifstream" --><!-- doxytag: inherits="istream,SdStreamBase" -->
|
|
<p>SD file input stream.
|
|
<a href="classifstream.html#details">More...</a></p>
|
|
|
|
<p><code>#include <SdStream.h></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for ifstream:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classifstream__inherit__graph.png" border="0" usemap="#ifstream_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="ifstream_inherit__map" id="ifstream_inherit__map">
|
|
<area shape="rect" id="node2" href="classistream.html" title="Input Stream." alt="" coords="137,155,201,181"/>
|
|
<area shape="rect" id="node4" href="classios.html" title="Error and state information for all streams." alt="" coords="137,80,175,107"/>
|
|
<area shape="rect" id="node8" href="class_sd_stream_base.html" title="Base class for SD streams." alt="" coords="5,155,112,181"/>
|
|
<area shape="rect" id="node6" href="classios__base.html" title="Base class for all streams." alt="" coords="120,5,192,32"/>
|
|
<area shape="rect" id="node10" href="class_sd_base_file.html" title="Base class for SdFile with Print and C++ streams." alt="" coords="17,80,100,107"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
<div class="dynheader">
|
|
Collaboration diagram for ifstream:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classifstream__coll__graph.png" border="0" usemap="#ifstream_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="ifstream_coll__map" id="ifstream_coll__map">
|
|
<area shape="rect" id="node2" href="classistream.html" title="Input Stream." alt="" coords="439,445,504,472"/>
|
|
<area shape="rect" id="node4" href="classios.html" title="Error and state information for all streams." alt="" coords="453,368,491,395"/>
|
|
<area shape="rect" id="node8" href="class_sd_stream_base.html" title="Base class for SD streams." alt="" coords="308,445,415,472"/>
|
|
<area shape="rect" id="node6" href="classios__base.html" title="Base class for all streams." alt="" coords="436,277,508,304"/>
|
|
<area shape="rect" id="node10" href="class_sd_base_file.html" title="Base class for SdFile with Print and C++ streams." alt="" coords="290,368,373,395"/>
|
|
<area shape="rect" id="node12" href="class_sd_volume.html" title="Access FAT16 and FAT32 volumes on SD and SDHC cards." alt="" coords="292,277,372,304"/>
|
|
<area shape="rect" id="node14" href="unioncache__t.html" title="Cache for an SD data block." alt="" coords="247,187,313,213"/>
|
|
<area shape="rect" id="node16" href="structdirectory_entry.html" title="FAT short directory entry." alt="" coords="5,96,107,123"/>
|
|
<area shape="rect" id="node18" href="structfat32__fsinfo.html" title="FSINFO sector for a FAT32 volume." alt="" coords="131,96,220,123"/>
|
|
<area shape="rect" id="node20" href="structfat__boot.html" title="Boot sector for a FAT12/FAT16 volume." alt="" coords="245,96,315,123"/>
|
|
<area shape="rect" id="node22" href="structmaster_boot_record.html" title="Master Boot Record." alt="" coords="339,96,465,123"/>
|
|
<area shape="rect" id="node24" href="structpartition_table.html" title="MBR partition table entry." alt="" coords="352,5,453,32"/>
|
|
<area shape="rect" id="node26" href="structfat32__boot.html" title="Boot sector for a FAT32 volume." alt="" coords="491,96,573,123"/>
|
|
<area shape="rect" id="node28" href="class_sd2_card.html" title="Raw access to SD and SDHC flash memory cards." alt="" coords="350,187,420,213"/>
|
|
</map>
|
|
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
|
|
|
|
<p><a href="classifstream-members.html">List of all members.</a></p>
|
|
<table class="memberdecls">
|
|
<tr><td colspan="2"><h2><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef unsigned char </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">off_type</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">enum  </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>,
|
|
<a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c">cur</a>,
|
|
<a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811">end</a>
|
|
}</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">typedef uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a></td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a7daa417c60277a4a4a452df4ad0af8e6">bad</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#aa49ed6670d1743e7a373b2d915ec739a">clear</a> (<a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> state=<a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a>)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classifstream.html#ac5892f472afdef6160f5fe2401b16dce">close</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#ad2f091f3ed1a2e13f62557854c0885a7">eof</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ade5bd46462e075999c3a5c2cff2015f1">fill</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aa5683f9bdf295311bd5a6d3cdc2fedd5">fill</a> (char c)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab5e9c7dbcbc33b7de9dcb70525ec7384">flags</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </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>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#ad2b705d2f363ed59db6ac4046f78b4bb">gcount</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a36573c9b7fc522e6c85a73221019fd11">get</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a9c7313d6f21f1f7ac9b0e759e74b4db2">get</a> (char &ch)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a4247f47e388598c69ef3bd39ea4c056f">get</a> (char *str, <a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> n, char delim= '\n')</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a8a12c4939d6029408b3dbe89a7595c37">getline</a> (char *str, <a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> count, char delim= '\n')</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a5fdf9247f642a7a5c5a21323ffd45366">good</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classifstream.html#a11f4bfaa5c37cfcf8878c367fd861a88">ifstream</a> (const char *path, <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> mode=<a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a>)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a12597b03d86b66047a5581bbd26eb032">ignore</a> (<a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> n=1, int delim=-1)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classifstream.html#aaa16c6422ea371995d02159f2e6707b2">is_open</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classifstream.html#a169694d6535fd551fd6db48a2867590e">open</a> (const char *path, <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> mode=<a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a>)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a8c2e7e42e31d3d7898a51c0bc837b2a3">operator const void *</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a1ae2d4f1ccdfcaaef6a3a8ac9e28c267">operator!</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a5a0a2c0e06abadb79951ebe34f36d62a">operator>></a> (<a class="el" href="classios.html">ios</a> &(*pf)(<a class="el" href="classios.html">ios</a> &str))</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a662060e885a0551c390b7042b3b9e4a5">operator>></a> (short &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a31a706a374c5a594e400734b8992e2a0">operator>></a> (unsigned short &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a99db66d2e192f02deff0171ad098271f">operator>></a> (char *str)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#ae8451bc86d83828892d9d67c67b7f02b">operator>></a> (int &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a35c9847ebf7b822c5ec9742e9de19345">operator>></a> (unsigned int &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#aa26e7f35e74d96803bb0dfb3fb0dc154">operator>></a> (long &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#addaf5e0f39a15cc213117165dfef0d77">operator>></a> (char &ch)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a5aafa4c7f6615a7f1441962b61b8ef59">operator>></a> (unsigned long &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a390af4d28adbdc537e436f2121d1c862">operator>></a> (signed char *str)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#af9bf453725ce1d9ef62142a7ee38936e">operator>></a> (double &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#aa8efce6fecab80cf7a17d5dfa31f5aa8">operator>></a> (float &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a62ef4762feacc64a8acdcbf8f1296936">operator>></a> (void *&arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#aa67d3b8ac67e2097d876a66657ec6067">operator>></a> (<a class="el" href="classistream.html">istream</a> &(*pf)(<a class="el" href="classistream.html">istream</a> &str))</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a49ab1a573fbf69809d19a52855a30072">operator>></a> (signed char &ch)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a52e85d01198968330f20026a52cb9f72">operator>></a> (unsigned char *str)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a74875fcf9ccdc0dca4b46a0b66821798">operator>></a> (unsigned char &ch)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#ac6e2f17c80edd19deecdc20f804c424e">operator>></a> (<a class="el" href="classios__base.html">ios_base</a> &(*pf)(<a class="el" href="classios__base.html">ios_base</a> &str))</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a3708636d095d360695e9c23335639317">operator>></a> (bool &arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a4022265e0ede3698454f1ff59348c14a">peek</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a9d36cb5a859b74e04f640d2f5e53b41d">precision</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a5b70cc65fc2c276136fea99bddedb6f0">precision</a> (unsigned int n)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#aacc57e1e46e23f2f54898ff6a89129a2">rdstate</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a52d637b1aeca9946085a4a72e0208aec">seekg</a> (<a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a> pos)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classistream.html">istream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a60dd48a3b374fb9cbdc59e1f930dea95">seekg</a> (<a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">off_type</a> off, <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">seekdir</a> way)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </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>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </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>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#aee5d194656bdfb0c8621b23ea2f51afb">setstate</a> (<a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> state)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a0f7468be86d93de5d33fa99095898279">skipWhite</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classistream.html#a18332bdcb7fbe33ca06045c786cac4c3">tellg</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </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>
|
|
<tr><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab2ba0f005bbf3d8ebed93b64068492e0">width</a> (unsigned n)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afa30e7644b4eae5928ad9c487ad387de">width</a> ()</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
|
|
Static Public Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </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>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a8380aac3c405730708888fdc68905820">app</a> = 0X4</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aa434355c165500065276d955d8b36e99">ate</a> = 0X8</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac8c2c8f2f6bc9e6ce101c20e88ebce35">badbit</a> = 0X01</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </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>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac99947c17c2936d15243671366605602">binary</a> = 0X10</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afa74acd95d4bbc7cc3551251aac2bf00">boolalpha</a> = 0x0100</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> = 0x0008</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#af75072b7ef2a931c77a2cb8e7ccda460">eofbit</a> = 0x02</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a36157154001bcce17827db6786e35efd">failbit</a> = 0X04</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a> = 0x00</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> = 0x0010</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a> = 0X20</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a> = 0x0004</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> = 0x0001</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a> = 0x0020</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">out</a> = 0X40</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> = 0x0002</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a7e3373ab307feecfc228bc9bdb29cd01">showbase</a> = 0x0200</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac9bb172682e157f037bd7fb82a236ee6">showpoint</a> = 0x0400</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a7bfa4a883933105d10f8ce2693cb9f21">showpos</a> = 0x0800</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a64977c777d6e45826d1be9763f17f824">skipws</a> = 0x1000</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae62b8972f37509819e1384214071194b">trunc</a> = 0X80</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ade3db1fe3249e87f4c47a9a8916793d9">uppercase</a> = 0x4000</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pro-methods"></a>
|
|
Protected Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a19ffb796cb95d3744d9bc7739939acf2">flagsToBase</a> ()</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pri-methods"></a>
|
|
Private Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ac4381fe633716069f2161d9e9fef5d16">available</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6b4e639ae03ec48c9becd8b472aa1b50">clearWriteError</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a272c68ba97eb5452ce903e6f8d2895a6">contiguousRange</a> (uint32_t *bgnBlock, uint32_t *endBlock)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad14a78d348219d6ce096582b6ed74526">createContiguous</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dirFile, const char *path, uint32_t size)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#afd2ed78a03600924ef6502a86d7c6291">curCluster</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a9739ca25a7c804cace68f95c14658c44">curPosition</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a0977fc620f90e21897eca1fb1c25fdce">dirEntry</a> (<a class="el" href="structdirectory_entry.html">dir_t</a> *dir)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aa0b95ccc568d483f1416d2eacd1ff3f7">exists</a> (const char *name)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a41de4f35c622c1a5f5699400e8d05a87">fgets</a> (char *str, int16_t num, char *delim=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a32ac452756fdf80aae75fb1ab093a421">fileSize</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#adca5f8fce7851f9b7abc92cb73e49e35">firstCluster</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a2e84ccce858fd7e4d88e26b23d19a822">getFilename</a> (char *name)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad1af089e5cf0a4c86e9b6bae1595f59b">getpos</a> (<a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *pos)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aa8ebd3ec28126c3171059d3e7dd355b9">getWriteError</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad43ed061a1f77578d3c30a0f9b198497">isDir</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ab57b9744531ee0fcfa18bebde9fc50db">isFile</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a0fb6e697de39cdb777744981f58eaaa8">isOpen</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad1fcdcb6c1cb66207d243584e6049095">isRoot</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a50023837ddbc57b10098d3a7cd5856f7">isSubDir</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ae94a6672e77325d91cf2ae7077f4c785">ls</a> (Print *pr, uint8_t flags=0, uint8_t indent=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a925b3badddc0f9472730a4ccd4ff7b67">ls</a> (uint8_t flags=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad1de34e5dc5b3a1727208f949b5838e9">mkdir</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dir, const char *path, bool pFlag=true)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6ff5b48f672515ec20831583de74407f">open</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dirFile, uint16_t index, uint8_t oflag)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a4b88be0d893bcada9b203bdd33fff8e2">open</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dirFile, const char *path, uint8_t oflag)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aee4c736345e96aa5ddb7e5768ce88f51">openNext</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dirFile, uint8_t oflag)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ac67ffdfb84263bcd425886c09a15e287">openRoot</a> (<a class="el" href="class_sd_volume.html">SdVolume</a> *vol)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a996abee868ce928d04d9d0ad9305c915">peek</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#afe2fd8314f3a6c0e06ff178f730efe07">printCreateDateTime</a> (Print *pr)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a770817e273c68fb830f9f029c39fc41c">printField</a> (int32_t value, char term)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a27146777c4d215cb5887edab4b4599b0">printField</a> (uint32_t value, char term)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a71050abe5bed8e44f48ae75627b54c63">printField</a> (uint16_t value, char term)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a8fcc3db8e05121c739d8d43ee40fec72">printField</a> (int16_t value, char term)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a65604a3450e69799f2969b6a145647dc">printModifyDateTime</a> (Print *pr)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#acb64cd7f69705eb269bfab8e6372e86b">printName</a> (Print *pr)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a239cacb867f6c4f93eb52c38c60684d7">printName</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a145595e55db1629fa126ffa2628fe9eb">read</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aa70609890c15df7c49d65b07d1161a3f">read</a> (void *buf, size_t nbyte)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ae5dd9c5f9764db71c90c5fcfb02b2c97">readDir</a> (<a class="el" href="structdirectory_entry.html">dir_t</a> *dir)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6e88ee210c9bd7556477c0e7ba4de1bb">remove</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad6e9f07c62add23dfe0338bdd0bf2d40">rename</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dirFile, const char *newPath)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a7a5369b40eb15ad26c2e4af5d069c52c">rewind</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a7268834187e8216605963f8ae3cf1e6e">rmdir</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a4186ba79c83005971096966c0fd02d46">rmRfStar</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ab04ec7e129607973f6e3436f779b6501">seekCur</a> (int32_t offset)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6f42e496b179dbdd2c09083cfad28613">seekEnd</a> (int32_t offset=0)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet</a> (uint32_t pos)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a71170390855df02c88cbda6e727e9609">setpos</a> (<a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *pos)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#adf84a0487f3b45fc183756b9d17141cd">timestamp</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *file)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ae55ad6000c44fc73e15934381b305dc4">timestamp</a> (uint8_t flag, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute, uint8_t second)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a9d1ad1abbd90089f731de81de1708c19">truncate</a> (uint32_t size)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a1555e6866abc9c867c5fff189a3a4317">type</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sd_volume.html">SdVolume</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#acb021c2b7f68778d683d093775532a06">volume</a> () const </td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write</a> (const void *buf, size_t nbyte)</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pri-static-methods"></a>
|
|
Static Private Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sd_base_file.html">SdBaseFile</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a56b9402969b3348c97b413750226f955">cwd</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a1664a62726dcd7ff82c12d724b3b34df">dateTimeCallback</a> (void(*dateTime)(uint16_t *date, uint16_t *time))</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a04e3e7829c56a6b11df8df0051a49ef9">dateTimeCallbackCancel</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a8fdbf7893bf19793e772b340e4c08fed">dirName</a> (const <a class="el" href="structdirectory_entry.html">dir_t</a> &dir, char *name)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a1f8b53aea38427dd483dfff4e9437d0c">printFatDate</a> (uint16_t fatDate)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a460b641eb358f2d6ac7a937944f9fba4">printFatDate</a> (Print *pr, uint16_t fatDate)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#af4d9cedda669bccdc8c8eeea73d04943">printFatTime</a> (Print *pr, uint16_t fatTime)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a9d7dcf89a8d3144731e59ea74a640d68">printFatTime</a> (uint16_t fatTime)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">static bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a4951400870f3f5ed8cc3f46b69388ed7">remove</a> (<a class="el" href="class_sd_base_file.html">SdBaseFile</a> *dirFile, const char *path)</td></tr>
|
|
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
|
|
Private Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a47d4ba2177ffcd99c2387f9fac182d5b">writeError</a></td></tr>
|
|
</table>
|
|
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
|
|
<div class="textblock"><p>SD file input stream. </p>
|
|
</div><hr/><h2>Member Typedef Documentation</h2>
|
|
<a class="anchor" id="ac9a54e52cef4f01ac0afd8ae896a3413"></a><!-- doxytag: member="ifstream::fmtflags" ref="ac9a54e52cef4f01ac0afd8ae896a3413" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef unsigned int <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">ios_base::fmtflags</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>type for format flags </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aef19291eeae0f072ac42c6ba1fe3033c"></a><!-- doxytag: member="ifstream::iostate" ref="aef19291eeae0f072ac42c6ba1fe3033c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef unsigned char <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">ios_base::iostate</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>typedef for iostate bitmask </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a45de7cca0d01da781f4b886179c65c22"></a><!-- doxytag: member="ifstream::off_type" ref="a45de7cca0d01da781f4b886179c65c22" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef int32_t <a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">ios_base::off_type</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>type for relative seek offset </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaa192ec0dccc43050715553a34644523"></a><!-- doxytag: member="ifstream::openmode" ref="aaa192ec0dccc43050715553a34644523" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef uint8_t <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">ios_base::openmode</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>typedef for iostream open mode </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="abe85cf1f181b8bce8022f05ab76aae7f"></a><!-- doxytag: member="ifstream::pos_type" ref="abe85cf1f181b8bce8022f05ab76aae7f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef uint32_t <a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">ios_base::pos_type</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>type for absolute seek position </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a82836e1d3cc603fba8f0b54d323a2dff"></a><!-- doxytag: member="ifstream::streamsize" ref="a82836e1d3cc603fba8f0b54d323a2dff" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">typedef uint32_t <a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">ios_base::streamsize</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>unsigned size that can represent maximum file size. (violates spec - should be signed) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Enumeration Documentation</h2>
|
|
<a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191e"></a><!-- doxytag: member="ifstream::seekdir" ref="ab01103ba35f6ba93a704b3ec0c86191e" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">enum <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">ios_base::seekdir</a><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>enumerated type for the direction of relative seeks </p>
|
|
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb"></a><!-- doxytag: member="beg" ref="ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb" args="" -->beg</em> </td><td>
|
|
<p>seek relative to the beginning of the stream </p>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c"></a><!-- doxytag: member="cur" ref="ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c" args="" -->cur</em> </td><td>
|
|
<p>seek relative to the current stream position </p>
|
|
</td></tr>
|
|
<tr><td valign="top"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811"></a><!-- doxytag: member="end" ref="ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811" args="" -->end</em> </td><td>
|
|
<p>seek relative to the end of the stream </p>
|
|
</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" id="a11f4bfaa5c37cfcf8878c367fd861a88"></a><!-- doxytag: member="ifstream::ifstream" ref="a11f4bfaa5c37cfcf8878c367fd861a88" args="(const char *path, openmode mode=in)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ifstream::ifstream </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>path</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td>
|
|
<td class="paramname"><em>mode</em> = <code><a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a></code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, explicit]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Constructor with open </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>file to open </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>open mode </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Function Documentation</h2>
|
|
<a class="anchor" id="a7daa417c60277a4a4a452df4ad0af8e6"></a><!-- doxytag: member="ifstream::bad" ref="a7daa417c60277a4a4a452df4ad0af8e6" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ios::bad </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>true if bad bit is set else false. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa49ed6670d1743e7a373b2d915ec739a"></a><!-- doxytag: member="ifstream::clear" ref="aa49ed6670d1743e7a373b2d915ec739a" args="(iostate state=goodbit)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ios::clear </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td>
|
|
<td class="paramname"><em>state</em> = <code><a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a></code></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Clear iostate bits.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The flags you want to set after clearing all flags. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Reimplemented in <a class="el" href="classfstream.html#a682b278a6a299ffb21b8737717ff12bf">fstream</a>, and <a class="el" href="classofstream.html#a09edfdb3dbda20aff105e751001313f0">ofstream</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac5892f472afdef6160f5fe2401b16dce"></a><!-- doxytag: member="ifstream::close" ref="ac5892f472afdef6160f5fe2401b16dce" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ifstream::close </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Close a file and force cached data and directory information to be written to the storage device. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_sd_base_file.html#a17f7e949aa0f80d89782d8e31f5edc15">SdBaseFile</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad2f091f3ed1a2e13f62557854c0885a7"></a><!-- doxytag: member="ifstream::eof" ref="ad2f091f3ed1a2e13f62557854c0885a7" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ios::eof </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>true if end of file has been reached else false.</dd></dl>
|
|
<p>Warning: An empty file returns false before the first read.</p>
|
|
<p>Moral: <a class="el" href="classios.html#ad2f091f3ed1a2e13f62557854c0885a7">eof()</a> is only useful in combination with <a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail()</a>, to find out whether EOF was the cause for failure </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1c7b563046a50c5a0430405964998034"></a><!-- doxytag: member="ifstream::fail" ref="a1c7b563046a50c5a0430405964998034" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ios::fail </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>true if any iostate bit other than eof are set else false. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ade5bd46462e075999c3a5c2cff2015f1"></a><!-- doxytag: member="ifstream::fill" ref="ade5bd46462e075999c3a5c2cff2015f1" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char ios_base::fill </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>fill character </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa5683f9bdf295311bd5a6d3cdc2fedd5"></a><!-- doxytag: member="ifstream::fill" ref="aa5683f9bdf295311bd5a6d3cdc2fedd5" args="(char c)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">char ios_base::fill </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Set fill character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>new fill character </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old fill character </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab5e9c7dbcbc33b7de9dcb70525ec7384"></a><!-- doxytag: member="ifstream::flags" ref="ab5e9c7dbcbc33b7de9dcb70525ec7384" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::flags </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>format flags </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae67e900dc12e4c7cbc0741ad1c70d6c2"></a><!-- doxytag: member="ifstream::flags" ref="ae67e900dc12e4c7cbc0741ad1c70d6c2" args="(fmtflags fl)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::flags </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td>
|
|
<td class="paramname"><em>fl</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>set format flags </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>new flag </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old flags </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a19ffb796cb95d3744d9bc7739939acf2"></a><!-- doxytag: member="ifstream::flagsToBase" ref="a19ffb796cb95d3744d9bc7739939acf2" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">uint8_t ios_base::flagsToBase </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, protected, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>current number base </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad2b705d2f363ed59db6ac4046f78b4bb"></a><!-- doxytag: member="ifstream::gcount" ref="ad2b705d2f363ed59db6ac4046f78b4bb" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> istream::gcount </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The number of characters extracted by the last unformatted input function. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a36573c9b7fc522e6c85a73221019fd11"></a><!-- doxytag: member="ifstream::get" ref="a36573c9b7fc522e6c85a73221019fd11" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int istream::get </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character if one is available.</p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The character or -1 if a failure occurs. A failure is indicated by the stream state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9c7313d6f21f1f7ac9b0e759e74b4db2"></a><!-- doxytag: member="ifstream::get" ref="a9c7313d6f21f1f7ac9b0e759e74b4db2" args="(char &ch)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a> & istream::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char & </td>
|
|
<td class="paramname"><em>c</em></td><td>)</td>
|
|
<td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character if one is available.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">c</td><td>location to receive the extracted character.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>always returns *this. A failure is indicated by the stream state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4247f47e388598c69ef3bd39ea4c056f"></a><!-- doxytag: member="ifstream::get" ref="a4247f47e388598c69ef3bd39ea4c056f" args="(char *str, streamsize n, char delim= '\n')" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a> & istream::get </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>str</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> </td>
|
|
<td class="paramname"><em>n</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>delim</em> = <code>'\n'</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract characters.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>Location to receive extracted characters. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Size of str. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">delim</td><td>Delimiter</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Characters are extracted until extraction fails, n is less than 1, n-1 characters are extracted, or the next character equals <em>delim</em> (delim is not extracted). If no characters are extracted failbit is set. If end-of-file occurs the eofbit is set.</p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>always returns *this. A failure is indicated by the stream state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8a12c4939d6029408b3dbe89a7595c37"></a><!-- doxytag: member="ifstream::getline" ref="a8a12c4939d6029408b3dbe89a7595c37" args="(char *str, streamsize count, char delim= '\n')" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a> & istream::getline </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>str</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> </td>
|
|
<td class="paramname"><em>n</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>delim</em> = <code>'\n'</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract characters</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>Location to receive extracted characters. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>Size of str. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">delim</td><td>Delimiter</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Characters are extracted until extraction fails, the next character equals <em>delim</em> (delim is extracted), or n-1 characters are extracted.</p>
|
|
<p>The failbit is set if no characters are extracted or n-1 characters are extracted. If end-of-file occurs the eofbit is set.</p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>always returns *this. A failure is indicated by the stream state. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5fdf9247f642a7a5c5a21323ffd45366"></a><!-- doxytag: member="ifstream::good" ref="a5fdf9247f642a7a5c5a21323ffd45366" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ios::good </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>True if no iostate flags are set else false. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a12597b03d86b66047a5581bbd26eb032"></a><!-- doxytag: member="ifstream::ignore" ref="a12597b03d86b66047a5581bbd26eb032" args="(streamsize n=1, int delim=-1)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a> & istream::ignore </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a> </td>
|
|
<td class="paramname"><em>n</em> = <code>1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>delim</em> = <code>-1</code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract characters and discard them.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>maximum number of characters to ignore. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">delim</td><td>Delimiter.</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p>Characters are extracted until extraction fails, <em>n</em> characters are extracted, or the next input character equals <em>delim</em> (the delimiter is extracted). If end-of-file occurs the eofbit is set.</p>
|
|
<p>Failures are indicated by the state of the stream.</p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>*this </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaa16c6422ea371995d02159f2e6707b2"></a><!-- doxytag: member="ifstream::is_open" ref="aaa16c6422ea371995d02159f2e6707b2" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ifstream::is_open </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>True if stream is open else false. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a169694d6535fd551fd6db48a2867590e"></a><!-- doxytag: member="ifstream::open" ref="a169694d6535fd551fd6db48a2867590e" args="(const char *path, openmode mode=in)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ifstream::open </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>path</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> </td>
|
|
<td class="paramname"><em>mode</em> = <code><a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a></code> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Open an ifstream </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>file to open </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>open mode</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<p><em>mode</em> See <a class="el" href="classfstream.html#a85b24d94552991f33caf4c3a83420879">fstream::open()</a> for valid modes. </p>
|
|
|
|
<p>Reimplemented from <a class="el" href="class_sd_base_file.html#a63854cd9c57a9910779ca22112b436e0">SdBaseFile</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8c2e7e42e31d3d7898a51c0bc837b2a3"></a><!-- doxytag: member="ifstream::operator const void *" ref="a8c2e7e42e31d3d7898a51c0bc837b2a3" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ios::operator const void * </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>null pointer if <a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail()</a> is true. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1ae2d4f1ccdfcaaef6a3a8ac9e28c267"></a><!-- doxytag: member="ifstream::operator!" ref="a1ae2d4f1ccdfcaaef6a3a8ac9e28c267" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ios::operator! </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>true if <a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail()</a> else false. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="addaf5e0f39a15cc213117165dfef0d77"></a><!-- doxytag: member="ifstream::operator>>" ref="addaf5e0f39a15cc213117165dfef0d77" args="(char &ch)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char & </td>
|
|
<td class="paramname"><em>ch</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">ch</td><td>location to store the character. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae8451bc86d83828892d9d67c67b7f02b"></a><!-- doxytag: member="ifstream::operator>>" ref="ae8451bc86d83828892d9d67c67b7f02b" args="(int &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type int. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa67d3b8ac67e2097d876a66657ec6067"></a><!-- doxytag: member="ifstream::operator>>" ref="aa67d3b8ac67e2097d876a66657ec6067" args="(istream &(*pf)(istream &str))" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classistream.html">istream</a> &(*)(<a class="el" href="classistream.html">istream</a> &str) </td>
|
|
<td class="paramname"><em>pf</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>call manipulator </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">pf</td><td>function to call </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a35c9847ebf7b822c5ec9742e9de19345"></a><!-- doxytag: member="ifstream::operator>>" ref="a35c9847ebf7b822c5ec9742e9de19345" args="(unsigned int &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type unsigned int. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a390af4d28adbdc537e436f2121d1c862"></a><!-- doxytag: member="ifstream::operator>>" ref="a390af4d28adbdc537e436f2121d1c862" args="(signed char *str)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">signed char * </td>
|
|
<td class="paramname"><em>str</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character string </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>location to store the string. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa26e7f35e74d96803bb0dfb3fb0dc154"></a><!-- doxytag: member="ifstream::operator>>" ref="aa26e7f35e74d96803bb0dfb3fb0dc154" args="(long &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">long & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type long. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5aafa4c7f6615a7f1441962b61b8ef59"></a><!-- doxytag: member="ifstream::operator>>" ref="a5aafa4c7f6615a7f1441962b61b8ef59" args="(unsigned long &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned long & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type unsigned long. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af9bf453725ce1d9ef62142a7ee38936e"></a><!-- doxytag: member="ifstream::operator>>" ref="af9bf453725ce1d9ef62142a7ee38936e" args="(double &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">double & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type double. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a49ab1a573fbf69809d19a52855a30072"></a><!-- doxytag: member="ifstream::operator>>" ref="a49ab1a573fbf69809d19a52855a30072" args="(signed char &ch)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">signed char & </td>
|
|
<td class="paramname"><em>ch</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">ch</td><td>location to store the character. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa8efce6fecab80cf7a17d5dfa31f5aa8"></a><!-- doxytag: member="ifstream::operator>>" ref="aa8efce6fecab80cf7a17d5dfa31f5aa8" args="(float &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">float & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type float. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a62ef4762feacc64a8acdcbf8f1296936"></a><!-- doxytag: member="ifstream::operator>>" ref="a62ef4762feacc64a8acdcbf8f1296936" args="(void *&arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">void *& </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type void*. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac6e2f17c80edd19deecdc20f804c424e"></a><!-- doxytag: member="ifstream::operator>>" ref="ac6e2f17c80edd19deecdc20f804c424e" args="(ios_base &(*pf)(ios_base &str))" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html">ios_base</a> &(*)(<a class="el" href="classios__base.html">ios_base</a> &str) </td>
|
|
<td class="paramname"><em>pf</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>call manipulator </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">pf</td><td>function to call </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a52e85d01198968330f20026a52cb9f72"></a><!-- doxytag: member="ifstream::operator>>" ref="a52e85d01198968330f20026a52cb9f72" args="(unsigned char *str)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char * </td>
|
|
<td class="paramname"><em>str</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character string </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>location to store the string. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a74875fcf9ccdc0dca4b46a0b66821798"></a><!-- doxytag: member="ifstream::operator>>" ref="a74875fcf9ccdc0dca4b46a0b66821798" args="(unsigned char &ch)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char & </td>
|
|
<td class="paramname"><em>ch</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">ch</td><td>location to store the character. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5a0a2c0e06abadb79951ebe34f36d62a"></a><!-- doxytag: member="ifstream::operator>>" ref="a5a0a2c0e06abadb79951ebe34f36d62a" args="(ios &(*pf)(ios &str))" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios.html">ios</a> &(*)(<a class="el" href="classios.html">ios</a> &str) </td>
|
|
<td class="paramname"><em>pf</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>call manipulator </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">pf</td><td>function to call </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3708636d095d360695e9c23335639317"></a><!-- doxytag: member="ifstream::operator>>" ref="a3708636d095d360695e9c23335639317" args="(bool &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">bool & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type bool. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a99db66d2e192f02deff0171ad098271f"></a><!-- doxytag: member="ifstream::operator>>" ref="a99db66d2e192f02deff0171ad098271f" args="(char *str)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char * </td>
|
|
<td class="paramname"><em>str</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a character string </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>location to store the string. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a662060e885a0551c390b7042b3b9e4a5"></a><!-- doxytag: member="ifstream::operator>>" ref="a662060e885a0551c390b7042b3b9e4a5" args="(short &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">short & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type short. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a31a706a374c5a594e400734b8992e2a0"></a><!-- doxytag: member="ifstream::operator>>" ref="a31a706a374c5a594e400734b8992e2a0" args="(unsigned short &arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::operator>> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned short & </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Extract a value of type unsigned short. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[out]</td><td class="paramname">arg</td><td>location to store the value. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4022265e0ede3698454f1ff59348c14a"></a><!-- doxytag: member="ifstream::peek" ref="a4022265e0ede3698454f1ff59348c14a" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int istream::peek </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Return the next available character without consuming it.</p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The character if the stream state is good else -1; </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9d36cb5a859b74e04f640d2f5e53b41d"></a><!-- doxytag: member="ifstream::precision" ref="a9d36cb5a859b74e04f640d2f5e53b41d" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int ios_base::precision </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>precision </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5b70cc65fc2c276136fea99bddedb6f0"></a><!-- doxytag: member="ifstream::precision" ref="a5b70cc65fc2c276136fea99bddedb6f0" args="(unsigned int n)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int ios_base::precision </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"><em>n</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>set precision </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>new precision </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old precision </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aacc57e1e46e23f2f54898ff6a89129a2"></a><!-- doxytag: member="ifstream::rdstate" ref="aacc57e1e46e23f2f54898ff6a89129a2" args="() const " -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios::rdstate </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const<code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>The iostate flags for this file. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a52d637b1aeca9946085a4a72e0208aec"></a><!-- doxytag: member="ifstream::seekg" ref="a52d637b1aeca9946085a4a72e0208aec" args="(pos_type pos)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::seekg </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a> </td>
|
|
<td class="paramname"><em>pos</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Set the stream position </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The absolute position in which to move the read pointer. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a60dd48a3b374fb9cbdc59e1f930dea95"></a><!-- doxytag: member="ifstream::seekg" ref="a60dd48a3b374fb9cbdc59e1f930dea95" args="(off_type off, seekdir way)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classistream.html">istream</a>& istream::seekg </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">off_type</a> </td>
|
|
<td class="paramname"><em>off</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">seekdir</a> </td>
|
|
<td class="paramname"><em>way</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Set the stream position.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">off</td><td>An offset to move the read pointer relative to way. <em>off</em> is a signed 32-bit int so the offset is limited to +- 2GB. </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">way</td><td>One of <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb">ios::beg</a>, <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c">ios::cur</a>, or <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811">ios::end</a>. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>Is always *this. Failure is indicated by the state of *this. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a74dbc93607ab7d68a87ec326b92b6c81"></a><!-- doxytag: member="ifstream::setf" ref="a74dbc93607ab7d68a87ec326b92b6c81" args="(fmtflags fl, fmtflags mask)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::setf </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td>
|
|
<td class="paramname"><em>fl</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td>
|
|
<td class="paramname"><em>mask</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>modify format flags </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">mask</td><td>flags to be removed </td></tr>
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>flags to be set after mask bits have been cleared </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old flags </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab5db835cb45bba7684ebf72d9a3cccb4"></a><!-- doxytag: member="ifstream::setf" ref="ab5db835cb45bba7684ebf72d9a3cccb4" args="(fmtflags fl)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::setf </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td>
|
|
<td class="paramname"><em>fl</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>set format flags </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>new flags to be or'ed in </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old flags </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aee5d194656bdfb0c8621b23ea2f51afb"></a><!-- doxytag: member="ifstream::setstate" ref="aee5d194656bdfb0c8621b23ea2f51afb" args="(iostate state)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ios::setstate </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> </td>
|
|
<td class="paramname"><em>state</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Set iostate bits.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>Bitts to set. </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a0f7468be86d93de5d33fa99095898279"></a><!-- doxytag: member="ifstream::skipWhite" ref="a0f7468be86d93de5d33fa99095898279" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void istream::skipWhite </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>used to implement <a class="el" href="iostream_8h.html#a8adf4c714b8c8f201dedc83ee04556b1">ws()</a> </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a18332bdcb7fbe33ca06045c786cac4c3"></a><!-- doxytag: member="ifstream::tellg" ref="a18332bdcb7fbe33ca06045c786cac4c3" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a> istream::tellg </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream position </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3bf7d054a433ed15e8b984e16f630fa4"></a><!-- doxytag: member="ifstream::unsetf" ref="a3bf7d054a433ed15e8b984e16f630fa4" args="(fmtflags fl)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ios_base::unsetf </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> </td>
|
|
<td class="paramname"><em>fl</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>clear format flags </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>flags to be cleared </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old flags </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afa30e7644b4eae5928ad9c487ad387de"></a><!-- doxytag: member="ifstream::width" ref="afa30e7644b4eae5928ad9c487ad387de" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned ios_base::width </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>width </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ab2ba0f005bbf3d8ebed93b64068492e0"></a><!-- doxytag: member="ifstream::width" ref="ab2ba0f005bbf3d8ebed93b64068492e0" args="(unsigned n)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned ios_base::width </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned </td>
|
|
<td class="paramname"><em>n</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>set width </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>new width </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>old width </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/><h2>Member Data Documentation</h2>
|
|
<a class="anchor" id="adaaf735381254aa096ebe3605e8bbd0a"></a><!-- doxytag: member="ifstream::adjustfield" ref="adaaf735381254aa096ebe3605e8bbd0a" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#adaaf735381254aa096ebe3605e8bbd0a">ios_base::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><code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>mask for adjustfield </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8380aac3c405730708888fdc68905820"></a><!-- doxytag: member="ifstream::app" ref="a8380aac3c405730708888fdc68905820" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> <a class="el" href="classios__base.html#a8380aac3c405730708888fdc68905820">ios_base::app</a> = 0X4<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>seek to end before each write </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aa434355c165500065276d955d8b36e99"></a><!-- doxytag: member="ifstream::ate" ref="aa434355c165500065276d955d8b36e99" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> <a class="el" href="classios__base.html#aa434355c165500065276d955d8b36e99">ios_base::ate</a> = 0X8<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>open and seek to end immediately after opening </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac8c2c8f2f6bc9e6ce101c20e88ebce35"></a><!-- doxytag: member="ifstream::badbit" ref="ac8c2c8f2f6bc9e6ce101c20e88ebce35" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> <a class="el" href="classios__base.html#ac8c2c8f2f6bc9e6ce101c20e88ebce35">ios_base::badbit</a> = 0X01<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>iostate bad bit for a nonrecoverable error. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a75ce5482aa207d7aa0265d138b50a102"></a><!-- doxytag: member="ifstream::basefield" ref="a75ce5482aa207d7aa0265d138b50a102" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a75ce5482aa207d7aa0265d138b50a102">ios_base::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><code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>mask for basefield </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac99947c17c2936d15243671366605602"></a><!-- doxytag: member="ifstream::binary" ref="ac99947c17c2936d15243671366605602" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> <a class="el" href="classios__base.html#ac99947c17c2936d15243671366605602">ios_base::binary</a> = 0X10<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>perform input and output in binary mode (as opposed to text mode) </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afa74acd95d4bbc7cc3551251aac2bf00"></a><!-- doxytag: member="ifstream::boolalpha" ref="afa74acd95d4bbc7cc3551251aac2bf00" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#afa74acd95d4bbc7cc3551251aac2bf00">ios_base::boolalpha</a> = 0x0100<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>use strings true/false for bool </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2826aed005e7c1f6858060cddae7971a"></a><!-- doxytag: member="ifstream::dec" ref="a2826aed005e7c1f6858060cddae7971a" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">ios_base::dec</a> = 0x0008<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>base 10 flag </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af75072b7ef2a931c77a2cb8e7ccda460"></a><!-- doxytag: member="ifstream::eofbit" ref="af75072b7ef2a931c77a2cb8e7ccda460" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> <a class="el" href="classios__base.html#af75072b7ef2a931c77a2cb8e7ccda460">ios_base::eofbit</a> = 0x02<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>iostate bit for end of file reached </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a36157154001bcce17827db6786e35efd"></a><!-- doxytag: member="ifstream::failbit" ref="a36157154001bcce17827db6786e35efd" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> <a class="el" href="classios__base.html#a36157154001bcce17827db6786e35efd">ios_base::failbit</a> = 0X04<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>iostate fail bit for nonfatal error </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a07a00996a6e525b88bdfe7935d5ead05"></a><!-- doxytag: member="ifstream::goodbit" ref="a07a00996a6e525b88bdfe7935d5ead05" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> <a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">ios_base::goodbit</a> = 0x00<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>iostate for no flags </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a3608e51eb0a80ea94ddadd5b713a3750"></a><!-- doxytag: member="ifstream::hex" ref="a3608e51eb0a80ea94ddadd5b713a3750" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">ios_base::hex</a> = 0x0010<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>base 16 flag </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae5432e3c269064480652c4602f5f74ad"></a><!-- doxytag: member="ifstream::in" ref="ae5432e3c269064480652c4602f5f74ad" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> <a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">ios_base::in</a> = 0X20<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>open for input </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="afc720b7f6f461ec8e9cf5505059e5d7c"></a><!-- doxytag: member="ifstream::internal" ref="afc720b7f6f461ec8e9cf5505059e5d7c" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">ios_base::internal</a> = 0x0004<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>fill between sign/base prefix and number </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad364df9af2cfde1f40bd8e10c62bb215"></a><!-- doxytag: member="ifstream::left" ref="ad364df9af2cfde1f40bd8e10c62bb215" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">ios_base::left</a> = 0x0001<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>left adjust fields </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4155540f8d3ffdb8d25a2f50ee4df08f"></a><!-- doxytag: member="ifstream::oct" ref="a4155540f8d3ffdb8d25a2f50ee4df08f" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">ios_base::oct</a> = 0x0020<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>base 8 flag </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4c1d517774c0d11af3424e90395f26ae"></a><!-- doxytag: member="ifstream::out" ref="a4c1d517774c0d11af3424e90395f26ae" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> <a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">ios_base::out</a> = 0X40<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>open for output </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aec064a12730b5d87e718c1864e29ac64"></a><!-- doxytag: member="ifstream::right" ref="aec064a12730b5d87e718c1864e29ac64" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">ios_base::right</a> = 0x0002<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>right adjust fields </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7e3373ab307feecfc228bc9bdb29cd01"></a><!-- doxytag: member="ifstream::showbase" ref="a7e3373ab307feecfc228bc9bdb29cd01" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a7e3373ab307feecfc228bc9bdb29cd01">ios_base::showbase</a> = 0x0200<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>use prefix 0X for hex and 0 for oct </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac9bb172682e157f037bd7fb82a236ee6"></a><!-- doxytag: member="ifstream::showpoint" ref="ac9bb172682e157f037bd7fb82a236ee6" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#ac9bb172682e157f037bd7fb82a236ee6">ios_base::showpoint</a> = 0x0400<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>always show '.' for floating numbers </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a7bfa4a883933105d10f8ce2693cb9f21"></a><!-- doxytag: member="ifstream::showpos" ref="a7bfa4a883933105d10f8ce2693cb9f21" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a7bfa4a883933105d10f8ce2693cb9f21">ios_base::showpos</a> = 0x0800<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>show + sign for nonnegative numbers </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a64977c777d6e45826d1be9763f17f824"></a><!-- doxytag: member="ifstream::skipws" ref="a64977c777d6e45826d1be9763f17f824" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#a64977c777d6e45826d1be9763f17f824">ios_base::skipws</a> = 0x1000<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>skip initial white space </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ae62b8972f37509819e1384214071194b"></a><!-- doxytag: member="ifstream::trunc" ref="ae62b8972f37509819e1384214071194b" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> <a class="el" href="classios__base.html#ae62b8972f37509819e1384214071194b">ios_base::trunc</a> = 0X80<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>truncate an existing stream when opening </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ade3db1fe3249e87f4c47a9a8916793d9"></a><!-- doxytag: member="ifstream::uppercase" ref="ade3db1fe3249e87f4c47a9a8916793d9" args="" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> <a class="el" href="classios__base.html#ade3db1fe3249e87f4c47a9a8916793d9">ios_base::uppercase</a> = 0x4000<code> [static, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>use uppercase letters in number representations </p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li>Arduino/libraries/SdFat/<a class="el" href="_sd_stream_8h.html">SdStream.h</a></li>
|
|
</ul>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>Generated on Thu Feb 7 2013 12:51:21 for SdFat by 
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
|
|
</body>
|
|
</html>
|