1872 lines
110 KiB
HTML
1872 lines
110 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: ofstream 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">ofstream Class Reference</div> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- doxytag: class="ofstream" --><!-- doxytag: inherits="ostream,SdStreamBase" -->
|
|
<p>SD card output stream.
|
|
<a href="classofstream.html#details">More...</a></p>
|
|
|
|
<p><code>#include <SdStream.h></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for ofstream:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classofstream__inherit__graph.png" border="0" usemap="#ofstream_inherit__map" alt="Inheritance graph"/></div>
|
|
<map name="ofstream_inherit__map" id="ofstream_inherit__map">
|
|
<area shape="rect" id="node2" href="classostream.html" title="Output Stream." alt="" coords="136,155,205,181"/>
|
|
<area shape="rect" id="node4" href="classios.html" title="Error and state information for all streams." alt="" coords="138,80,176,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="121,5,193,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 ofstream:</div>
|
|
<div class="dyncontent">
|
|
<div class="center"><img src="classofstream__coll__graph.png" border="0" usemap="#ofstream_coll__map" alt="Collaboration graph"/></div>
|
|
<map name="ofstream_coll__map" id="ofstream_coll__map">
|
|
<area shape="rect" id="node2" href="classostream.html" title="Output Stream." alt="" coords="437,445,507,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="307,445,413,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="classofstream-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="classofstream.html#a09edfdb3dbda20aff105e751001313f0">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="classofstream.html#a240f3752c7ff7a78d10c143d2083715f">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="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#af6be1f30d824f5a65d27d5b5d20b8c6c">flush</a> ()</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">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classofstream.html#a9c97eb2eb6e35ae87cf7f7453a67e70a">is_open</a> ()</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classofstream.html#ae8a8145adf2cfe1f948ad482ed504b75">ofstream</a> (const char *path, <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">ios::openmode</a> mode=<a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">out</a>)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classofstream.html#a4b9d30c742fbe01baa336406c7afdcb2">open</a> (const char *path, <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> mode=<a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">out</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="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a8065697d56d5e5d1a0ca50c1916b4955">operator<<</a> (double arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#af52c607ea168aff1025222c62cad392f">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="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a6c68e418e19d9dcdfe6b1790b2621666">operator<<</a> (float arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a227c47e2b631f29d8873b00290bb4872">operator<<</a> (short arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a63e3999be154253cf92a45c22e548f51">operator<<</a> (bool arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#ace10a3a767dc55faff2cec71cd0a89b1">operator<<</a> (unsigned short arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a62488f7ce7822c777ea27d15223b8e5f">operator<<</a> (int arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a618b5d6861dde2347847102b89e0ccfa">operator<<</a> (const char *arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a99ee8d9265d9354f197d02a3d17116be">operator<<</a> (const __FlashStringHelper *arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#ad31df6cd88c7248c01808e40889a7907">operator<<</a> (unsigned int arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#aebe24ff723b806cbee19deb2165d0a5b">operator<<</a> (const signed char *arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a15db9977ed82e503bd3cd1f585acf9e6">operator<<</a> (long arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#aaedd44fefa48cf3f0967fcd699a2909d">operator<<</a> (unsigned long arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#ac0cf68ffa4706994f47acb1fa37c601a">operator<<</a> (const unsigned char *arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a2a8febd7c07f078120dd69bb71f25a94">operator<<</a> (const void *arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#aac12b0ae1c8fde7a74278536d41d00f0">operator<<</a> (<a class="el" href="structpgm.html">pgm</a> arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a1d1e11d2fadaf4c9e34194a1f28572e4">operator<<</a> (char arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a4dfc0cdb38bced959ba7cf963db38c30">operator<<</a> (<a class="el" href="classostream.html">ostream</a> &(*pf)(<a class="el" href="classostream.html">ostream</a> &str))</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#ad06f8c6c47667e9c7b14620882c09434">operator<<</a> (signed char arg)</td></tr>
|
|
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a69912ec4a8536f289b716e95953d09d7">operator<<</a> (unsigned char arg)</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="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a11aad8a1efd284ccfa91cbfb78d089bd">put</a> (char ch)</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="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a18b453d2770a8852c312cbda919c4687">seekp</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="classostream.html">ostream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#af6265a5be29237517b30673667ba4213">seekp</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#ab5db835cb45bba7684ebf72d9a3cccb4">setf</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#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">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"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classostream.html#a92dec0e2bc8352df1419d1cdc434e619">tellp</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#afa30e7644b4eae5928ad9c487ad387de">width</a> ()</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 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 card output stream. </p>
|
|
</div><hr/><h2>Member Typedef Documentation</h2>
|
|
<a class="anchor" id="ac9a54e52cef4f01ac0afd8ae896a3413"></a><!-- doxytag: member="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ae8a8145adf2cfe1f948ad482ed504b75"></a><!-- doxytag: member="ofstream::ofstream" ref="ae8a8145adf2cfe1f948ad482ed504b75" args="(const char *path, ios::openmode mode=out)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">ofstream::ofstream </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">ios::openmode</a> </td>
|
|
<td class="paramname"><em>mode</em> = <code><a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">out</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="ofstream::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="a09edfdb3dbda20aff105e751001313f0"></a><!-- doxytag: member="ofstream::clear" ref="a09edfdb3dbda20aff105e751001313f0" args="(iostate state=goodbit)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ofstream::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]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Clear state and writeError </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>new state for stream </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
|
|
<p>Reimplemented from <a class="el" href="classios.html#aa49ed6670d1743e7a373b2d915ec739a">ios</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a240f3752c7ff7a78d10c143d2083715f"></a><!-- doxytag: member="ofstream::close" ref="a240f3752c7ff7a78d10c143d2083715f" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="af6be1f30d824f5a65d27d5b5d20b8c6c"></a><!-- doxytag: member="ofstream::flush" ref="af6be1f30d824f5a65d27d5b5d20b8c6c" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::flush </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Flushes the buffer associated with this stream. The flush function calls the sync function of the associated file. </p>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the ostream object. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a5fdf9247f642a7a5c5a21323ffd45366"></a><!-- doxytag: member="ofstream::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="a9c97eb2eb6e35ae87cf7f7453a67e70a"></a><!-- doxytag: member="ofstream::is_open" ref="a9c97eb2eb6e35ae87cf7f7453a67e70a" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool ofstream::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="a4b9d30c742fbe01baa336406c7afdcb2"></a><!-- doxytag: member="ofstream::open" ref="a4b9d30c742fbe01baa336406c7afdcb2" args="(const char *path, openmode mode=out)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void ofstream::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#a4c1d517774c0d11af3424e90395f26ae">out</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 ofstream </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="ofstream::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="ofstream::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="a99ee8d9265d9354f197d02a3d17116be"></a><!-- doxytag: member="ofstream::operator<<" ref="a99ee8d9265d9354f197d02a3d17116be" args="(const __FlashStringHelper *arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const __FlashStringHelper * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output a string from flash using the Arduino F() macro. </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>pointing to flash string </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a618b5d6861dde2347847102b89e0ccfa"></a><!-- doxytag: member="ofstream::operator<<" ref="a618b5d6861dde2347847102b89e0ccfa" args="(const char *arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output string </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>string to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a227c47e2b631f29d8873b00290bb4872"></a><!-- doxytag: member="ofstream::operator<<" ref="a227c47e2b631f29d8873b00290bb4872" args="(short arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output signed short </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a63e3999be154253cf92a45c22e548f51"></a><!-- doxytag: member="ofstream::operator<<" ref="a63e3999be154253cf92a45c22e548f51" args="(bool arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output bool </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ace10a3a767dc55faff2cec71cd0a89b1"></a><!-- doxytag: member="ofstream::operator<<" ref="ace10a3a767dc55faff2cec71cd0a89b1" args="(unsigned short arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output unsigned short </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aebe24ff723b806cbee19deb2165d0a5b"></a><!-- doxytag: member="ofstream::operator<<" ref="aebe24ff723b806cbee19deb2165d0a5b" args="(const signed char *arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const signed char * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output string </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>string to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a62488f7ce7822c777ea27d15223b8e5f"></a><!-- doxytag: member="ofstream::operator<<" ref="a62488f7ce7822c777ea27d15223b8e5f" args="(int arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output signed int </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad31df6cd88c7248c01808e40889a7907"></a><!-- doxytag: member="ofstream::operator<<" ref="ad31df6cd88c7248c01808e40889a7907" args="(unsigned int arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output unsigned int </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a4dfc0cdb38bced959ba7cf963db38c30"></a><!-- doxytag: member="ofstream::operator<<" ref="a4dfc0cdb38bced959ba7cf963db38c30" args="(ostream &(*pf)(ostream &str))" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classostream.html">ostream</a> &(*)(<a class="el" href="classostream.html">ostream</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="a15db9977ed82e503bd3cd1f585acf9e6"></a><!-- doxytag: member="ofstream::operator<<" ref="a15db9977ed82e503bd3cd1f585acf9e6" args="(long arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output signed long </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ac0cf68ffa4706994f47acb1fa37c601a"></a><!-- doxytag: member="ofstream::operator<<" ref="ac0cf68ffa4706994f47acb1fa37c601a" args="(const unsigned char *arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const unsigned char * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output string </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>string to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aac12b0ae1c8fde7a74278536d41d00f0"></a><!-- doxytag: member="ofstream::operator<<" ref="aac12b0ae1c8fde7a74278536d41d00f0" args="(pgm arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="structpgm.html">pgm</a> </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output a string from flash using the <a class="el" href="ostream_8h.html#a6b22520ca86ac25bf7bfb7cd497afd54">pstr()</a> macro </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>pgm struct pointing to string </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aaedd44fefa48cf3f0967fcd699a2909d"></a><!-- doxytag: member="ofstream::operator<<" ref="aaedd44fefa48cf3f0967fcd699a2909d" args="(unsigned long arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output unsigned long </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a1d1e11d2fadaf4c9e34194a1f28572e4"></a><!-- doxytag: member="ofstream::operator<<" ref="a1d1e11d2fadaf4c9e34194a1f28572e4" args="(char arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">char </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>character to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a2a8febd7c07f078120dd69bb71f25a94"></a><!-- doxytag: member="ofstream::operator<<" ref="a2a8febd7c07f078120dd69bb71f25a94" args="(const void *arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const void * </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output pointer </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="ad06f8c6c47667e9c7b14620882c09434"></a><!-- doxytag: member="ofstream::operator<<" ref="ad06f8c6c47667e9c7b14620882c09434" args="(signed char arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">signed char </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>character to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="af52c607ea168aff1025222c62cad392f"></a><!-- doxytag: member="ofstream::operator<<" ref="af52c607ea168aff1025222c62cad392f" args="(ios_base &(*pf)(ios_base &str))" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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="a69912ec4a8536f289b716e95953d09d7"></a><!-- doxytag: member="ofstream::operator<<" ref="a69912ec4a8536f289b716e95953d09d7" args="(unsigned char arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::operator<< </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned char </td>
|
|
<td class="paramname"><em>arg</em></td><td>)</td>
|
|
<td><code> [inline, inherited]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
<p>Output character </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>character to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a8065697d56d5e5d1a0ca50c1916b4955"></a><!-- doxytag: member="ofstream::operator<<" ref="a8065697d56d5e5d1a0ca50c1916b4955" args="(double arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output double </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a6c68e418e19d9dcdfe6b1790b2621666"></a><!-- doxytag: member="ofstream::operator<<" ref="a6c68e418e19d9dcdfe6b1790b2621666" args="(float arg)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::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>Output float </p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">arg</td><td>value to output </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>the stream </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="a9d36cb5a859b74e04f640d2f5e53b41d"></a><!-- doxytag: member="ofstream::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="ofstream::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="a11aad8a1efd284ccfa91cbfb78d089bd"></a><!-- doxytag: member="ofstream::put" ref="a11aad8a1efd284ccfa91cbfb78d089bd" args="(char ch)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::put </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>Puts a character in a stream.</p>
|
|
<p>The unformatted output function inserts the element <em>ch</em>. It returns *this.</p>
|
|
<dl><dt><b>Parameters:</b></dt><dd>
|
|
<table class="params">
|
|
<tr><td class="paramdir">[in]</td><td class="paramname">ch</td><td>The character </td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the ostream object. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a class="anchor" id="aacc57e1e46e23f2f54898ff6a89129a2"></a><!-- doxytag: member="ofstream::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="af6265a5be29237517b30673667ba4213"></a><!-- doxytag: member="ofstream::seekp" ref="af6265a5be29237517b30673667ba4213" args="(off_type off, seekdir way)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::seekp </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 write 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="a18b453d2770a8852c312cbda919c4687"></a><!-- doxytag: member="ofstream::seekp" ref="a18b453d2770a8852c312cbda919c4687" args="(pos_type pos)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classostream.html">ostream</a>& ostream::seekp </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 write 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="a74dbc93607ab7d68a87ec326b92b6c81"></a><!-- doxytag: member="ofstream::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="ofstream::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="ofstream::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="a92dec0e2bc8352df1419d1cdc434e619"></a><!-- doxytag: member="ofstream::tellp" ref="a92dec0e2bc8352df1419d1cdc434e619" 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> ostream::tellp </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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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="ofstream::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:22 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>
|