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

class_sd_stream_base.html 179KB

10 vuotta sitten
10 vuotta sitten
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.6"/>
  7. <title>SdFat: SdStreamBase Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <div id="titlearea">
  16. <table cellspacing="0" cellpadding="0">
  17. <tbody>
  18. <tr style="height: 56px;">
  19. <td style="padding-left: 0.5em;">
  20. <div id="projectname">SdFat
  21. </div>
  22. </td>
  23. </tr>
  24. </tbody>
  25. </table>
  26. </div>
  27. <!-- end header part -->
  28. <!-- Generated by Doxygen 1.8.6 -->
  29. <div id="navrow1" class="tabs">
  30. <ul class="tablist">
  31. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  32. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  33. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  34. <li><a href="files.html"><span>Files</span></a></li>
  35. </ul>
  36. </div>
  37. <div id="navrow2" class="tabs2">
  38. <ul class="tablist">
  39. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  40. <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
  41. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  42. </ul>
  43. </div>
  44. </div><!-- top -->
  45. <div class="header">
  46. <div class="summary">
  47. <a href="#pub-types">Public Types</a> &#124;
  48. <a href="#pub-methods">Public Member Functions</a> &#124;
  49. <a href="#pub-static-attribs">Static Public Attributes</a> &#124;
  50. <a href="#pro-methods">Protected Member Functions</a> &#124;
  51. <a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
  52. <a href="#pro-attribs">Protected Attributes</a> &#124;
  53. <a href="class_sd_stream_base-members.html">List of all members</a> </div>
  54. <div class="headertitle">
  55. <div class="title">SdStreamBase Class Reference</div> </div>
  56. </div><!--header-->
  57. <div class="contents">
  58. <p>Base class for SD streams.
  59. <a href="class_sd_stream_base.html#details">More...</a></p>
  60. <p><code>#include &lt;SdStream.h&gt;</code></p>
  61. <div class="dynheader">
  62. Inheritance diagram for SdStreamBase:</div>
  63. <div class="dyncontent">
  64. <div class="center"><img src="class_sd_stream_base__inherit__graph.png" border="0" usemap="#_sd_stream_base_inherit__map" alt="Inheritance graph"/></div>
  65. <map name="_sd_stream_base_inherit__map" id="_sd_stream_base_inherit__map">
  66. <area shape="rect" id="node9" href="classfstream.html" title="SD file input/output stream. " alt="" coords="5,229,69,256"/> <area shape="rect" id="node11" href="classifstream.html" title="SD file input stream. " alt="" coords="94,229,161,256"/> <area shape="rect" id="node13" href="classofstream.html" title="SD card output stream. " alt="" coords="187,229,259,256"/> <area shape="rect" id="node2" href="class_sd_base_file.html" title="Base class for SdFile with Print and C++ streams. " alt="" coords="39,80,128,107"/> <area shape="rect" id="node4" href="classios.html" title="Error and state information for all streams. " alt="" coords="153,80,191,107"/> <area shape="rect" id="node6" href="classios__base.html" title="Base class for all streams. " alt="" coords="135,5,209,32"/> </map>
  67. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  68. <div class="dynheader">
  69. Collaboration diagram for SdStreamBase:</div>
  70. <div class="dyncontent">
  71. <div class="center"><img src="class_sd_stream_base__coll__graph.png" border="0" usemap="#_sd_stream_base_coll__map" alt="Collaboration graph"/></div>
  72. <map name="_sd_stream_base_coll__map" id="_sd_stream_base_coll__map">
  73. <area shape="rect" id="node2" href="class_sd_base_file.html" title="Base class for SdFile with Print and C++ streams. " alt="" coords="5,80,93,107"/> <area shape="rect" id="node4" href="classios.html" title="Error and state information for all streams. " alt="" coords="118,80,156,107"/> <area shape="rect" id="node6" href="classios__base.html" title="Base class for all streams. " alt="" coords="100,5,175,32"/> </map>
  74. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  75. <table class="memberdecls">
  76. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
  77. Public Types</h2></td></tr>
  78. <tr class="memitem:ac9a54e52cef4f01ac0afd8ae896a3413"><td class="memItemLeft" align="right" valign="top">typedef unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a></td></tr>
  79. <tr class="separator:ac9a54e52cef4f01ac0afd8ae896a3413"><td class="memSeparator" colspan="2">&#160;</td></tr>
  80. <tr class="memitem:aef19291eeae0f072ac42c6ba1fe3033c"><td class="memItemLeft" align="right" valign="top">typedef unsigned char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a></td></tr>
  81. <tr class="separator:aef19291eeae0f072ac42c6ba1fe3033c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  82. <tr class="memitem:a45de7cca0d01da781f4b886179c65c22"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">off_type</a></td></tr>
  83. <tr class="separator:a45de7cca0d01da781f4b886179c65c22"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:aaa192ec0dccc43050715553a34644523"><td class="memItemLeft" align="right" valign="top">typedef uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a></td></tr>
  85. <tr class="separator:aaa192ec0dccc43050715553a34644523"><td class="memSeparator" colspan="2">&#160;</td></tr>
  86. <tr class="memitem:abe85cf1f181b8bce8022f05ab76aae7f"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">pos_type</a></td></tr>
  87. <tr class="separator:abe85cf1f181b8bce8022f05ab76aae7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  88. <tr class="memitem:ab01103ba35f6ba93a704b3ec0c86191e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">seekdir</a> { <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb">beg</a>,
  89. <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c">cur</a>,
  90. <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811">end</a>
  91. }</td></tr>
  92. <tr class="separator:ab01103ba35f6ba93a704b3ec0c86191e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  93. <tr class="memitem:a82836e1d3cc603fba8f0b54d323a2dff"><td class="memItemLeft" align="right" valign="top">typedef uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">streamsize</a></td></tr>
  94. <tr class="separator:a82836e1d3cc603fba8f0b54d323a2dff"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. </table><table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  97. Public Member Functions</h2></td></tr>
  98. <tr class="memitem:a7daa417c60277a4a4a452df4ad0af8e6"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a7daa417c60277a4a4a452df4ad0af8e6">bad</a> () const </td></tr>
  99. <tr class="separator:a7daa417c60277a4a4a452df4ad0af8e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  100. <tr class="memitem:aa49ed6670d1743e7a373b2d915ec739a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#aa49ed6670d1743e7a373b2d915ec739a">clear</a> (<a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> state=<a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a>)</td></tr>
  101. <tr class="separator:aa49ed6670d1743e7a373b2d915ec739a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  102. <tr class="memitem:ad2f091f3ed1a2e13f62557854c0885a7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#ad2f091f3ed1a2e13f62557854c0885a7">eof</a> () const </td></tr>
  103. <tr class="separator:ad2f091f3ed1a2e13f62557854c0885a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a1c7b563046a50c5a0430405964998034"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail</a> () const </td></tr>
  105. <tr class="separator:a1c7b563046a50c5a0430405964998034"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:ade5bd46462e075999c3a5c2cff2015f1"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ade5bd46462e075999c3a5c2cff2015f1">fill</a> ()</td></tr>
  107. <tr class="separator:ade5bd46462e075999c3a5c2cff2015f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:aa5683f9bdf295311bd5a6d3cdc2fedd5"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aa5683f9bdf295311bd5a6d3cdc2fedd5">fill</a> (char c)</td></tr>
  109. <tr class="separator:aa5683f9bdf295311bd5a6d3cdc2fedd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:ab5e9c7dbcbc33b7de9dcb70525ec7384"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab5e9c7dbcbc33b7de9dcb70525ec7384">flags</a> () const </td></tr>
  111. <tr class="separator:ab5e9c7dbcbc33b7de9dcb70525ec7384"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:ae67e900dc12e4c7cbc0741ad1c70d6c2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae67e900dc12e4c7cbc0741ad1c70d6c2">flags</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl)</td></tr>
  113. <tr class="separator:ae67e900dc12e4c7cbc0741ad1c70d6c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:a5fdf9247f642a7a5c5a21323ffd45366"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a5fdf9247f642a7a5c5a21323ffd45366">good</a> () const </td></tr>
  115. <tr class="separator:a5fdf9247f642a7a5c5a21323ffd45366"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a8c2e7e42e31d3d7898a51c0bc837b2a3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a8c2e7e42e31d3d7898a51c0bc837b2a3">operator const void *</a> () const </td></tr>
  117. <tr class="separator:a8c2e7e42e31d3d7898a51c0bc837b2a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a1ae2d4f1ccdfcaaef6a3a8ac9e28c267"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#a1ae2d4f1ccdfcaaef6a3a8ac9e28c267">operator!</a> () const </td></tr>
  119. <tr class="separator:a1ae2d4f1ccdfcaaef6a3a8ac9e28c267"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a9d36cb5a859b74e04f640d2f5e53b41d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a9d36cb5a859b74e04f640d2f5e53b41d">precision</a> () const </td></tr>
  121. <tr class="separator:a9d36cb5a859b74e04f640d2f5e53b41d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a5b70cc65fc2c276136fea99bddedb6f0"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a5b70cc65fc2c276136fea99bddedb6f0">precision</a> (unsigned int n)</td></tr>
  123. <tr class="separator:a5b70cc65fc2c276136fea99bddedb6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:aacc57e1e46e23f2f54898ff6a89129a2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios.html#aacc57e1e46e23f2f54898ff6a89129a2">rdstate</a> () const </td></tr>
  125. <tr class="separator:aacc57e1e46e23f2f54898ff6a89129a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:ab5db835cb45bba7684ebf72d9a3cccb4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab5db835cb45bba7684ebf72d9a3cccb4">setf</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl)</td></tr>
  127. <tr class="separator:ab5db835cb45bba7684ebf72d9a3cccb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a74dbc93607ab7d68a87ec326b92b6c81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a74dbc93607ab7d68a87ec326b92b6c81">setf</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl, <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> mask)</td></tr>
  129. <tr class="separator:a74dbc93607ab7d68a87ec326b92b6c81"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:aee5d194656bdfb0c8621b23ea2f51afb"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  131. <tr class="separator:aee5d194656bdfb0c8621b23ea2f51afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a3bf7d054a433ed15e8b984e16f630fa4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a3bf7d054a433ed15e8b984e16f630fa4">unsetf</a> (<a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> fl)</td></tr>
  133. <tr class="separator:a3bf7d054a433ed15e8b984e16f630fa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:afa30e7644b4eae5928ad9c487ad387de"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afa30e7644b4eae5928ad9c487ad387de">width</a> ()</td></tr>
  135. <tr class="separator:afa30e7644b4eae5928ad9c487ad387de"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:ab2ba0f005bbf3d8ebed93b64068492e0"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ab2ba0f005bbf3d8ebed93b64068492e0">width</a> (unsigned n)</td></tr>
  137. <tr class="separator:ab2ba0f005bbf3d8ebed93b64068492e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. </table><table class="memberdecls">
  139. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
  140. Static Public Attributes</h2></td></tr>
  141. <tr class="memitem:adaaf735381254aa096ebe3605e8bbd0a"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#adaaf735381254aa096ebe3605e8bbd0a">adjustfield</a> = <a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> | <a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> | <a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a></td></tr>
  142. <tr class="separator:adaaf735381254aa096ebe3605e8bbd0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:a8380aac3c405730708888fdc68905820"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a8380aac3c405730708888fdc68905820">app</a> = 0X4</td></tr>
  144. <tr class="separator:a8380aac3c405730708888fdc68905820"><td class="memSeparator" colspan="2">&#160;</td></tr>
  145. <tr class="memitem:aa434355c165500065276d955d8b36e99"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aa434355c165500065276d955d8b36e99">ate</a> = 0X8</td></tr>
  146. <tr class="separator:aa434355c165500065276d955d8b36e99"><td class="memSeparator" colspan="2">&#160;</td></tr>
  147. <tr class="memitem:ac8c2c8f2f6bc9e6ce101c20e88ebce35"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac8c2c8f2f6bc9e6ce101c20e88ebce35">badbit</a> = 0X01</td></tr>
  148. <tr class="separator:ac8c2c8f2f6bc9e6ce101c20e88ebce35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:a75ce5482aa207d7aa0265d138b50a102"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a75ce5482aa207d7aa0265d138b50a102">basefield</a> = <a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> | <a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> | <a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a></td></tr>
  150. <tr class="separator:a75ce5482aa207d7aa0265d138b50a102"><td class="memSeparator" colspan="2">&#160;</td></tr>
  151. <tr class="memitem:ac99947c17c2936d15243671366605602"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac99947c17c2936d15243671366605602">binary</a> = 0X10</td></tr>
  152. <tr class="separator:ac99947c17c2936d15243671366605602"><td class="memSeparator" colspan="2">&#160;</td></tr>
  153. <tr class="memitem:afa74acd95d4bbc7cc3551251aac2bf00"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afa74acd95d4bbc7cc3551251aac2bf00">boolalpha</a> = 0x0100</td></tr>
  154. <tr class="separator:afa74acd95d4bbc7cc3551251aac2bf00"><td class="memSeparator" colspan="2">&#160;</td></tr>
  155. <tr class="memitem:a2826aed005e7c1f6858060cddae7971a"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> = 0x0008</td></tr>
  156. <tr class="separator:a2826aed005e7c1f6858060cddae7971a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  157. <tr class="memitem:af75072b7ef2a931c77a2cb8e7ccda460"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#af75072b7ef2a931c77a2cb8e7ccda460">eofbit</a> = 0x02</td></tr>
  158. <tr class="separator:af75072b7ef2a931c77a2cb8e7ccda460"><td class="memSeparator" colspan="2">&#160;</td></tr>
  159. <tr class="memitem:a36157154001bcce17827db6786e35efd"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a36157154001bcce17827db6786e35efd">failbit</a> = 0X04</td></tr>
  160. <tr class="separator:a36157154001bcce17827db6786e35efd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  161. <tr class="memitem:a07a00996a6e525b88bdfe7935d5ead05"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a> = 0x00</td></tr>
  162. <tr class="separator:a07a00996a6e525b88bdfe7935d5ead05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  163. <tr class="memitem:a3608e51eb0a80ea94ddadd5b713a3750"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> = 0x0010</td></tr>
  164. <tr class="separator:a3608e51eb0a80ea94ddadd5b713a3750"><td class="memSeparator" colspan="2">&#160;</td></tr>
  165. <tr class="memitem:ae5432e3c269064480652c4602f5f74ad"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae5432e3c269064480652c4602f5f74ad">in</a> = 0X20</td></tr>
  166. <tr class="separator:ae5432e3c269064480652c4602f5f74ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
  167. <tr class="memitem:afc720b7f6f461ec8e9cf5505059e5d7c"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a> = 0x0004</td></tr>
  168. <tr class="separator:afc720b7f6f461ec8e9cf5505059e5d7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  169. <tr class="memitem:ad364df9af2cfde1f40bd8e10c62bb215"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> = 0x0001</td></tr>
  170. <tr class="separator:ad364df9af2cfde1f40bd8e10c62bb215"><td class="memSeparator" colspan="2">&#160;</td></tr>
  171. <tr class="memitem:a4155540f8d3ffdb8d25a2f50ee4df08f"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a> = 0x0020</td></tr>
  172. <tr class="separator:a4155540f8d3ffdb8d25a2f50ee4df08f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  173. <tr class="memitem:a4c1d517774c0d11af3424e90395f26ae"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a4c1d517774c0d11af3424e90395f26ae">out</a> = 0X40</td></tr>
  174. <tr class="separator:a4c1d517774c0d11af3424e90395f26ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
  175. <tr class="memitem:aec064a12730b5d87e718c1864e29ac64"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> = 0x0002</td></tr>
  176. <tr class="separator:aec064a12730b5d87e718c1864e29ac64"><td class="memSeparator" colspan="2">&#160;</td></tr>
  177. <tr class="memitem:a7e3373ab307feecfc228bc9bdb29cd01"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a7e3373ab307feecfc228bc9bdb29cd01">showbase</a> = 0x0200</td></tr>
  178. <tr class="separator:a7e3373ab307feecfc228bc9bdb29cd01"><td class="memSeparator" colspan="2">&#160;</td></tr>
  179. <tr class="memitem:ac9bb172682e157f037bd7fb82a236ee6"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ac9bb172682e157f037bd7fb82a236ee6">showpoint</a> = 0x0400</td></tr>
  180. <tr class="separator:ac9bb172682e157f037bd7fb82a236ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  181. <tr class="memitem:a7bfa4a883933105d10f8ce2693cb9f21"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a7bfa4a883933105d10f8ce2693cb9f21">showpos</a> = 0x0800</td></tr>
  182. <tr class="separator:a7bfa4a883933105d10f8ce2693cb9f21"><td class="memSeparator" colspan="2">&#160;</td></tr>
  183. <tr class="memitem:a64977c777d6e45826d1be9763f17f824"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a64977c777d6e45826d1be9763f17f824">skipws</a> = 0x1000</td></tr>
  184. <tr class="separator:a64977c777d6e45826d1be9763f17f824"><td class="memSeparator" colspan="2">&#160;</td></tr>
  185. <tr class="memitem:ae62b8972f37509819e1384214071194b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ae62b8972f37509819e1384214071194b">trunc</a> = 0X80</td></tr>
  186. <tr class="separator:ae62b8972f37509819e1384214071194b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  187. <tr class="memitem:ade3db1fe3249e87f4c47a9a8916793d9"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#ade3db1fe3249e87f4c47a9a8916793d9">uppercase</a> = 0x4000</td></tr>
  188. <tr class="separator:ade3db1fe3249e87f4c47a9a8916793d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  189. </table><table class="memberdecls">
  190. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
  191. Protected Member Functions</h2></td></tr>
  192. <tr class="memitem:ac4381fe633716069f2161d9e9fef5d16"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ac4381fe633716069f2161d9e9fef5d16">available</a> ()</td></tr>
  193. <tr class="separator:ac4381fe633716069f2161d9e9fef5d16"><td class="memSeparator" colspan="2">&#160;</td></tr>
  194. <tr class="memitem:a6b4e639ae03ec48c9becd8b472aa1b50"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6b4e639ae03ec48c9becd8b472aa1b50">clearWriteError</a> ()</td></tr>
  195. <tr class="separator:a6b4e639ae03ec48c9becd8b472aa1b50"><td class="memSeparator" colspan="2">&#160;</td></tr>
  196. <tr class="memitem:a17f7e949aa0f80d89782d8e31f5edc15"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a17f7e949aa0f80d89782d8e31f5edc15">close</a> ()</td></tr>
  197. <tr class="separator:a17f7e949aa0f80d89782d8e31f5edc15"><td class="memSeparator" colspan="2">&#160;</td></tr>
  198. <tr class="memitem:a272c68ba97eb5452ce903e6f8d2895a6"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  199. <tr class="separator:a272c68ba97eb5452ce903e6f8d2895a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  200. <tr class="memitem:ad14a78d348219d6ce096582b6ed74526"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  201. <tr class="separator:ad14a78d348219d6ce096582b6ed74526"><td class="memSeparator" colspan="2">&#160;</td></tr>
  202. <tr class="memitem:afd2ed78a03600924ef6502a86d7c6291"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#afd2ed78a03600924ef6502a86d7c6291">curCluster</a> () const </td></tr>
  203. <tr class="separator:afd2ed78a03600924ef6502a86d7c6291"><td class="memSeparator" colspan="2">&#160;</td></tr>
  204. <tr class="memitem:a9739ca25a7c804cace68f95c14658c44"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a9739ca25a7c804cace68f95c14658c44">curPosition</a> () const </td></tr>
  205. <tr class="separator:a9739ca25a7c804cace68f95c14658c44"><td class="memSeparator" colspan="2">&#160;</td></tr>
  206. <tr class="memitem:a0977fc620f90e21897eca1fb1c25fdce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a0977fc620f90e21897eca1fb1c25fdce">dirEntry</a> (dir_t *dir)</td></tr>
  207. <tr class="separator:a0977fc620f90e21897eca1fb1c25fdce"><td class="memSeparator" colspan="2">&#160;</td></tr>
  208. <tr class="memitem:aa0b95ccc568d483f1416d2eacd1ff3f7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aa0b95ccc568d483f1416d2eacd1ff3f7">exists</a> (const char *name)</td></tr>
  209. <tr class="separator:aa0b95ccc568d483f1416d2eacd1ff3f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  210. <tr class="memitem:a41de4f35c622c1a5f5699400e8d05a87"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</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>
  211. <tr class="separator:a41de4f35c622c1a5f5699400e8d05a87"><td class="memSeparator" colspan="2">&#160;</td></tr>
  212. <tr class="memitem:a32ac452756fdf80aae75fb1ab093a421"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a32ac452756fdf80aae75fb1ab093a421">fileSize</a> () const </td></tr>
  213. <tr class="separator:a32ac452756fdf80aae75fb1ab093a421"><td class="memSeparator" colspan="2">&#160;</td></tr>
  214. <tr class="memitem:adca5f8fce7851f9b7abc92cb73e49e35"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#adca5f8fce7851f9b7abc92cb73e49e35">firstCluster</a> () const </td></tr>
  215. <tr class="separator:adca5f8fce7851f9b7abc92cb73e49e35"><td class="memSeparator" colspan="2">&#160;</td></tr>
  216. <tr class="memitem:a19ffb796cb95d3744d9bc7739939acf2"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classios__base.html#a19ffb796cb95d3744d9bc7739939acf2">flagsToBase</a> ()</td></tr>
  217. <tr class="separator:a19ffb796cb95d3744d9bc7739939acf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  218. <tr class="memitem:a2e84ccce858fd7e4d88e26b23d19a822"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a2e84ccce858fd7e4d88e26b23d19a822">getFilename</a> (char *name)</td></tr>
  219. <tr class="separator:a2e84ccce858fd7e4d88e26b23d19a822"><td class="memSeparator" colspan="2">&#160;</td></tr>
  220. <tr class="memitem:ad1af089e5cf0a4c86e9b6bae1595f59b"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  221. <tr class="separator:ad1af089e5cf0a4c86e9b6bae1595f59b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  222. <tr class="memitem:aa8ebd3ec28126c3171059d3e7dd355b9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aa8ebd3ec28126c3171059d3e7dd355b9">getWriteError</a> ()</td></tr>
  223. <tr class="separator:aa8ebd3ec28126c3171059d3e7dd355b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  224. <tr class="memitem:ad43ed061a1f77578d3c30a0f9b198497"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad43ed061a1f77578d3c30a0f9b198497">isDir</a> () const </td></tr>
  225. <tr class="separator:ad43ed061a1f77578d3c30a0f9b198497"><td class="memSeparator" colspan="2">&#160;</td></tr>
  226. <tr class="memitem:ab57b9744531ee0fcfa18bebde9fc50db"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ab57b9744531ee0fcfa18bebde9fc50db">isFile</a> () const </td></tr>
  227. <tr class="separator:ab57b9744531ee0fcfa18bebde9fc50db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  228. <tr class="memitem:a0fb6e697de39cdb777744981f58eaaa8"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a0fb6e697de39cdb777744981f58eaaa8">isOpen</a> () const </td></tr>
  229. <tr class="separator:a0fb6e697de39cdb777744981f58eaaa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  230. <tr class="memitem:ad1fcdcb6c1cb66207d243584e6049095"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ad1fcdcb6c1cb66207d243584e6049095">isRoot</a> () const </td></tr>
  231. <tr class="separator:ad1fcdcb6c1cb66207d243584e6049095"><td class="memSeparator" colspan="2">&#160;</td></tr>
  232. <tr class="memitem:a50023837ddbc57b10098d3a7cd5856f7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a50023837ddbc57b10098d3a7cd5856f7">isSubDir</a> () const </td></tr>
  233. <tr class="separator:a50023837ddbc57b10098d3a7cd5856f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  234. <tr class="memitem:ae94a6672e77325d91cf2ae7077f4c785"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ae94a6672e77325d91cf2ae7077f4c785">ls</a> (Print *pr, uint8_t <a class="el" href="classios__base.html#ab5e9c7dbcbc33b7de9dcb70525ec7384">flags</a>=0, uint8_t indent=0)</td></tr>
  235. <tr class="separator:ae94a6672e77325d91cf2ae7077f4c785"><td class="memSeparator" colspan="2">&#160;</td></tr>
  236. <tr class="memitem:a925b3badddc0f9472730a4ccd4ff7b67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a925b3badddc0f9472730a4ccd4ff7b67">ls</a> (uint8_t <a class="el" href="classios__base.html#ab5e9c7dbcbc33b7de9dcb70525ec7384">flags</a>=0)</td></tr>
  237. <tr class="separator:a925b3badddc0f9472730a4ccd4ff7b67"><td class="memSeparator" colspan="2">&#160;</td></tr>
  238. <tr class="memitem:ad1de34e5dc5b3a1727208f949b5838e9"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  239. <tr class="separator:ad1de34e5dc5b3a1727208f949b5838e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  240. <tr class="memitem:a6ff5b48f672515ec20831583de74407f"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  241. <tr class="separator:a6ff5b48f672515ec20831583de74407f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  242. <tr class="memitem:a4b88be0d893bcada9b203bdd33fff8e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  243. <tr class="separator:a4b88be0d893bcada9b203bdd33fff8e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  244. <tr class="memitem:a63854cd9c57a9910779ca22112b436e0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a63854cd9c57a9910779ca22112b436e0">open</a> (const char *path, uint8_t oflag=O_READ)</td></tr>
  245. <tr class="separator:a63854cd9c57a9910779ca22112b436e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  246. <tr class="memitem:aee4c736345e96aa5ddb7e5768ce88f51"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  247. <tr class="separator:aee4c736345e96aa5ddb7e5768ce88f51"><td class="memSeparator" colspan="2">&#160;</td></tr>
  248. <tr class="memitem:ac67ffdfb84263bcd425886c09a15e287"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  249. <tr class="separator:ac67ffdfb84263bcd425886c09a15e287"><td class="memSeparator" colspan="2">&#160;</td></tr>
  250. <tr class="memitem:a996abee868ce928d04d9d0ad9305c915"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a996abee868ce928d04d9d0ad9305c915">peek</a> ()</td></tr>
  251. <tr class="separator:a996abee868ce928d04d9d0ad9305c915"><td class="memSeparator" colspan="2">&#160;</td></tr>
  252. <tr class="memitem:afe2fd8314f3a6c0e06ff178f730efe07"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#afe2fd8314f3a6c0e06ff178f730efe07">printCreateDateTime</a> (Print *pr)</td></tr>
  253. <tr class="separator:afe2fd8314f3a6c0e06ff178f730efe07"><td class="memSeparator" colspan="2">&#160;</td></tr>
  254. <tr class="memitem:aeb099d29e90975736f79fe54a31936b9"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#aeb099d29e90975736f79fe54a31936b9">printField</a> (float value, char term, uint8_t prec=2)</td></tr>
  255. <tr class="separator:aeb099d29e90975736f79fe54a31936b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  256. <tr class="memitem:a8fcc3db8e05121c739d8d43ee40fec72"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  257. <tr class="separator:a8fcc3db8e05121c739d8d43ee40fec72"><td class="memSeparator" colspan="2">&#160;</td></tr>
  258. <tr class="memitem:a71050abe5bed8e44f48ae75627b54c63"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  259. <tr class="separator:a71050abe5bed8e44f48ae75627b54c63"><td class="memSeparator" colspan="2">&#160;</td></tr>
  260. <tr class="memitem:a770817e273c68fb830f9f029c39fc41c"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  261. <tr class="separator:a770817e273c68fb830f9f029c39fc41c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  262. <tr class="memitem:a27146777c4d215cb5887edab4b4599b0"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  263. <tr class="separator:a27146777c4d215cb5887edab4b4599b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  264. <tr class="memitem:a0591fd1f5abc8d02547451eacd08e804"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a0591fd1f5abc8d02547451eacd08e804">printFileSize</a> (Print *pr)</td></tr>
  265. <tr class="separator:a0591fd1f5abc8d02547451eacd08e804"><td class="memSeparator" colspan="2">&#160;</td></tr>
  266. <tr class="memitem:a65604a3450e69799f2969b6a145647dc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a65604a3450e69799f2969b6a145647dc">printModifyDateTime</a> (Print *pr)</td></tr>
  267. <tr class="separator:a65604a3450e69799f2969b6a145647dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  268. <tr class="memitem:add1a682e60aa3d8c030805122d5aa4e3"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#add1a682e60aa3d8c030805122d5aa4e3">printName</a> ()</td></tr>
  269. <tr class="separator:add1a682e60aa3d8c030805122d5aa4e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  270. <tr class="memitem:a942e26db2e764fccaeefea0fb371864d"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a942e26db2e764fccaeefea0fb371864d">printName</a> (Print *pr)</td></tr>
  271. <tr class="separator:a942e26db2e764fccaeefea0fb371864d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  272. <tr class="memitem:a145595e55db1629fa126ffa2628fe9eb"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a145595e55db1629fa126ffa2628fe9eb">read</a> ()</td></tr>
  273. <tr class="separator:a145595e55db1629fa126ffa2628fe9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  274. <tr class="memitem:aa70609890c15df7c49d65b07d1161a3f"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  275. <tr class="separator:aa70609890c15df7c49d65b07d1161a3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  276. <tr class="memitem:ae5dd9c5f9764db71c90c5fcfb02b2c97"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ae5dd9c5f9764db71c90c5fcfb02b2c97">readDir</a> (dir_t *dir)</td></tr>
  277. <tr class="separator:ae5dd9c5f9764db71c90c5fcfb02b2c97"><td class="memSeparator" colspan="2">&#160;</td></tr>
  278. <tr class="memitem:a6e88ee210c9bd7556477c0e7ba4de1bb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6e88ee210c9bd7556477c0e7ba4de1bb">remove</a> ()</td></tr>
  279. <tr class="separator:a6e88ee210c9bd7556477c0e7ba4de1bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  280. <tr class="memitem:ad6e9f07c62add23dfe0338bdd0bf2d40"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  281. <tr class="separator:ad6e9f07c62add23dfe0338bdd0bf2d40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  282. <tr class="memitem:a7a5369b40eb15ad26c2e4af5d069c52c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a7a5369b40eb15ad26c2e4af5d069c52c">rewind</a> ()</td></tr>
  283. <tr class="separator:a7a5369b40eb15ad26c2e4af5d069c52c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  284. <tr class="memitem:a7268834187e8216605963f8ae3cf1e6e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a7268834187e8216605963f8ae3cf1e6e">rmdir</a> ()</td></tr>
  285. <tr class="separator:a7268834187e8216605963f8ae3cf1e6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  286. <tr class="memitem:a4186ba79c83005971096966c0fd02d46"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a4186ba79c83005971096966c0fd02d46">rmRfStar</a> ()</td></tr>
  287. <tr class="separator:a4186ba79c83005971096966c0fd02d46"><td class="memSeparator" colspan="2">&#160;</td></tr>
  288. <tr class="memitem:ab04ec7e129607973f6e3436f779b6501"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#ab04ec7e129607973f6e3436f779b6501">seekCur</a> (int32_t offset)</td></tr>
  289. <tr class="separator:ab04ec7e129607973f6e3436f779b6501"><td class="memSeparator" colspan="2">&#160;</td></tr>
  290. <tr class="memitem:a6f42e496b179dbdd2c09083cfad28613"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a6f42e496b179dbdd2c09083cfad28613">seekEnd</a> (int32_t offset=0)</td></tr>
  291. <tr class="separator:a6f42e496b179dbdd2c09083cfad28613"><td class="memSeparator" colspan="2">&#160;</td></tr>
  292. <tr class="memitem:afe6aeaf0ca7573ceb8bb335c802dab16"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet</a> (uint32_t pos)</td></tr>
  293. <tr class="separator:afe6aeaf0ca7573ceb8bb335c802dab16"><td class="memSeparator" colspan="2">&#160;</td></tr>
  294. <tr class="memitem:a71170390855df02c88cbda6e727e9609"><td class="memItemLeft" align="right" valign="top">void&#160;</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>
  295. <tr class="separator:a71170390855df02c88cbda6e727e9609"><td class="memSeparator" colspan="2">&#160;</td></tr>
  296. <tr class="memitem:a292247972772be832f2c6ea166f4049a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync</a> ()</td></tr>
  297. <tr class="separator:a292247972772be832f2c6ea166f4049a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  298. <tr class="memitem:adf84a0487f3b45fc183756b9d17141cd"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  299. <tr class="separator:adf84a0487f3b45fc183756b9d17141cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  300. <tr class="memitem:ae55ad6000c44fc73e15934381b305dc4"><td class="memItemLeft" align="right" valign="top">bool&#160;</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>
  301. <tr class="separator:ae55ad6000c44fc73e15934381b305dc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  302. <tr class="memitem:a9d1ad1abbd90089f731de81de1708c19"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a9d1ad1abbd90089f731de81de1708c19">truncate</a> (uint32_t size)</td></tr>
  303. <tr class="separator:a9d1ad1abbd90089f731de81de1708c19"><td class="memSeparator" colspan="2">&#160;</td></tr>
  304. <tr class="memitem:a1555e6866abc9c867c5fff189a3a4317"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a1555e6866abc9c867c5fff189a3a4317">type</a> () const </td></tr>
  305. <tr class="separator:a1555e6866abc9c867c5fff189a3a4317"><td class="memSeparator" colspan="2">&#160;</td></tr>
  306. <tr class="memitem:acb021c2b7f68778d683d093775532a06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sd_volume.html">SdVolume</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#acb021c2b7f68778d683d093775532a06">volume</a> () const </td></tr>
  307. <tr class="separator:acb021c2b7f68778d683d093775532a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
  308. <tr class="memitem:a874e3bae567f96bed5ad442beb846a61"><td class="memItemLeft" align="right" valign="top">int&#160;</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>
  309. <tr class="separator:a874e3bae567f96bed5ad442beb846a61"><td class="memSeparator" colspan="2">&#160;</td></tr>
  310. </table><table class="memberdecls">
  311. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
  312. Static Protected Member Functions</h2></td></tr>
  313. <tr class="memitem:a56b9402969b3348c97b413750226f955"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a56b9402969b3348c97b413750226f955">cwd</a> ()</td></tr>
  314. <tr class="separator:a56b9402969b3348c97b413750226f955"><td class="memSeparator" colspan="2">&#160;</td></tr>
  315. <tr class="memitem:a1664a62726dcd7ff82c12d724b3b34df"><td class="memItemLeft" align="right" valign="top">static void&#160;</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>
  316. <tr class="separator:a1664a62726dcd7ff82c12d724b3b34df"><td class="memSeparator" colspan="2">&#160;</td></tr>
  317. <tr class="memitem:a04e3e7829c56a6b11df8df0051a49ef9"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a04e3e7829c56a6b11df8df0051a49ef9">dateTimeCallbackCancel</a> ()</td></tr>
  318. <tr class="separator:a04e3e7829c56a6b11df8df0051a49ef9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  319. <tr class="memitem:a8fdbf7893bf19793e772b340e4c08fed"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a8fdbf7893bf19793e772b340e4c08fed">dirName</a> (const dir_t &amp;dir, char *name)</td></tr>
  320. <tr class="separator:a8fdbf7893bf19793e772b340e4c08fed"><td class="memSeparator" colspan="2">&#160;</td></tr>
  321. <tr class="memitem:a1f8b53aea38427dd483dfff4e9437d0c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a1f8b53aea38427dd483dfff4e9437d0c">printFatDate</a> (uint16_t fatDate)</td></tr>
  322. <tr class="separator:a1f8b53aea38427dd483dfff4e9437d0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  323. <tr class="memitem:a460b641eb358f2d6ac7a937944f9fba4"><td class="memItemLeft" align="right" valign="top">static void&#160;</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>
  324. <tr class="separator:a460b641eb358f2d6ac7a937944f9fba4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  325. <tr class="memitem:a9d7dcf89a8d3144731e59ea74a640d68"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a9d7dcf89a8d3144731e59ea74a640d68">printFatTime</a> (uint16_t fatTime)</td></tr>
  326. <tr class="separator:a9d7dcf89a8d3144731e59ea74a640d68"><td class="memSeparator" colspan="2">&#160;</td></tr>
  327. <tr class="memitem:af4d9cedda669bccdc8c8eeea73d04943"><td class="memItemLeft" align="right" valign="top">static void&#160;</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>
  328. <tr class="separator:af4d9cedda669bccdc8c8eeea73d04943"><td class="memSeparator" colspan="2">&#160;</td></tr>
  329. <tr class="memitem:a4951400870f3f5ed8cc3f46b69388ed7"><td class="memItemLeft" align="right" valign="top">static bool&#160;</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>
  330. <tr class="separator:a4951400870f3f5ed8cc3f46b69388ed7"><td class="memSeparator" colspan="2">&#160;</td></tr>
  331. </table><table class="memberdecls">
  332. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
  333. Protected Attributes</h2></td></tr>
  334. <tr class="memitem:a47d4ba2177ffcd99c2387f9fac182d5b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sd_base_file.html#a47d4ba2177ffcd99c2387f9fac182d5b">writeError</a></td></tr>
  335. <tr class="separator:a47d4ba2177ffcd99c2387f9fac182d5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  336. </table>
  337. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  338. <div class="textblock"><p>Base class for SD streams. </p>
  339. </div><h2 class="groupheader">Member Typedef Documentation</h2>
  340. <a class="anchor" id="ac9a54e52cef4f01ac0afd8ae896a3413"></a>
  341. <div class="memitem">
  342. <div class="memproto">
  343. <table class="mlabels">
  344. <tr>
  345. <td class="mlabels-left">
  346. <table class="memname">
  347. <tr>
  348. <td class="memname">typedef unsigned int <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">ios_base::fmtflags</a></td>
  349. </tr>
  350. </table>
  351. </td>
  352. <td class="mlabels-right">
  353. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  354. </tr>
  355. </table>
  356. </div><div class="memdoc">
  357. <p>type for format flags </p>
  358. </div>
  359. </div>
  360. <a class="anchor" id="aef19291eeae0f072ac42c6ba1fe3033c"></a>
  361. <div class="memitem">
  362. <div class="memproto">
  363. <table class="mlabels">
  364. <tr>
  365. <td class="mlabels-left">
  366. <table class="memname">
  367. <tr>
  368. <td class="memname">typedef unsigned char <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">ios_base::iostate</a></td>
  369. </tr>
  370. </table>
  371. </td>
  372. <td class="mlabels-right">
  373. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  374. </tr>
  375. </table>
  376. </div><div class="memdoc">
  377. <p>typedef for iostate bitmask </p>
  378. </div>
  379. </div>
  380. <a class="anchor" id="a45de7cca0d01da781f4b886179c65c22"></a>
  381. <div class="memitem">
  382. <div class="memproto">
  383. <table class="mlabels">
  384. <tr>
  385. <td class="mlabels-left">
  386. <table class="memname">
  387. <tr>
  388. <td class="memname">typedef int32_t <a class="el" href="classios__base.html#a45de7cca0d01da781f4b886179c65c22">ios_base::off_type</a></td>
  389. </tr>
  390. </table>
  391. </td>
  392. <td class="mlabels-right">
  393. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  394. </tr>
  395. </table>
  396. </div><div class="memdoc">
  397. <p>type for relative seek offset </p>
  398. </div>
  399. </div>
  400. <a class="anchor" id="aaa192ec0dccc43050715553a34644523"></a>
  401. <div class="memitem">
  402. <div class="memproto">
  403. <table class="mlabels">
  404. <tr>
  405. <td class="mlabels-left">
  406. <table class="memname">
  407. <tr>
  408. <td class="memname">typedef uint8_t <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">ios_base::openmode</a></td>
  409. </tr>
  410. </table>
  411. </td>
  412. <td class="mlabels-right">
  413. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  414. </tr>
  415. </table>
  416. </div><div class="memdoc">
  417. <p>typedef for iostream open mode </p>
  418. </div>
  419. </div>
  420. <a class="anchor" id="abe85cf1f181b8bce8022f05ab76aae7f"></a>
  421. <div class="memitem">
  422. <div class="memproto">
  423. <table class="mlabels">
  424. <tr>
  425. <td class="mlabels-left">
  426. <table class="memname">
  427. <tr>
  428. <td class="memname">typedef uint32_t <a class="el" href="classios__base.html#abe85cf1f181b8bce8022f05ab76aae7f">ios_base::pos_type</a></td>
  429. </tr>
  430. </table>
  431. </td>
  432. <td class="mlabels-right">
  433. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  434. </tr>
  435. </table>
  436. </div><div class="memdoc">
  437. <p>type for absolute seek position </p>
  438. </div>
  439. </div>
  440. <a class="anchor" id="a82836e1d3cc603fba8f0b54d323a2dff"></a>
  441. <div class="memitem">
  442. <div class="memproto">
  443. <table class="mlabels">
  444. <tr>
  445. <td class="mlabels-left">
  446. <table class="memname">
  447. <tr>
  448. <td class="memname">typedef uint32_t <a class="el" href="classios__base.html#a82836e1d3cc603fba8f0b54d323a2dff">ios_base::streamsize</a></td>
  449. </tr>
  450. </table>
  451. </td>
  452. <td class="mlabels-right">
  453. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  454. </tr>
  455. </table>
  456. </div><div class="memdoc">
  457. <p>unsigned size that can represent maximum file size. (violates spec - should be signed) </p>
  458. </div>
  459. </div>
  460. <h2 class="groupheader">Member Enumeration Documentation</h2>
  461. <a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191e"></a>
  462. <div class="memitem">
  463. <div class="memproto">
  464. <table class="mlabels">
  465. <tr>
  466. <td class="mlabels-left">
  467. <table class="memname">
  468. <tr>
  469. <td class="memname">enum <a class="el" href="classios__base.html#ab01103ba35f6ba93a704b3ec0c86191e">ios_base::seekdir</a></td>
  470. </tr>
  471. </table>
  472. </td>
  473. <td class="mlabels-right">
  474. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  475. </tr>
  476. </table>
  477. </div><div class="memdoc">
  478. <p>enumerated type for the direction of relative seeks </p>
  479. <table class="fieldtable">
  480. <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191ea6639b4dd9e9b57ffef4a176cd1a1e7bb"></a>beg</em>&#160;</td><td class="fielddoc">
  481. <p>seek relative to the beginning of the stream </p>
  482. </td></tr>
  483. <tr><td class="fieldname"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191ea53910041525b9e2f33bfc3bb4482134c"></a>cur</em>&#160;</td><td class="fielddoc">
  484. <p>seek relative to the current stream position </p>
  485. </td></tr>
  486. <tr><td class="fieldname"><em><a class="anchor" id="ab01103ba35f6ba93a704b3ec0c86191eaae47c0ae984e90b38907783a1a804811"></a>end</em>&#160;</td><td class="fielddoc">
  487. <p>seek relative to the end of the stream </p>
  488. </td></tr>
  489. </table>
  490. </div>
  491. </div>
  492. <h2 class="groupheader">Member Function Documentation</h2>
  493. <a class="anchor" id="ac4381fe633716069f2161d9e9fef5d16"></a>
  494. <div class="memitem">
  495. <div class="memproto">
  496. <table class="mlabels">
  497. <tr>
  498. <td class="mlabels-left">
  499. <table class="memname">
  500. <tr>
  501. <td class="memname">uint32_t SdBaseFile::available </td>
  502. <td>(</td>
  503. <td class="paramname"></td><td>)</td>
  504. <td></td>
  505. </tr>
  506. </table>
  507. </td>
  508. <td class="mlabels-right">
  509. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  510. </tr>
  511. </table>
  512. </div><div class="memdoc">
  513. <dl class="section return"><dt>Returns</dt><dd>number of bytes available from yhe current position to EOF </dd></dl>
  514. </div>
  515. </div>
  516. <a class="anchor" id="a7daa417c60277a4a4a452df4ad0af8e6"></a>
  517. <div class="memitem">
  518. <div class="memproto">
  519. <table class="mlabels">
  520. <tr>
  521. <td class="mlabels-left">
  522. <table class="memname">
  523. <tr>
  524. <td class="memname">bool ios::bad </td>
  525. <td>(</td>
  526. <td class="paramname"></td><td>)</td>
  527. <td> const</td>
  528. </tr>
  529. </table>
  530. </td>
  531. <td class="mlabels-right">
  532. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  533. </tr>
  534. </table>
  535. </div><div class="memdoc">
  536. <dl class="section return"><dt>Returns</dt><dd>true if bad bit is set else false. </dd></dl>
  537. </div>
  538. </div>
  539. <a class="anchor" id="aa49ed6670d1743e7a373b2d915ec739a"></a>
  540. <div class="memitem">
  541. <div class="memproto">
  542. <table class="mlabels">
  543. <tr>
  544. <td class="mlabels-left">
  545. <table class="memname">
  546. <tr>
  547. <td class="memname">void ios::clear </td>
  548. <td>(</td>
  549. <td class="paramtype"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td>
  550. <td class="paramname"><em>state</em> = <code><a class="el" href="classios__base.html#a07a00996a6e525b88bdfe7935d5ead05">goodbit</a></code></td><td>)</td>
  551. <td></td>
  552. </tr>
  553. </table>
  554. </td>
  555. <td class="mlabels-right">
  556. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  557. </tr>
  558. </table>
  559. </div><div class="memdoc">
  560. <p>Clear iostate bits.</p>
  561. <dl class="params"><dt>Parameters</dt><dd>
  562. <table class="params">
  563. <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The flags you want to set after clearing all flags. </td></tr>
  564. </table>
  565. </dd>
  566. </dl>
  567. </div>
  568. </div>
  569. <a class="anchor" id="a6b4e639ae03ec48c9becd8b472aa1b50"></a>
  570. <div class="memitem">
  571. <div class="memproto">
  572. <table class="mlabels">
  573. <tr>
  574. <td class="mlabels-left">
  575. <table class="memname">
  576. <tr>
  577. <td class="memname">void SdBaseFile::clearWriteError </td>
  578. <td>(</td>
  579. <td class="paramname"></td><td>)</td>
  580. <td></td>
  581. </tr>
  582. </table>
  583. </td>
  584. <td class="mlabels-right">
  585. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  586. </tr>
  587. </table>
  588. </div><div class="memdoc">
  589. <p>Set writeError to zero </p>
  590. </div>
  591. </div>
  592. <a class="anchor" id="a17f7e949aa0f80d89782d8e31f5edc15"></a>
  593. <div class="memitem">
  594. <div class="memproto">
  595. <table class="mlabels">
  596. <tr>
  597. <td class="mlabels-left">
  598. <table class="memname">
  599. <tr>
  600. <td class="memname">bool SdBaseFile::close </td>
  601. <td>(</td>
  602. <td class="paramname"></td><td>)</td>
  603. <td></td>
  604. </tr>
  605. </table>
  606. </td>
  607. <td class="mlabels-right">
  608. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  609. </tr>
  610. </table>
  611. </div><div class="memdoc">
  612. <p>Close a file and force cached data and directory information to be written to the storage device.</p>
  613. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include no file is open or an I/O error. </dd></dl>
  614. </div>
  615. </div>
  616. <a class="anchor" id="a272c68ba97eb5452ce903e6f8d2895a6"></a>
  617. <div class="memitem">
  618. <div class="memproto">
  619. <table class="mlabels">
  620. <tr>
  621. <td class="mlabels-left">
  622. <table class="memname">
  623. <tr>
  624. <td class="memname">bool SdBaseFile::contiguousRange </td>
  625. <td>(</td>
  626. <td class="paramtype">uint32_t *&#160;</td>
  627. <td class="paramname"><em>bgnBlock</em>, </td>
  628. </tr>
  629. <tr>
  630. <td class="paramkey"></td>
  631. <td></td>
  632. <td class="paramtype">uint32_t *&#160;</td>
  633. <td class="paramname"><em>endBlock</em>&#160;</td>
  634. </tr>
  635. <tr>
  636. <td></td>
  637. <td>)</td>
  638. <td></td><td></td>
  639. </tr>
  640. </table>
  641. </td>
  642. <td class="mlabels-right">
  643. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  644. </tr>
  645. </table>
  646. </div><div class="memdoc">
  647. <p>Check for contiguous file and return its raw block range.</p>
  648. <dl class="params"><dt>Parameters</dt><dd>
  649. <table class="params">
  650. <tr><td class="paramdir">[out]</td><td class="paramname">bgnBlock</td><td>the first block address for the file. </td></tr>
  651. <tr><td class="paramdir">[out]</td><td class="paramname">endBlock</td><td>the last block address for the file.</td></tr>
  652. </table>
  653. </dd>
  654. </dl>
  655. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include file is not contiguous, file has zero length or an I/O error occurred. </dd></dl>
  656. </div>
  657. </div>
  658. <a class="anchor" id="ad14a78d348219d6ce096582b6ed74526"></a>
  659. <div class="memitem">
  660. <div class="memproto">
  661. <table class="mlabels">
  662. <tr>
  663. <td class="mlabels-left">
  664. <table class="memname">
  665. <tr>
  666. <td class="memname">bool SdBaseFile::createContiguous </td>
  667. <td>(</td>
  668. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  669. <td class="paramname"><em>dirFile</em>, </td>
  670. </tr>
  671. <tr>
  672. <td class="paramkey"></td>
  673. <td></td>
  674. <td class="paramtype">const char *&#160;</td>
  675. <td class="paramname"><em>path</em>, </td>
  676. </tr>
  677. <tr>
  678. <td class="paramkey"></td>
  679. <td></td>
  680. <td class="paramtype">uint32_t&#160;</td>
  681. <td class="paramname"><em>size</em>&#160;</td>
  682. </tr>
  683. <tr>
  684. <td></td>
  685. <td>)</td>
  686. <td></td><td></td>
  687. </tr>
  688. </table>
  689. </td>
  690. <td class="mlabels-right">
  691. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  692. </tr>
  693. </table>
  694. </div><div class="memdoc">
  695. <p>Create and open a new contiguous file of a specified size.</p>
  696. <dl class="section note"><dt>Note</dt><dd>This function only supports short DOS 8.3 names. See <a class="el" href="class_sd_base_file.html#a6ff5b48f672515ec20831583de74407f">open()</a> for more information.</dd></dl>
  697. <dl class="params"><dt>Parameters</dt><dd>
  698. <table class="params">
  699. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>The directory where the file will be created. </td></tr>
  700. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid DOS 8.3 file name. </td></tr>
  701. <tr><td class="paramdir">[in]</td><td class="paramname">size</td><td>The desired file size.</td></tr>
  702. </table>
  703. </dd>
  704. </dl>
  705. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include <em>path</em> contains an invalid DOS 8.3 file name, the FAT volume has not been initialized, a file is already open, the file already exists, the root directory is full or an I/O error. </dd></dl>
  706. </div>
  707. </div>
  708. <a class="anchor" id="afd2ed78a03600924ef6502a86d7c6291"></a>
  709. <div class="memitem">
  710. <div class="memproto">
  711. <table class="mlabels">
  712. <tr>
  713. <td class="mlabels-left">
  714. <table class="memname">
  715. <tr>
  716. <td class="memname">uint32_t SdBaseFile::curCluster </td>
  717. <td>(</td>
  718. <td class="paramname"></td><td>)</td>
  719. <td> const</td>
  720. </tr>
  721. </table>
  722. </td>
  723. <td class="mlabels-right">
  724. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  725. </tr>
  726. </table>
  727. </div><div class="memdoc">
  728. <dl class="section return"><dt>Returns</dt><dd>The current cluster number for a file or directory. </dd></dl>
  729. </div>
  730. </div>
  731. <a class="anchor" id="a9739ca25a7c804cace68f95c14658c44"></a>
  732. <div class="memitem">
  733. <div class="memproto">
  734. <table class="mlabels">
  735. <tr>
  736. <td class="mlabels-left">
  737. <table class="memname">
  738. <tr>
  739. <td class="memname">uint32_t SdBaseFile::curPosition </td>
  740. <td>(</td>
  741. <td class="paramname"></td><td>)</td>
  742. <td> const</td>
  743. </tr>
  744. </table>
  745. </td>
  746. <td class="mlabels-right">
  747. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  748. </tr>
  749. </table>
  750. </div><div class="memdoc">
  751. <dl class="section return"><dt>Returns</dt><dd>The current position for a file or directory. </dd></dl>
  752. </div>
  753. </div>
  754. <a class="anchor" id="a56b9402969b3348c97b413750226f955"></a>
  755. <div class="memitem">
  756. <div class="memproto">
  757. <table class="mlabels">
  758. <tr>
  759. <td class="mlabels-left">
  760. <table class="memname">
  761. <tr>
  762. <td class="memname">static <a class="el" href="class_sd_base_file.html">SdBaseFile</a>* SdBaseFile::cwd </td>
  763. <td>(</td>
  764. <td class="paramname"></td><td>)</td>
  765. <td></td>
  766. </tr>
  767. </table>
  768. </td>
  769. <td class="mlabels-right">
  770. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  771. </tr>
  772. </table>
  773. </div><div class="memdoc">
  774. <dl class="section return"><dt>Returns</dt><dd>Current working directory </dd></dl>
  775. </div>
  776. </div>
  777. <a class="anchor" id="a1664a62726dcd7ff82c12d724b3b34df"></a>
  778. <div class="memitem">
  779. <div class="memproto">
  780. <table class="mlabels">
  781. <tr>
  782. <td class="mlabels-left">
  783. <table class="memname">
  784. <tr>
  785. <td class="memname">static void SdBaseFile::dateTimeCallback </td>
  786. <td>(</td>
  787. <td class="paramtype">void(*)(uint16_t *date, uint16_t *time)&#160;</td>
  788. <td class="paramname"><em>dateTime</em></td><td>)</td>
  789. <td></td>
  790. </tr>
  791. </table>
  792. </td>
  793. <td class="mlabels-right">
  794. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  795. </tr>
  796. </table>
  797. </div><div class="memdoc">
  798. <p>Set the date/time callback function</p>
  799. <dl class="params"><dt>Parameters</dt><dd>
  800. <table class="params">
  801. <tr><td class="paramdir">[in]</td><td class="paramname">dateTime</td><td>The user's call back function. The callback function is of the form:</td></tr>
  802. </table>
  803. </dd>
  804. </dl>
  805. <div class="fragment"><div class="line"><span class="keywordtype">void</span> dateTime(uint16_t* date, uint16_t* time) {</div>
  806. <div class="line"> uint16_t year;</div>
  807. <div class="line"> uint8_t month, day, hour, minute, second;</div>
  808. <div class="line"></div>
  809. <div class="line"> <span class="comment">// User gets date and time from GPS or real-time clock here</span></div>
  810. <div class="line"></div>
  811. <div class="line"> <span class="comment">// return date using FAT_DATE macro to format fields</span></div>
  812. <div class="line"> *date = FAT_DATE(year, month, day);</div>
  813. <div class="line"></div>
  814. <div class="line"> <span class="comment">// return time using FAT_TIME macro to format fields</span></div>
  815. <div class="line"> *time = FAT_TIME(hour, minute, second);</div>
  816. <div class="line">}</div>
  817. </div><!-- fragment --><p>Sets the function that is called when a file is created or when a file's directory entry is modified by <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a>. All timestamps, access, creation, and modify, are set when a file is created. <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a> maintains the last access date and last modify date/time.</p>
  818. <p>See the <a class="el" href="class_sd_base_file.html#adf84a0487f3b45fc183756b9d17141cd">timestamp()</a> function. </p>
  819. </div>
  820. </div>
  821. <a class="anchor" id="a04e3e7829c56a6b11df8df0051a49ef9"></a>
  822. <div class="memitem">
  823. <div class="memproto">
  824. <table class="mlabels">
  825. <tr>
  826. <td class="mlabels-left">
  827. <table class="memname">
  828. <tr>
  829. <td class="memname">static void SdBaseFile::dateTimeCallbackCancel </td>
  830. <td>(</td>
  831. <td class="paramname"></td><td>)</td>
  832. <td></td>
  833. </tr>
  834. </table>
  835. </td>
  836. <td class="mlabels-right">
  837. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  838. </tr>
  839. </table>
  840. </div><div class="memdoc">
  841. <p>Cancel the date/time callback function. </p>
  842. </div>
  843. </div>
  844. <a class="anchor" id="a0977fc620f90e21897eca1fb1c25fdce"></a>
  845. <div class="memitem">
  846. <div class="memproto">
  847. <table class="mlabels">
  848. <tr>
  849. <td class="mlabels-left">
  850. <table class="memname">
  851. <tr>
  852. <td class="memname">bool SdBaseFile::dirEntry </td>
  853. <td>(</td>
  854. <td class="paramtype">dir_t *&#160;</td>
  855. <td class="paramname"><em>dir</em></td><td>)</td>
  856. <td></td>
  857. </tr>
  858. </table>
  859. </td>
  860. <td class="mlabels-right">
  861. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  862. </tr>
  863. </table>
  864. </div><div class="memdoc">
  865. <p>Return a file's directory entry.</p>
  866. <dl class="params"><dt>Parameters</dt><dd>
  867. <table class="params">
  868. <tr><td class="paramdir">[out]</td><td class="paramname">dir</td><td>Location for return of the file's directory entry.</td></tr>
  869. </table>
  870. </dd>
  871. </dl>
  872. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  873. </div>
  874. </div>
  875. <a class="anchor" id="a8fdbf7893bf19793e772b340e4c08fed"></a>
  876. <div class="memitem">
  877. <div class="memproto">
  878. <table class="mlabels">
  879. <tr>
  880. <td class="mlabels-left">
  881. <table class="memname">
  882. <tr>
  883. <td class="memname">void SdBaseFile::dirName </td>
  884. <td>(</td>
  885. <td class="paramtype">const dir_t &amp;&#160;</td>
  886. <td class="paramname"><em>dir</em>, </td>
  887. </tr>
  888. <tr>
  889. <td class="paramkey"></td>
  890. <td></td>
  891. <td class="paramtype">char *&#160;</td>
  892. <td class="paramname"><em>name</em>&#160;</td>
  893. </tr>
  894. <tr>
  895. <td></td>
  896. <td>)</td>
  897. <td></td><td></td>
  898. </tr>
  899. </table>
  900. </td>
  901. <td class="mlabels-right">
  902. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  903. </tr>
  904. </table>
  905. </div><div class="memdoc">
  906. <p>Format the name field of <em>dir</em> into the 13 byte array <em>name</em> in standard 8.3 short name format.</p>
  907. <dl class="params"><dt>Parameters</dt><dd>
  908. <table class="params">
  909. <tr><td class="paramdir">[in]</td><td class="paramname">dir</td><td>The directory structure containing the name. </td></tr>
  910. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>A 13 byte char array for the formatted name. </td></tr>
  911. </table>
  912. </dd>
  913. </dl>
  914. </div>
  915. </div>
  916. <a class="anchor" id="ad2f091f3ed1a2e13f62557854c0885a7"></a>
  917. <div class="memitem">
  918. <div class="memproto">
  919. <table class="mlabels">
  920. <tr>
  921. <td class="mlabels-left">
  922. <table class="memname">
  923. <tr>
  924. <td class="memname">bool ios::eof </td>
  925. <td>(</td>
  926. <td class="paramname"></td><td>)</td>
  927. <td> const</td>
  928. </tr>
  929. </table>
  930. </td>
  931. <td class="mlabels-right">
  932. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  933. </tr>
  934. </table>
  935. </div><div class="memdoc">
  936. <dl class="section return"><dt>Returns</dt><dd>true if end of file has been reached else false.</dd></dl>
  937. <p>Warning: An empty file returns false before the first read.</p>
  938. <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>
  939. </div>
  940. </div>
  941. <a class="anchor" id="aa0b95ccc568d483f1416d2eacd1ff3f7"></a>
  942. <div class="memitem">
  943. <div class="memproto">
  944. <table class="mlabels">
  945. <tr>
  946. <td class="mlabels-left">
  947. <table class="memname">
  948. <tr>
  949. <td class="memname">bool SdBaseFile::exists </td>
  950. <td>(</td>
  951. <td class="paramtype">const char *&#160;</td>
  952. <td class="paramname"><em>name</em></td><td>)</td>
  953. <td></td>
  954. </tr>
  955. </table>
  956. </td>
  957. <td class="mlabels-right">
  958. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  959. </tr>
  960. </table>
  961. </div><div class="memdoc">
  962. <p>Test for the existence of a file in a directory</p>
  963. <dl class="params"><dt>Parameters</dt><dd>
  964. <table class="params">
  965. <tr><td class="paramdir">[in]</td><td class="paramname">name</td><td>Name of the file to be tested for.</td></tr>
  966. </table>
  967. </dd>
  968. </dl>
  969. <p>The calling instance must be an open directory file.</p>
  970. <p>dirFile.exists("TOFIND.TXT") searches for "TOFIND.TXT" in the directory dirFile.</p>
  971. <dl class="section return"><dt>Returns</dt><dd>true if the file exists else false. </dd></dl>
  972. </div>
  973. </div>
  974. <a class="anchor" id="a1c7b563046a50c5a0430405964998034"></a>
  975. <div class="memitem">
  976. <div class="memproto">
  977. <table class="mlabels">
  978. <tr>
  979. <td class="mlabels-left">
  980. <table class="memname">
  981. <tr>
  982. <td class="memname">bool ios::fail </td>
  983. <td>(</td>
  984. <td class="paramname"></td><td>)</td>
  985. <td> const</td>
  986. </tr>
  987. </table>
  988. </td>
  989. <td class="mlabels-right">
  990. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  991. </tr>
  992. </table>
  993. </div><div class="memdoc">
  994. <dl class="section return"><dt>Returns</dt><dd>true if any iostate bit other than eof are set else false. </dd></dl>
  995. </div>
  996. </div>
  997. <a class="anchor" id="a41de4f35c622c1a5f5699400e8d05a87"></a>
  998. <div class="memitem">
  999. <div class="memproto">
  1000. <table class="mlabels">
  1001. <tr>
  1002. <td class="mlabels-left">
  1003. <table class="memname">
  1004. <tr>
  1005. <td class="memname">int16_t SdBaseFile::fgets </td>
  1006. <td>(</td>
  1007. <td class="paramtype">char *&#160;</td>
  1008. <td class="paramname"><em>str</em>, </td>
  1009. </tr>
  1010. <tr>
  1011. <td class="paramkey"></td>
  1012. <td></td>
  1013. <td class="paramtype">int16_t&#160;</td>
  1014. <td class="paramname"><em>num</em>, </td>
  1015. </tr>
  1016. <tr>
  1017. <td class="paramkey"></td>
  1018. <td></td>
  1019. <td class="paramtype">char *&#160;</td>
  1020. <td class="paramname"><em>delim</em> = <code>0</code>&#160;</td>
  1021. </tr>
  1022. <tr>
  1023. <td></td>
  1024. <td>)</td>
  1025. <td></td><td></td>
  1026. </tr>
  1027. </table>
  1028. </td>
  1029. <td class="mlabels-right">
  1030. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1031. </tr>
  1032. </table>
  1033. </div><div class="memdoc">
  1034. <p>Get a string from a file.</p>
  1035. <p><a class="el" href="class_sd_base_file.html#a41de4f35c622c1a5f5699400e8d05a87">fgets()</a> reads bytes from a file into the array pointed to by <em>str</em>, until <em>num</em> - 1 bytes are read, or a delimiter is read and transferred to <em>str</em>, or end-of-file is encountered. The string is then terminated with a null byte.</p>
  1036. <p><a class="el" href="class_sd_base_file.html#a41de4f35c622c1a5f5699400e8d05a87">fgets()</a> deletes CR, '\r', from the string. This insures only a '\n' terminates the string for Windows text files which use CRLF for newline.</p>
  1037. <dl class="params"><dt>Parameters</dt><dd>
  1038. <table class="params">
  1039. <tr><td class="paramdir">[out]</td><td class="paramname">str</td><td>Pointer to the array where the string is stored. </td></tr>
  1040. <tr><td class="paramdir">[in]</td><td class="paramname">num</td><td>Maximum number of characters to be read (including the final null byte). Usually the length of the array <em>str</em> is used. </td></tr>
  1041. <tr><td class="paramdir">[in]</td><td class="paramname">delim</td><td>Optional set of delimiters. The default is "\n".</td></tr>
  1042. </table>
  1043. </dd>
  1044. </dl>
  1045. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_sd_base_file.html#a41de4f35c622c1a5f5699400e8d05a87">fgets()</a> returns the length of the string in <em>str</em>. If no data is read, <a class="el" href="class_sd_base_file.html#a41de4f35c622c1a5f5699400e8d05a87">fgets()</a> returns zero for EOF or -1 if an error occurred. </dd></dl>
  1046. </div>
  1047. </div>
  1048. <a class="anchor" id="a32ac452756fdf80aae75fb1ab093a421"></a>
  1049. <div class="memitem">
  1050. <div class="memproto">
  1051. <table class="mlabels">
  1052. <tr>
  1053. <td class="mlabels-left">
  1054. <table class="memname">
  1055. <tr>
  1056. <td class="memname">uint32_t SdBaseFile::fileSize </td>
  1057. <td>(</td>
  1058. <td class="paramname"></td><td>)</td>
  1059. <td> const</td>
  1060. </tr>
  1061. </table>
  1062. </td>
  1063. <td class="mlabels-right">
  1064. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1065. </tr>
  1066. </table>
  1067. </div><div class="memdoc">
  1068. <dl class="section return"><dt>Returns</dt><dd>The total number of bytes in a file or directory. </dd></dl>
  1069. </div>
  1070. </div>
  1071. <a class="anchor" id="ade5bd46462e075999c3a5c2cff2015f1"></a>
  1072. <div class="memitem">
  1073. <div class="memproto">
  1074. <table class="mlabels">
  1075. <tr>
  1076. <td class="mlabels-left">
  1077. <table class="memname">
  1078. <tr>
  1079. <td class="memname">char ios_base::fill </td>
  1080. <td>(</td>
  1081. <td class="paramname"></td><td>)</td>
  1082. <td></td>
  1083. </tr>
  1084. </table>
  1085. </td>
  1086. <td class="mlabels-right">
  1087. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1088. </tr>
  1089. </table>
  1090. </div><div class="memdoc">
  1091. <dl class="section return"><dt>Returns</dt><dd>fill character </dd></dl>
  1092. </div>
  1093. </div>
  1094. <a class="anchor" id="aa5683f9bdf295311bd5a6d3cdc2fedd5"></a>
  1095. <div class="memitem">
  1096. <div class="memproto">
  1097. <table class="mlabels">
  1098. <tr>
  1099. <td class="mlabels-left">
  1100. <table class="memname">
  1101. <tr>
  1102. <td class="memname">char ios_base::fill </td>
  1103. <td>(</td>
  1104. <td class="paramtype">char&#160;</td>
  1105. <td class="paramname"><em>c</em></td><td>)</td>
  1106. <td></td>
  1107. </tr>
  1108. </table>
  1109. </td>
  1110. <td class="mlabels-right">
  1111. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1112. </tr>
  1113. </table>
  1114. </div><div class="memdoc">
  1115. <p>Set fill character </p>
  1116. <dl class="params"><dt>Parameters</dt><dd>
  1117. <table class="params">
  1118. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>new fill character </td></tr>
  1119. </table>
  1120. </dd>
  1121. </dl>
  1122. <dl class="section return"><dt>Returns</dt><dd>old fill character </dd></dl>
  1123. </div>
  1124. </div>
  1125. <a class="anchor" id="adca5f8fce7851f9b7abc92cb73e49e35"></a>
  1126. <div class="memitem">
  1127. <div class="memproto">
  1128. <table class="mlabels">
  1129. <tr>
  1130. <td class="mlabels-left">
  1131. <table class="memname">
  1132. <tr>
  1133. <td class="memname">uint32_t SdBaseFile::firstCluster </td>
  1134. <td>(</td>
  1135. <td class="paramname"></td><td>)</td>
  1136. <td> const</td>
  1137. </tr>
  1138. </table>
  1139. </td>
  1140. <td class="mlabels-right">
  1141. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1142. </tr>
  1143. </table>
  1144. </div><div class="memdoc">
  1145. <dl class="section return"><dt>Returns</dt><dd>The first cluster number for a file or directory. </dd></dl>
  1146. </div>
  1147. </div>
  1148. <a class="anchor" id="ab5e9c7dbcbc33b7de9dcb70525ec7384"></a>
  1149. <div class="memitem">
  1150. <div class="memproto">
  1151. <table class="mlabels">
  1152. <tr>
  1153. <td class="mlabels-left">
  1154. <table class="memname">
  1155. <tr>
  1156. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::flags </td>
  1157. <td>(</td>
  1158. <td class="paramname"></td><td>)</td>
  1159. <td> const</td>
  1160. </tr>
  1161. </table>
  1162. </td>
  1163. <td class="mlabels-right">
  1164. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1165. </tr>
  1166. </table>
  1167. </div><div class="memdoc">
  1168. <dl class="section return"><dt>Returns</dt><dd>format flags </dd></dl>
  1169. </div>
  1170. </div>
  1171. <a class="anchor" id="ae67e900dc12e4c7cbc0741ad1c70d6c2"></a>
  1172. <div class="memitem">
  1173. <div class="memproto">
  1174. <table class="mlabels">
  1175. <tr>
  1176. <td class="mlabels-left">
  1177. <table class="memname">
  1178. <tr>
  1179. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::flags </td>
  1180. <td>(</td>
  1181. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  1182. <td class="paramname"><em>fl</em></td><td>)</td>
  1183. <td></td>
  1184. </tr>
  1185. </table>
  1186. </td>
  1187. <td class="mlabels-right">
  1188. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1189. </tr>
  1190. </table>
  1191. </div><div class="memdoc">
  1192. <p>set format flags </p>
  1193. <dl class="params"><dt>Parameters</dt><dd>
  1194. <table class="params">
  1195. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>new flag </td></tr>
  1196. </table>
  1197. </dd>
  1198. </dl>
  1199. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  1200. </div>
  1201. </div>
  1202. <a class="anchor" id="a19ffb796cb95d3744d9bc7739939acf2"></a>
  1203. <div class="memitem">
  1204. <div class="memproto">
  1205. <table class="mlabels">
  1206. <tr>
  1207. <td class="mlabels-left">
  1208. <table class="memname">
  1209. <tr>
  1210. <td class="memname">uint8_t ios_base::flagsToBase </td>
  1211. <td>(</td>
  1212. <td class="paramname"></td><td>)</td>
  1213. <td></td>
  1214. </tr>
  1215. </table>
  1216. </td>
  1217. <td class="mlabels-right">
  1218. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">inherited</span></span> </td>
  1219. </tr>
  1220. </table>
  1221. </div><div class="memdoc">
  1222. <dl class="section return"><dt>Returns</dt><dd>current number base </dd></dl>
  1223. </div>
  1224. </div>
  1225. <a class="anchor" id="a2e84ccce858fd7e4d88e26b23d19a822"></a>
  1226. <div class="memitem">
  1227. <div class="memproto">
  1228. <table class="mlabels">
  1229. <tr>
  1230. <td class="mlabels-left">
  1231. <table class="memname">
  1232. <tr>
  1233. <td class="memname">bool SdBaseFile::getFilename </td>
  1234. <td>(</td>
  1235. <td class="paramtype">char *&#160;</td>
  1236. <td class="paramname"><em>name</em></td><td>)</td>
  1237. <td></td>
  1238. </tr>
  1239. </table>
  1240. </td>
  1241. <td class="mlabels-right">
  1242. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1243. </tr>
  1244. </table>
  1245. </div><div class="memdoc">
  1246. <p>Get a file's name</p>
  1247. <dl class="params"><dt>Parameters</dt><dd>
  1248. <table class="params">
  1249. <tr><td class="paramdir">[out]</td><td class="paramname">name</td><td>An array of 13 characters for the file's name.</td></tr>
  1250. </table>
  1251. </dd>
  1252. </dl>
  1253. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  1254. </div>
  1255. </div>
  1256. <a class="anchor" id="ad1af089e5cf0a4c86e9b6bae1595f59b"></a>
  1257. <div class="memitem">
  1258. <div class="memproto">
  1259. <table class="mlabels">
  1260. <tr>
  1261. <td class="mlabels-left">
  1262. <table class="memname">
  1263. <tr>
  1264. <td class="memname">void SdBaseFile::getpos </td>
  1265. <td>(</td>
  1266. <td class="paramtype"><a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *&#160;</td>
  1267. <td class="paramname"><em>pos</em></td><td>)</td>
  1268. <td></td>
  1269. </tr>
  1270. </table>
  1271. </td>
  1272. <td class="mlabels-right">
  1273. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1274. </tr>
  1275. </table>
  1276. </div><div class="memdoc">
  1277. <p>get position for streams </p>
  1278. <dl class="params"><dt>Parameters</dt><dd>
  1279. <table class="params">
  1280. <tr><td class="paramdir">[out]</td><td class="paramname">pos</td><td>struct to receive position </td></tr>
  1281. </table>
  1282. </dd>
  1283. </dl>
  1284. </div>
  1285. </div>
  1286. <a class="anchor" id="aa8ebd3ec28126c3171059d3e7dd355b9"></a>
  1287. <div class="memitem">
  1288. <div class="memproto">
  1289. <table class="mlabels">
  1290. <tr>
  1291. <td class="mlabels-left">
  1292. <table class="memname">
  1293. <tr>
  1294. <td class="memname">bool SdBaseFile::getWriteError </td>
  1295. <td>(</td>
  1296. <td class="paramname"></td><td>)</td>
  1297. <td></td>
  1298. </tr>
  1299. </table>
  1300. </td>
  1301. <td class="mlabels-right">
  1302. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1303. </tr>
  1304. </table>
  1305. </div><div class="memdoc">
  1306. <dl class="section return"><dt>Returns</dt><dd>value of writeError </dd></dl>
  1307. </div>
  1308. </div>
  1309. <a class="anchor" id="a5fdf9247f642a7a5c5a21323ffd45366"></a>
  1310. <div class="memitem">
  1311. <div class="memproto">
  1312. <table class="mlabels">
  1313. <tr>
  1314. <td class="mlabels-left">
  1315. <table class="memname">
  1316. <tr>
  1317. <td class="memname">bool ios::good </td>
  1318. <td>(</td>
  1319. <td class="paramname"></td><td>)</td>
  1320. <td> const</td>
  1321. </tr>
  1322. </table>
  1323. </td>
  1324. <td class="mlabels-right">
  1325. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1326. </tr>
  1327. </table>
  1328. </div><div class="memdoc">
  1329. <dl class="section return"><dt>Returns</dt><dd>True if no iostate flags are set else false. </dd></dl>
  1330. </div>
  1331. </div>
  1332. <a class="anchor" id="ad43ed061a1f77578d3c30a0f9b198497"></a>
  1333. <div class="memitem">
  1334. <div class="memproto">
  1335. <table class="mlabels">
  1336. <tr>
  1337. <td class="mlabels-left">
  1338. <table class="memname">
  1339. <tr>
  1340. <td class="memname">bool SdBaseFile::isDir </td>
  1341. <td>(</td>
  1342. <td class="paramname"></td><td>)</td>
  1343. <td> const</td>
  1344. </tr>
  1345. </table>
  1346. </td>
  1347. <td class="mlabels-right">
  1348. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1349. </tr>
  1350. </table>
  1351. </div><div class="memdoc">
  1352. <dl class="section return"><dt>Returns</dt><dd>True if this is a directory else false. </dd></dl>
  1353. </div>
  1354. </div>
  1355. <a class="anchor" id="ab57b9744531ee0fcfa18bebde9fc50db"></a>
  1356. <div class="memitem">
  1357. <div class="memproto">
  1358. <table class="mlabels">
  1359. <tr>
  1360. <td class="mlabels-left">
  1361. <table class="memname">
  1362. <tr>
  1363. <td class="memname">bool SdBaseFile::isFile </td>
  1364. <td>(</td>
  1365. <td class="paramname"></td><td>)</td>
  1366. <td> const</td>
  1367. </tr>
  1368. </table>
  1369. </td>
  1370. <td class="mlabels-right">
  1371. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1372. </tr>
  1373. </table>
  1374. </div><div class="memdoc">
  1375. <dl class="section return"><dt>Returns</dt><dd>True if this is a normal file else false. </dd></dl>
  1376. </div>
  1377. </div>
  1378. <a class="anchor" id="a0fb6e697de39cdb777744981f58eaaa8"></a>
  1379. <div class="memitem">
  1380. <div class="memproto">
  1381. <table class="mlabels">
  1382. <tr>
  1383. <td class="mlabels-left">
  1384. <table class="memname">
  1385. <tr>
  1386. <td class="memname">bool SdBaseFile::isOpen </td>
  1387. <td>(</td>
  1388. <td class="paramname"></td><td>)</td>
  1389. <td> const</td>
  1390. </tr>
  1391. </table>
  1392. </td>
  1393. <td class="mlabels-right">
  1394. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1395. </tr>
  1396. </table>
  1397. </div><div class="memdoc">
  1398. <dl class="section return"><dt>Returns</dt><dd>True if this is an open file/directory else false. </dd></dl>
  1399. </div>
  1400. </div>
  1401. <a class="anchor" id="ad1fcdcb6c1cb66207d243584e6049095"></a>
  1402. <div class="memitem">
  1403. <div class="memproto">
  1404. <table class="mlabels">
  1405. <tr>
  1406. <td class="mlabels-left">
  1407. <table class="memname">
  1408. <tr>
  1409. <td class="memname">bool SdBaseFile::isRoot </td>
  1410. <td>(</td>
  1411. <td class="paramname"></td><td>)</td>
  1412. <td> const</td>
  1413. </tr>
  1414. </table>
  1415. </td>
  1416. <td class="mlabels-right">
  1417. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1418. </tr>
  1419. </table>
  1420. </div><div class="memdoc">
  1421. <dl class="section return"><dt>Returns</dt><dd>True if this is the root directory. </dd></dl>
  1422. </div>
  1423. </div>
  1424. <a class="anchor" id="a50023837ddbc57b10098d3a7cd5856f7"></a>
  1425. <div class="memitem">
  1426. <div class="memproto">
  1427. <table class="mlabels">
  1428. <tr>
  1429. <td class="mlabels-left">
  1430. <table class="memname">
  1431. <tr>
  1432. <td class="memname">bool SdBaseFile::isSubDir </td>
  1433. <td>(</td>
  1434. <td class="paramname"></td><td>)</td>
  1435. <td> const</td>
  1436. </tr>
  1437. </table>
  1438. </td>
  1439. <td class="mlabels-right">
  1440. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1441. </tr>
  1442. </table>
  1443. </div><div class="memdoc">
  1444. <dl class="section return"><dt>Returns</dt><dd>True if this is a subdirectory else false. </dd></dl>
  1445. </div>
  1446. </div>
  1447. <a class="anchor" id="ae94a6672e77325d91cf2ae7077f4c785"></a>
  1448. <div class="memitem">
  1449. <div class="memproto">
  1450. <table class="mlabels">
  1451. <tr>
  1452. <td class="mlabels-left">
  1453. <table class="memname">
  1454. <tr>
  1455. <td class="memname">void SdBaseFile::ls </td>
  1456. <td>(</td>
  1457. <td class="paramtype">Print *&#160;</td>
  1458. <td class="paramname"><em>pr</em>, </td>
  1459. </tr>
  1460. <tr>
  1461. <td class="paramkey"></td>
  1462. <td></td>
  1463. <td class="paramtype">uint8_t&#160;</td>
  1464. <td class="paramname"><em>flags</em> = <code>0</code>, </td>
  1465. </tr>
  1466. <tr>
  1467. <td class="paramkey"></td>
  1468. <td></td>
  1469. <td class="paramtype">uint8_t&#160;</td>
  1470. <td class="paramname"><em>indent</em> = <code>0</code>&#160;</td>
  1471. </tr>
  1472. <tr>
  1473. <td></td>
  1474. <td>)</td>
  1475. <td></td><td></td>
  1476. </tr>
  1477. </table>
  1478. </td>
  1479. <td class="mlabels-right">
  1480. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1481. </tr>
  1482. </table>
  1483. </div><div class="memdoc">
  1484. <p>List directory contents.</p>
  1485. <dl class="params"><dt>Parameters</dt><dd>
  1486. <table class="params">
  1487. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for list.</td></tr>
  1488. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1489. </table>
  1490. </dd>
  1491. </dl>
  1492. <p>LS_DATE - Print file modification date</p>
  1493. <p>LS_SIZE - Print file size.</p>
  1494. <p>LS_R - Recursive list of subdirectories.</p>
  1495. <dl class="params"><dt>Parameters</dt><dd>
  1496. <table class="params">
  1497. <tr><td class="paramdir">[in]</td><td class="paramname">indent</td><td>Amount of space before file name. Used for recursive list to indicate subdirectory level. </td></tr>
  1498. </table>
  1499. </dd>
  1500. </dl>
  1501. </div>
  1502. </div>
  1503. <a class="anchor" id="a925b3badddc0f9472730a4ccd4ff7b67"></a>
  1504. <div class="memitem">
  1505. <div class="memproto">
  1506. <table class="mlabels">
  1507. <tr>
  1508. <td class="mlabels-left">
  1509. <table class="memname">
  1510. <tr>
  1511. <td class="memname">void SdBaseFile::ls </td>
  1512. <td>(</td>
  1513. <td class="paramtype">uint8_t&#160;</td>
  1514. <td class="paramname"><em>flags</em> = <code>0</code></td><td>)</td>
  1515. <td></td>
  1516. </tr>
  1517. </table>
  1518. </td>
  1519. <td class="mlabels-right">
  1520. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1521. </tr>
  1522. </table>
  1523. </div><div class="memdoc">
  1524. <p>List directory contents to stdOut.</p>
  1525. <dl class="params"><dt>Parameters</dt><dd>
  1526. <table class="params">
  1527. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>The inclusive OR of</td></tr>
  1528. </table>
  1529. </dd>
  1530. </dl>
  1531. <p>LS_DATE - Print file modification date</p>
  1532. <p>LS_SIZE - Print file size.</p>
  1533. <p>LS_R - Recursive list of subdirectories. </p>
  1534. </div>
  1535. </div>
  1536. <a class="anchor" id="ad1de34e5dc5b3a1727208f949b5838e9"></a>
  1537. <div class="memitem">
  1538. <div class="memproto">
  1539. <table class="mlabels">
  1540. <tr>
  1541. <td class="mlabels-left">
  1542. <table class="memname">
  1543. <tr>
  1544. <td class="memname">bool SdBaseFile::mkdir </td>
  1545. <td>(</td>
  1546. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  1547. <td class="paramname"><em>parent</em>, </td>
  1548. </tr>
  1549. <tr>
  1550. <td class="paramkey"></td>
  1551. <td></td>
  1552. <td class="paramtype">const char *&#160;</td>
  1553. <td class="paramname"><em>path</em>, </td>
  1554. </tr>
  1555. <tr>
  1556. <td class="paramkey"></td>
  1557. <td></td>
  1558. <td class="paramtype">bool&#160;</td>
  1559. <td class="paramname"><em>pFlag</em> = <code>true</code>&#160;</td>
  1560. </tr>
  1561. <tr>
  1562. <td></td>
  1563. <td>)</td>
  1564. <td></td><td></td>
  1565. </tr>
  1566. </table>
  1567. </td>
  1568. <td class="mlabels-right">
  1569. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1570. </tr>
  1571. </table>
  1572. </div><div class="memdoc">
  1573. <p>Make a new directory.</p>
  1574. <dl class="params"><dt>Parameters</dt><dd>
  1575. <table class="params">
  1576. <tr><td class="paramdir">[in]</td><td class="paramname">parent</td><td>An open <a class="el" href="class_sd_fat.html" title="Integration class for the SdFat library. ">SdFat</a> instance for the directory that will contain the new directory.</td></tr>
  1577. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for the new directory.</td></tr>
  1578. <tr><td class="paramdir">[in]</td><td class="paramname">pFlag</td><td>Create missing parent directories if true.</td></tr>
  1579. </table>
  1580. </dd>
  1581. </dl>
  1582. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include this file is already open, <em>parent</em> is not a directory, <em>path</em> is invalid or already exists in <em>parent</em>. </dd></dl>
  1583. </div>
  1584. </div>
  1585. <a class="anchor" id="a6ff5b48f672515ec20831583de74407f"></a>
  1586. <div class="memitem">
  1587. <div class="memproto">
  1588. <table class="mlabels">
  1589. <tr>
  1590. <td class="mlabels-left">
  1591. <table class="memname">
  1592. <tr>
  1593. <td class="memname">bool SdBaseFile::open </td>
  1594. <td>(</td>
  1595. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  1596. <td class="paramname"><em>dirFile</em>, </td>
  1597. </tr>
  1598. <tr>
  1599. <td class="paramkey"></td>
  1600. <td></td>
  1601. <td class="paramtype">uint16_t&#160;</td>
  1602. <td class="paramname"><em>index</em>, </td>
  1603. </tr>
  1604. <tr>
  1605. <td class="paramkey"></td>
  1606. <td></td>
  1607. <td class="paramtype">uint8_t&#160;</td>
  1608. <td class="paramname"><em>oflag</em>&#160;</td>
  1609. </tr>
  1610. <tr>
  1611. <td></td>
  1612. <td>)</td>
  1613. <td></td><td></td>
  1614. </tr>
  1615. </table>
  1616. </td>
  1617. <td class="mlabels-right">
  1618. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1619. </tr>
  1620. </table>
  1621. </div><div class="memdoc">
  1622. <p>Open a file by index.</p>
  1623. <dl class="params"><dt>Parameters</dt><dd>
  1624. <table class="params">
  1625. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_sd_fat.html" title="Integration class for the SdFat library. ">SdFat</a> instance for the directory.</td></tr>
  1626. <tr><td class="paramdir">[in]</td><td class="paramname">index</td><td>The <em>index</em> of the directory entry for the file to be opened. The value for <em>index</em> is (directory file position)/32.</td></tr>
  1627. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of flags O_READ, O_WRITE, O_TRUNC, and O_SYNC.</td></tr>
  1628. </table>
  1629. </dd>
  1630. </dl>
  1631. <p>See <a class="el" href="class_sd_base_file.html#a6ff5b48f672515ec20831583de74407f">open()</a> by path for definition of flags. </p>
  1632. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1633. </div>
  1634. </div>
  1635. <a class="anchor" id="a4b88be0d893bcada9b203bdd33fff8e2"></a>
  1636. <div class="memitem">
  1637. <div class="memproto">
  1638. <table class="mlabels">
  1639. <tr>
  1640. <td class="mlabels-left">
  1641. <table class="memname">
  1642. <tr>
  1643. <td class="memname">bool SdBaseFile::open </td>
  1644. <td>(</td>
  1645. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  1646. <td class="paramname"><em>dirFile</em>, </td>
  1647. </tr>
  1648. <tr>
  1649. <td class="paramkey"></td>
  1650. <td></td>
  1651. <td class="paramtype">const char *&#160;</td>
  1652. <td class="paramname"><em>path</em>, </td>
  1653. </tr>
  1654. <tr>
  1655. <td class="paramkey"></td>
  1656. <td></td>
  1657. <td class="paramtype">uint8_t&#160;</td>
  1658. <td class="paramname"><em>oflag</em>&#160;</td>
  1659. </tr>
  1660. <tr>
  1661. <td></td>
  1662. <td>)</td>
  1663. <td></td><td></td>
  1664. </tr>
  1665. </table>
  1666. </td>
  1667. <td class="mlabels-right">
  1668. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1669. </tr>
  1670. </table>
  1671. </div><div class="memdoc">
  1672. <p>Open a file or directory by name.</p>
  1673. <dl class="params"><dt>Parameters</dt><dd>
  1674. <table class="params">
  1675. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_sd_fat.html" title="Integration class for the SdFat library. ">SdFat</a> instance for the directory containing the file to be opened.</td></tr>
  1676. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for a file to be opened.</td></tr>
  1677. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of flags from the following list</td></tr>
  1678. </table>
  1679. </dd>
  1680. </dl>
  1681. <p>O_READ - Open for reading.</p>
  1682. <p>O_RDONLY - Same as O_READ.</p>
  1683. <p>O_WRITE - Open for writing.</p>
  1684. <p>O_WRONLY - Same as O_WRITE.</p>
  1685. <p>O_RDWR - Open for reading and writing.</p>
  1686. <p>O_APPEND - If set, the file offset shall be set to the end of the file prior to each write.</p>
  1687. <p>O_AT_END - Set the initial position at the end of the file.</p>
  1688. <p>O_CREAT - If the file exists, this flag has no effect except as noted under O_EXCL below. Otherwise, the file shall be created</p>
  1689. <p>O_EXCL - If O_CREAT and O_EXCL are set, <a class="el" href="class_sd_base_file.html#a6ff5b48f672515ec20831583de74407f">open()</a> shall fail if the file exists.</p>
  1690. <p>O_SYNC - Call <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a> after each write. This flag should not be used with write(uint8_t), write_P(PGM_P), writeln_P(PGM_P), or the Arduino Print class. These functions do character at a time writes so <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a> will be called after each byte.</p>
  1691. <p>O_TRUNC - If the file exists and is a regular file, and the file is successfully opened and is not read only, its length shall be truncated to 0.</p>
  1692. <p>WARNING: A given file must not be opened by more than one <a class="el" href="class_sd_base_file.html" title="Base class for SdFile with Print and C++ streams. ">SdBaseFile</a> object or file corruption may occur.</p>
  1693. <dl class="section note"><dt>Note</dt><dd>Directory files must be opened read only. Write and truncation is not allowed for directory files.</dd></dl>
  1694. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include this file is already open, <em>dirFile</em> is not a directory, <em>path</em> is invalid, the file does not exist or can't be opened in the access mode specified by oflag. </dd></dl>
  1695. </div>
  1696. </div>
  1697. <a class="anchor" id="a63854cd9c57a9910779ca22112b436e0"></a>
  1698. <div class="memitem">
  1699. <div class="memproto">
  1700. <table class="mlabels">
  1701. <tr>
  1702. <td class="mlabels-left">
  1703. <table class="memname">
  1704. <tr>
  1705. <td class="memname">bool SdBaseFile::open </td>
  1706. <td>(</td>
  1707. <td class="paramtype">const char *&#160;</td>
  1708. <td class="paramname"><em>path</em>, </td>
  1709. </tr>
  1710. <tr>
  1711. <td class="paramkey"></td>
  1712. <td></td>
  1713. <td class="paramtype">uint8_t&#160;</td>
  1714. <td class="paramname"><em>oflag</em> = <code>O_READ</code>&#160;</td>
  1715. </tr>
  1716. <tr>
  1717. <td></td>
  1718. <td>)</td>
  1719. <td></td><td></td>
  1720. </tr>
  1721. </table>
  1722. </td>
  1723. <td class="mlabels-right">
  1724. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1725. </tr>
  1726. </table>
  1727. </div><div class="memdoc">
  1728. <p>Open a file in the current working directory.</p>
  1729. <dl class="params"><dt>Parameters</dt><dd>
  1730. <table class="params">
  1731. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>A path with a valid 8.3 DOS name for a file to be opened.</td></tr>
  1732. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of open flags. see <a class="el" href="class_sd_base_file.html#a4b88be0d893bcada9b203bdd33fff8e2">SdBaseFile::open(SdBaseFile*, const char*, uint8_t)</a>.</td></tr>
  1733. </table>
  1734. </dd>
  1735. </dl>
  1736. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  1737. </div>
  1738. </div>
  1739. <a class="anchor" id="aee4c736345e96aa5ddb7e5768ce88f51"></a>
  1740. <div class="memitem">
  1741. <div class="memproto">
  1742. <table class="mlabels">
  1743. <tr>
  1744. <td class="mlabels-left">
  1745. <table class="memname">
  1746. <tr>
  1747. <td class="memname">bool SdBaseFile::openNext </td>
  1748. <td>(</td>
  1749. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  1750. <td class="paramname"><em>dirFile</em>, </td>
  1751. </tr>
  1752. <tr>
  1753. <td class="paramkey"></td>
  1754. <td></td>
  1755. <td class="paramtype">uint8_t&#160;</td>
  1756. <td class="paramname"><em>oflag</em>&#160;</td>
  1757. </tr>
  1758. <tr>
  1759. <td></td>
  1760. <td>)</td>
  1761. <td></td><td></td>
  1762. </tr>
  1763. </table>
  1764. </td>
  1765. <td class="mlabels-right">
  1766. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1767. </tr>
  1768. </table>
  1769. </div><div class="memdoc">
  1770. <p>Open the next file or subdirectory in a directory.</p>
  1771. <dl class="params"><dt>Parameters</dt><dd>
  1772. <table class="params">
  1773. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>An open <a class="el" href="class_sd_fat.html" title="Integration class for the SdFat library. ">SdFat</a> instance for the directory containing the file to be opened.</td></tr>
  1774. <tr><td class="paramdir">[in]</td><td class="paramname">oflag</td><td>Values for <em>oflag</em> are constructed by a bitwise-inclusive OR of flags O_READ, O_WRITE, O_TRUNC, and O_SYNC.</td></tr>
  1775. </table>
  1776. </dd>
  1777. </dl>
  1778. <p>See <a class="el" href="class_sd_base_file.html#a6ff5b48f672515ec20831583de74407f">open()</a> by path for definition of flags. </p>
  1779. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  1780. </div>
  1781. </div>
  1782. <a class="anchor" id="ac67ffdfb84263bcd425886c09a15e287"></a>
  1783. <div class="memitem">
  1784. <div class="memproto">
  1785. <table class="mlabels">
  1786. <tr>
  1787. <td class="mlabels-left">
  1788. <table class="memname">
  1789. <tr>
  1790. <td class="memname">bool SdBaseFile::openRoot </td>
  1791. <td>(</td>
  1792. <td class="paramtype"><a class="el" href="class_sd_volume.html">SdVolume</a> *&#160;</td>
  1793. <td class="paramname"><em>vol</em></td><td>)</td>
  1794. <td></td>
  1795. </tr>
  1796. </table>
  1797. </td>
  1798. <td class="mlabels-right">
  1799. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1800. </tr>
  1801. </table>
  1802. </div><div class="memdoc">
  1803. <p>Open a volume's root directory.</p>
  1804. <dl class="params"><dt>Parameters</dt><dd>
  1805. <table class="params">
  1806. <tr><td class="paramdir">[in]</td><td class="paramname">vol</td><td>The FAT volume containing the root directory to be opened.</td></tr>
  1807. </table>
  1808. </dd>
  1809. </dl>
  1810. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include the file is already open, the FAT volume has not been initialized or it a FAT12 volume. </dd></dl>
  1811. </div>
  1812. </div>
  1813. <a class="anchor" id="a8c2e7e42e31d3d7898a51c0bc837b2a3"></a>
  1814. <div class="memitem">
  1815. <div class="memproto">
  1816. <table class="mlabels">
  1817. <tr>
  1818. <td class="mlabels-left">
  1819. <table class="memname">
  1820. <tr>
  1821. <td class="memname">ios::operator const void * </td>
  1822. <td>(</td>
  1823. <td class="paramname"></td><td>)</td>
  1824. <td> const</td>
  1825. </tr>
  1826. </table>
  1827. </td>
  1828. <td class="mlabels-right">
  1829. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1830. </tr>
  1831. </table>
  1832. </div><div class="memdoc">
  1833. <dl class="section return"><dt>Returns</dt><dd>null pointer if <a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail()</a> is true. </dd></dl>
  1834. </div>
  1835. </div>
  1836. <a class="anchor" id="a1ae2d4f1ccdfcaaef6a3a8ac9e28c267"></a>
  1837. <div class="memitem">
  1838. <div class="memproto">
  1839. <table class="mlabels">
  1840. <tr>
  1841. <td class="mlabels-left">
  1842. <table class="memname">
  1843. <tr>
  1844. <td class="memname">bool ios::operator! </td>
  1845. <td>(</td>
  1846. <td class="paramname"></td><td>)</td>
  1847. <td> const</td>
  1848. </tr>
  1849. </table>
  1850. </td>
  1851. <td class="mlabels-right">
  1852. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1853. </tr>
  1854. </table>
  1855. </div><div class="memdoc">
  1856. <dl class="section return"><dt>Returns</dt><dd>true if <a class="el" href="classios.html#a1c7b563046a50c5a0430405964998034">fail()</a> else false. </dd></dl>
  1857. </div>
  1858. </div>
  1859. <a class="anchor" id="a996abee868ce928d04d9d0ad9305c915"></a>
  1860. <div class="memitem">
  1861. <div class="memproto">
  1862. <table class="mlabels">
  1863. <tr>
  1864. <td class="mlabels-left">
  1865. <table class="memname">
  1866. <tr>
  1867. <td class="memname">int SdBaseFile::peek </td>
  1868. <td>(</td>
  1869. <td class="paramname"></td><td>)</td>
  1870. <td></td>
  1871. </tr>
  1872. </table>
  1873. </td>
  1874. <td class="mlabels-right">
  1875. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1876. </tr>
  1877. </table>
  1878. </div><div class="memdoc">
  1879. <p>Return the next available byte without consuming it.</p>
  1880. <dl class="section return"><dt>Returns</dt><dd>The byte if no error and not at eof else -1; </dd></dl>
  1881. </div>
  1882. </div>
  1883. <a class="anchor" id="a9d36cb5a859b74e04f640d2f5e53b41d"></a>
  1884. <div class="memitem">
  1885. <div class="memproto">
  1886. <table class="mlabels">
  1887. <tr>
  1888. <td class="mlabels-left">
  1889. <table class="memname">
  1890. <tr>
  1891. <td class="memname">int ios_base::precision </td>
  1892. <td>(</td>
  1893. <td class="paramname"></td><td>)</td>
  1894. <td> const</td>
  1895. </tr>
  1896. </table>
  1897. </td>
  1898. <td class="mlabels-right">
  1899. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1900. </tr>
  1901. </table>
  1902. </div><div class="memdoc">
  1903. <dl class="section return"><dt>Returns</dt><dd>precision </dd></dl>
  1904. </div>
  1905. </div>
  1906. <a class="anchor" id="a5b70cc65fc2c276136fea99bddedb6f0"></a>
  1907. <div class="memitem">
  1908. <div class="memproto">
  1909. <table class="mlabels">
  1910. <tr>
  1911. <td class="mlabels-left">
  1912. <table class="memname">
  1913. <tr>
  1914. <td class="memname">int ios_base::precision </td>
  1915. <td>(</td>
  1916. <td class="paramtype">unsigned int&#160;</td>
  1917. <td class="paramname"><em>n</em></td><td>)</td>
  1918. <td></td>
  1919. </tr>
  1920. </table>
  1921. </td>
  1922. <td class="mlabels-right">
  1923. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  1924. </tr>
  1925. </table>
  1926. </div><div class="memdoc">
  1927. <p>set precision </p>
  1928. <dl class="params"><dt>Parameters</dt><dd>
  1929. <table class="params">
  1930. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>new precision </td></tr>
  1931. </table>
  1932. </dd>
  1933. </dl>
  1934. <dl class="section return"><dt>Returns</dt><dd>old precision </dd></dl>
  1935. </div>
  1936. </div>
  1937. <a class="anchor" id="afe2fd8314f3a6c0e06ff178f730efe07"></a>
  1938. <div class="memitem">
  1939. <div class="memproto">
  1940. <table class="mlabels">
  1941. <tr>
  1942. <td class="mlabels-left">
  1943. <table class="memname">
  1944. <tr>
  1945. <td class="memname">bool SdBaseFile::printCreateDateTime </td>
  1946. <td>(</td>
  1947. <td class="paramtype">Print *&#160;</td>
  1948. <td class="paramname"><em>pr</em></td><td>)</td>
  1949. <td></td>
  1950. </tr>
  1951. </table>
  1952. </td>
  1953. <td class="mlabels-right">
  1954. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  1955. </tr>
  1956. </table>
  1957. </div><div class="memdoc">
  1958. <p>Print a file's creation date and time</p>
  1959. <dl class="params"><dt>Parameters</dt><dd>
  1960. <table class="params">
  1961. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  1962. </table>
  1963. </dd>
  1964. </dl>
  1965. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  1966. </div>
  1967. </div>
  1968. <a class="anchor" id="a1f8b53aea38427dd483dfff4e9437d0c"></a>
  1969. <div class="memitem">
  1970. <div class="memproto">
  1971. <table class="mlabels">
  1972. <tr>
  1973. <td class="mlabels-left">
  1974. <table class="memname">
  1975. <tr>
  1976. <td class="memname">void SdBaseFile::printFatDate </td>
  1977. <td>(</td>
  1978. <td class="paramtype">uint16_t&#160;</td>
  1979. <td class="paramname"><em>fatDate</em></td><td>)</td>
  1980. <td></td>
  1981. </tr>
  1982. </table>
  1983. </td>
  1984. <td class="mlabels-right">
  1985. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  1986. </tr>
  1987. </table>
  1988. </div><div class="memdoc">
  1989. <p>Print a directory date field to stdOut.</p>
  1990. <p>Format is yyyy-mm-dd.</p>
  1991. <dl class="params"><dt>Parameters</dt><dd>
  1992. <table class="params">
  1993. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>The date field from a directory entry. </td></tr>
  1994. </table>
  1995. </dd>
  1996. </dl>
  1997. </div>
  1998. </div>
  1999. <a class="anchor" id="a460b641eb358f2d6ac7a937944f9fba4"></a>
  2000. <div class="memitem">
  2001. <div class="memproto">
  2002. <table class="mlabels">
  2003. <tr>
  2004. <td class="mlabels-left">
  2005. <table class="memname">
  2006. <tr>
  2007. <td class="memname">void SdBaseFile::printFatDate </td>
  2008. <td>(</td>
  2009. <td class="paramtype">Print *&#160;</td>
  2010. <td class="paramname"><em>pr</em>, </td>
  2011. </tr>
  2012. <tr>
  2013. <td class="paramkey"></td>
  2014. <td></td>
  2015. <td class="paramtype">uint16_t&#160;</td>
  2016. <td class="paramname"><em>fatDate</em>&#160;</td>
  2017. </tr>
  2018. <tr>
  2019. <td></td>
  2020. <td>)</td>
  2021. <td></td><td></td>
  2022. </tr>
  2023. </table>
  2024. </td>
  2025. <td class="mlabels-right">
  2026. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2027. </tr>
  2028. </table>
  2029. </div><div class="memdoc">
  2030. <p>Print a directory date field.</p>
  2031. <p>Format is yyyy-mm-dd.</p>
  2032. <dl class="params"><dt>Parameters</dt><dd>
  2033. <table class="params">
  2034. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output. </td></tr>
  2035. <tr><td class="paramdir">[in]</td><td class="paramname">fatDate</td><td>The date field from a directory entry. </td></tr>
  2036. </table>
  2037. </dd>
  2038. </dl>
  2039. </div>
  2040. </div>
  2041. <a class="anchor" id="a9d7dcf89a8d3144731e59ea74a640d68"></a>
  2042. <div class="memitem">
  2043. <div class="memproto">
  2044. <table class="mlabels">
  2045. <tr>
  2046. <td class="mlabels-left">
  2047. <table class="memname">
  2048. <tr>
  2049. <td class="memname">void SdBaseFile::printFatTime </td>
  2050. <td>(</td>
  2051. <td class="paramtype">uint16_t&#160;</td>
  2052. <td class="paramname"><em>fatTime</em></td><td>)</td>
  2053. <td></td>
  2054. </tr>
  2055. </table>
  2056. </td>
  2057. <td class="mlabels-right">
  2058. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2059. </tr>
  2060. </table>
  2061. </div><div class="memdoc">
  2062. <p>Print a directory time field to stdOut.</p>
  2063. <p>Format is hh:mm:ss.</p>
  2064. <dl class="params"><dt>Parameters</dt><dd>
  2065. <table class="params">
  2066. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>The time field from a directory entry. </td></tr>
  2067. </table>
  2068. </dd>
  2069. </dl>
  2070. </div>
  2071. </div>
  2072. <a class="anchor" id="af4d9cedda669bccdc8c8eeea73d04943"></a>
  2073. <div class="memitem">
  2074. <div class="memproto">
  2075. <table class="mlabels">
  2076. <tr>
  2077. <td class="mlabels-left">
  2078. <table class="memname">
  2079. <tr>
  2080. <td class="memname">void SdBaseFile::printFatTime </td>
  2081. <td>(</td>
  2082. <td class="paramtype">Print *&#160;</td>
  2083. <td class="paramname"><em>pr</em>, </td>
  2084. </tr>
  2085. <tr>
  2086. <td class="paramkey"></td>
  2087. <td></td>
  2088. <td class="paramtype">uint16_t&#160;</td>
  2089. <td class="paramname"><em>fatTime</em>&#160;</td>
  2090. </tr>
  2091. <tr>
  2092. <td></td>
  2093. <td>)</td>
  2094. <td></td><td></td>
  2095. </tr>
  2096. </table>
  2097. </td>
  2098. <td class="mlabels-right">
  2099. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2100. </tr>
  2101. </table>
  2102. </div><div class="memdoc">
  2103. <p>Print a directory time field.</p>
  2104. <p>Format is hh:mm:ss.</p>
  2105. <dl class="params"><dt>Parameters</dt><dd>
  2106. <table class="params">
  2107. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output. </td></tr>
  2108. <tr><td class="paramdir">[in]</td><td class="paramname">fatTime</td><td>The time field from a directory entry. </td></tr>
  2109. </table>
  2110. </dd>
  2111. </dl>
  2112. </div>
  2113. </div>
  2114. <a class="anchor" id="aeb099d29e90975736f79fe54a31936b9"></a>
  2115. <div class="memitem">
  2116. <div class="memproto">
  2117. <table class="mlabels">
  2118. <tr>
  2119. <td class="mlabels-left">
  2120. <table class="memname">
  2121. <tr>
  2122. <td class="memname">int SdBaseFile::printField </td>
  2123. <td>(</td>
  2124. <td class="paramtype">float&#160;</td>
  2125. <td class="paramname"><em>value</em>, </td>
  2126. </tr>
  2127. <tr>
  2128. <td class="paramkey"></td>
  2129. <td></td>
  2130. <td class="paramtype">char&#160;</td>
  2131. <td class="paramname"><em>term</em>, </td>
  2132. </tr>
  2133. <tr>
  2134. <td class="paramkey"></td>
  2135. <td></td>
  2136. <td class="paramtype">uint8_t&#160;</td>
  2137. <td class="paramname"><em>prec</em> = <code>2</code>&#160;</td>
  2138. </tr>
  2139. <tr>
  2140. <td></td>
  2141. <td>)</td>
  2142. <td></td><td></td>
  2143. </tr>
  2144. </table>
  2145. </td>
  2146. <td class="mlabels-right">
  2147. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2148. </tr>
  2149. </table>
  2150. </div><div class="memdoc">
  2151. <p>Print a number followed by a field terminator. </p>
  2152. <dl class="params"><dt>Parameters</dt><dd>
  2153. <table class="params">
  2154. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2155. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2156. <tr><td class="paramdir">[in]</td><td class="paramname">prec</td><td>Number of digits after decimal point. </td></tr>
  2157. </table>
  2158. </dd>
  2159. </dl>
  2160. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2161. </div>
  2162. </div>
  2163. <a class="anchor" id="a8fcc3db8e05121c739d8d43ee40fec72"></a>
  2164. <div class="memitem">
  2165. <div class="memproto">
  2166. <table class="mlabels">
  2167. <tr>
  2168. <td class="mlabels-left">
  2169. <table class="memname">
  2170. <tr>
  2171. <td class="memname">int SdBaseFile::printField </td>
  2172. <td>(</td>
  2173. <td class="paramtype">int16_t&#160;</td>
  2174. <td class="paramname"><em>value</em>, </td>
  2175. </tr>
  2176. <tr>
  2177. <td class="paramkey"></td>
  2178. <td></td>
  2179. <td class="paramtype">char&#160;</td>
  2180. <td class="paramname"><em>term</em>&#160;</td>
  2181. </tr>
  2182. <tr>
  2183. <td></td>
  2184. <td>)</td>
  2185. <td></td><td></td>
  2186. </tr>
  2187. </table>
  2188. </td>
  2189. <td class="mlabels-right">
  2190. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2191. </tr>
  2192. </table>
  2193. </div><div class="memdoc">
  2194. <p>Print a number followed by a field terminator. </p>
  2195. <dl class="params"><dt>Parameters</dt><dd>
  2196. <table class="params">
  2197. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2198. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2199. </table>
  2200. </dd>
  2201. </dl>
  2202. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2203. </div>
  2204. </div>
  2205. <a class="anchor" id="a71050abe5bed8e44f48ae75627b54c63"></a>
  2206. <div class="memitem">
  2207. <div class="memproto">
  2208. <table class="mlabels">
  2209. <tr>
  2210. <td class="mlabels-left">
  2211. <table class="memname">
  2212. <tr>
  2213. <td class="memname">int SdBaseFile::printField </td>
  2214. <td>(</td>
  2215. <td class="paramtype">uint16_t&#160;</td>
  2216. <td class="paramname"><em>value</em>, </td>
  2217. </tr>
  2218. <tr>
  2219. <td class="paramkey"></td>
  2220. <td></td>
  2221. <td class="paramtype">char&#160;</td>
  2222. <td class="paramname"><em>term</em>&#160;</td>
  2223. </tr>
  2224. <tr>
  2225. <td></td>
  2226. <td>)</td>
  2227. <td></td><td></td>
  2228. </tr>
  2229. </table>
  2230. </td>
  2231. <td class="mlabels-right">
  2232. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2233. </tr>
  2234. </table>
  2235. </div><div class="memdoc">
  2236. <p>Print a number followed by a field terminator. </p>
  2237. <dl class="params"><dt>Parameters</dt><dd>
  2238. <table class="params">
  2239. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2240. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2241. </table>
  2242. </dd>
  2243. </dl>
  2244. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2245. </div>
  2246. </div>
  2247. <a class="anchor" id="a770817e273c68fb830f9f029c39fc41c"></a>
  2248. <div class="memitem">
  2249. <div class="memproto">
  2250. <table class="mlabels">
  2251. <tr>
  2252. <td class="mlabels-left">
  2253. <table class="memname">
  2254. <tr>
  2255. <td class="memname">int SdBaseFile::printField </td>
  2256. <td>(</td>
  2257. <td class="paramtype">int32_t&#160;</td>
  2258. <td class="paramname"><em>value</em>, </td>
  2259. </tr>
  2260. <tr>
  2261. <td class="paramkey"></td>
  2262. <td></td>
  2263. <td class="paramtype">char&#160;</td>
  2264. <td class="paramname"><em>term</em>&#160;</td>
  2265. </tr>
  2266. <tr>
  2267. <td></td>
  2268. <td>)</td>
  2269. <td></td><td></td>
  2270. </tr>
  2271. </table>
  2272. </td>
  2273. <td class="mlabels-right">
  2274. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2275. </tr>
  2276. </table>
  2277. </div><div class="memdoc">
  2278. <p>Print a number followed by a field terminator. </p>
  2279. <dl class="params"><dt>Parameters</dt><dd>
  2280. <table class="params">
  2281. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2282. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2283. </table>
  2284. </dd>
  2285. </dl>
  2286. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2287. </div>
  2288. </div>
  2289. <a class="anchor" id="a27146777c4d215cb5887edab4b4599b0"></a>
  2290. <div class="memitem">
  2291. <div class="memproto">
  2292. <table class="mlabels">
  2293. <tr>
  2294. <td class="mlabels-left">
  2295. <table class="memname">
  2296. <tr>
  2297. <td class="memname">int SdBaseFile::printField </td>
  2298. <td>(</td>
  2299. <td class="paramtype">uint32_t&#160;</td>
  2300. <td class="paramname"><em>value</em>, </td>
  2301. </tr>
  2302. <tr>
  2303. <td class="paramkey"></td>
  2304. <td></td>
  2305. <td class="paramtype">char&#160;</td>
  2306. <td class="paramname"><em>term</em>&#160;</td>
  2307. </tr>
  2308. <tr>
  2309. <td></td>
  2310. <td>)</td>
  2311. <td></td><td></td>
  2312. </tr>
  2313. </table>
  2314. </td>
  2315. <td class="mlabels-right">
  2316. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2317. </tr>
  2318. </table>
  2319. </div><div class="memdoc">
  2320. <p>Print a number followed by a field terminator. </p>
  2321. <dl class="params"><dt>Parameters</dt><dd>
  2322. <table class="params">
  2323. <tr><td class="paramdir">[in]</td><td class="paramname">value</td><td>The number to be printed. </td></tr>
  2324. <tr><td class="paramdir">[in]</td><td class="paramname">term</td><td>The field terminator. Use '\n' for CR LF. </td></tr>
  2325. </table>
  2326. </dd>
  2327. </dl>
  2328. <dl class="section return"><dt>Returns</dt><dd>The number of bytes written or -1 if an error occurs. </dd></dl>
  2329. </div>
  2330. </div>
  2331. <a class="anchor" id="a0591fd1f5abc8d02547451eacd08e804"></a>
  2332. <div class="memitem">
  2333. <div class="memproto">
  2334. <table class="mlabels">
  2335. <tr>
  2336. <td class="mlabels-left">
  2337. <table class="memname">
  2338. <tr>
  2339. <td class="memname">size_t SdBaseFile::printFileSize </td>
  2340. <td>(</td>
  2341. <td class="paramtype">Print *&#160;</td>
  2342. <td class="paramname"><em>pr</em></td><td>)</td>
  2343. <td></td>
  2344. </tr>
  2345. </table>
  2346. </td>
  2347. <td class="mlabels-right">
  2348. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2349. </tr>
  2350. </table>
  2351. </div><div class="memdoc">
  2352. </div>
  2353. </div>
  2354. <a class="anchor" id="a65604a3450e69799f2969b6a145647dc"></a>
  2355. <div class="memitem">
  2356. <div class="memproto">
  2357. <table class="mlabels">
  2358. <tr>
  2359. <td class="mlabels-left">
  2360. <table class="memname">
  2361. <tr>
  2362. <td class="memname">bool SdBaseFile::printModifyDateTime </td>
  2363. <td>(</td>
  2364. <td class="paramtype">Print *&#160;</td>
  2365. <td class="paramname"><em>pr</em></td><td>)</td>
  2366. <td></td>
  2367. </tr>
  2368. </table>
  2369. </td>
  2370. <td class="mlabels-right">
  2371. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2372. </tr>
  2373. </table>
  2374. </div><div class="memdoc">
  2375. <p>Print a file's modify date and time</p>
  2376. <dl class="params"><dt>Parameters</dt><dd>
  2377. <table class="params">
  2378. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2379. </table>
  2380. </dd>
  2381. </dl>
  2382. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  2383. </div>
  2384. </div>
  2385. <a class="anchor" id="add1a682e60aa3d8c030805122d5aa4e3"></a>
  2386. <div class="memitem">
  2387. <div class="memproto">
  2388. <table class="mlabels">
  2389. <tr>
  2390. <td class="mlabels-left">
  2391. <table class="memname">
  2392. <tr>
  2393. <td class="memname">size_t SdBaseFile::printName </td>
  2394. <td>(</td>
  2395. <td class="paramname"></td><td>)</td>
  2396. <td></td>
  2397. </tr>
  2398. </table>
  2399. </td>
  2400. <td class="mlabels-right">
  2401. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2402. </tr>
  2403. </table>
  2404. </div><div class="memdoc">
  2405. <p>Print a file's name to stdOut</p>
  2406. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  2407. </div>
  2408. </div>
  2409. <a class="anchor" id="a942e26db2e764fccaeefea0fb371864d"></a>
  2410. <div class="memitem">
  2411. <div class="memproto">
  2412. <table class="mlabels">
  2413. <tr>
  2414. <td class="mlabels-left">
  2415. <table class="memname">
  2416. <tr>
  2417. <td class="memname">size_t SdBaseFile::printName </td>
  2418. <td>(</td>
  2419. <td class="paramtype">Print *&#160;</td>
  2420. <td class="paramname"><em>pr</em></td><td>)</td>
  2421. <td></td>
  2422. </tr>
  2423. </table>
  2424. </td>
  2425. <td class="mlabels-right">
  2426. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2427. </tr>
  2428. </table>
  2429. </div><div class="memdoc">
  2430. <p>Print a file's name</p>
  2431. <dl class="params"><dt>Parameters</dt><dd>
  2432. <table class="params">
  2433. <tr><td class="paramdir">[in]</td><td class="paramname">pr</td><td>Print stream for output.</td></tr>
  2434. </table>
  2435. </dd>
  2436. </dl>
  2437. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  2438. </div>
  2439. </div>
  2440. <a class="anchor" id="aacc57e1e46e23f2f54898ff6a89129a2"></a>
  2441. <div class="memitem">
  2442. <div class="memproto">
  2443. <table class="mlabels">
  2444. <tr>
  2445. <td class="mlabels-left">
  2446. <table class="memname">
  2447. <tr>
  2448. <td class="memname"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios::rdstate </td>
  2449. <td>(</td>
  2450. <td class="paramname"></td><td>)</td>
  2451. <td> const</td>
  2452. </tr>
  2453. </table>
  2454. </td>
  2455. <td class="mlabels-right">
  2456. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2457. </tr>
  2458. </table>
  2459. </div><div class="memdoc">
  2460. <dl class="section return"><dt>Returns</dt><dd>The iostate flags for this file. </dd></dl>
  2461. </div>
  2462. </div>
  2463. <a class="anchor" id="a145595e55db1629fa126ffa2628fe9eb"></a>
  2464. <div class="memitem">
  2465. <div class="memproto">
  2466. <table class="mlabels">
  2467. <tr>
  2468. <td class="mlabels-left">
  2469. <table class="memname">
  2470. <tr>
  2471. <td class="memname">int16_t SdBaseFile::read </td>
  2472. <td>(</td>
  2473. <td class="paramname"></td><td>)</td>
  2474. <td></td>
  2475. </tr>
  2476. </table>
  2477. </td>
  2478. <td class="mlabels-right">
  2479. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2480. </tr>
  2481. </table>
  2482. </div><div class="memdoc">
  2483. <p>Read the next byte from a file.</p>
  2484. <dl class="section return"><dt>Returns</dt><dd>For success read returns the next byte in the file as an int. If an error occurs or end of file is reached -1 is returned. </dd></dl>
  2485. </div>
  2486. </div>
  2487. <a class="anchor" id="aa70609890c15df7c49d65b07d1161a3f"></a>
  2488. <div class="memitem">
  2489. <div class="memproto">
  2490. <table class="mlabels">
  2491. <tr>
  2492. <td class="mlabels-left">
  2493. <table class="memname">
  2494. <tr>
  2495. <td class="memname">int SdBaseFile::read </td>
  2496. <td>(</td>
  2497. <td class="paramtype">void *&#160;</td>
  2498. <td class="paramname"><em>buf</em>, </td>
  2499. </tr>
  2500. <tr>
  2501. <td class="paramkey"></td>
  2502. <td></td>
  2503. <td class="paramtype">size_t&#160;</td>
  2504. <td class="paramname"><em>nbyte</em>&#160;</td>
  2505. </tr>
  2506. <tr>
  2507. <td></td>
  2508. <td>)</td>
  2509. <td></td><td></td>
  2510. </tr>
  2511. </table>
  2512. </td>
  2513. <td class="mlabels-right">
  2514. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2515. </tr>
  2516. </table>
  2517. </div><div class="memdoc">
  2518. <p>Read data from a file starting at the current position.</p>
  2519. <dl class="params"><dt>Parameters</dt><dd>
  2520. <table class="params">
  2521. <tr><td class="paramdir">[out]</td><td class="paramname">buf</td><td>Pointer to the location that will receive the data.</td></tr>
  2522. <tr><td class="paramdir">[in]</td><td class="paramname">nbyte</td><td>Maximum number of bytes to read.</td></tr>
  2523. </table>
  2524. </dd>
  2525. </dl>
  2526. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_sd_base_file.html#a145595e55db1629fa126ffa2628fe9eb">read()</a> returns the number of bytes read. A value less than <em>nbyte</em>, including zero, will be returned if end of file is reached. If an error occurs, <a class="el" href="class_sd_base_file.html#a145595e55db1629fa126ffa2628fe9eb">read()</a> returns -1. Possible errors include <a class="el" href="class_sd_base_file.html#a145595e55db1629fa126ffa2628fe9eb">read()</a> called before a file has been opened, corrupt file system or an I/O error occurred. </dd></dl>
  2527. </div>
  2528. </div>
  2529. <a class="anchor" id="ae5dd9c5f9764db71c90c5fcfb02b2c97"></a>
  2530. <div class="memitem">
  2531. <div class="memproto">
  2532. <table class="mlabels">
  2533. <tr>
  2534. <td class="mlabels-left">
  2535. <table class="memname">
  2536. <tr>
  2537. <td class="memname">int8_t SdBaseFile::readDir </td>
  2538. <td>(</td>
  2539. <td class="paramtype">dir_t *&#160;</td>
  2540. <td class="paramname"><em>dir</em></td><td>)</td>
  2541. <td></td>
  2542. </tr>
  2543. </table>
  2544. </td>
  2545. <td class="mlabels-right">
  2546. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2547. </tr>
  2548. </table>
  2549. </div><div class="memdoc">
  2550. <p>Read the next directory entry from a directory file.</p>
  2551. <dl class="params"><dt>Parameters</dt><dd>
  2552. <table class="params">
  2553. <tr><td class="paramdir">[out]</td><td class="paramname">dir</td><td>The dir_t struct that will receive the data.</td></tr>
  2554. </table>
  2555. </dd>
  2556. </dl>
  2557. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_sd_base_file.html#ae5dd9c5f9764db71c90c5fcfb02b2c97">readDir()</a> returns the number of bytes read. A value of zero will be returned if end of file is reached. If an error occurs, <a class="el" href="class_sd_base_file.html#ae5dd9c5f9764db71c90c5fcfb02b2c97">readDir()</a> returns -1. Possible errors include <a class="el" href="class_sd_base_file.html#ae5dd9c5f9764db71c90c5fcfb02b2c97">readDir()</a> called before a directory has been opened, this is not a directory file or an I/O error occurred. </dd></dl>
  2558. </div>
  2559. </div>
  2560. <a class="anchor" id="a4951400870f3f5ed8cc3f46b69388ed7"></a>
  2561. <div class="memitem">
  2562. <div class="memproto">
  2563. <table class="mlabels">
  2564. <tr>
  2565. <td class="mlabels-left">
  2566. <table class="memname">
  2567. <tr>
  2568. <td class="memname">bool SdBaseFile::remove </td>
  2569. <td>(</td>
  2570. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  2571. <td class="paramname"><em>dirFile</em>, </td>
  2572. </tr>
  2573. <tr>
  2574. <td class="paramkey"></td>
  2575. <td></td>
  2576. <td class="paramtype">const char *&#160;</td>
  2577. <td class="paramname"><em>path</em>&#160;</td>
  2578. </tr>
  2579. <tr>
  2580. <td></td>
  2581. <td>)</td>
  2582. <td></td><td></td>
  2583. </tr>
  2584. </table>
  2585. </td>
  2586. <td class="mlabels-right">
  2587. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  2588. </tr>
  2589. </table>
  2590. </div><div class="memdoc">
  2591. <p>Remove a file.</p>
  2592. <p>The directory entry and all data for the file are deleted.</p>
  2593. <dl class="params"><dt>Parameters</dt><dd>
  2594. <table class="params">
  2595. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>The directory that contains the file. </td></tr>
  2596. <tr><td class="paramdir">[in]</td><td class="paramname">path</td><td>Path for the file to be removed.</td></tr>
  2597. </table>
  2598. </dd>
  2599. </dl>
  2600. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a file that has a long name. For example if a file has the long name "New Text Document.txt" you should not delete the 8.3 name "NEWTEX~1.TXT".</dd></dl>
  2601. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include the file is a directory, is read only, <em>dirFile</em> is not a directory, <em>path</em> is not found or an I/O error occurred. </dd></dl>
  2602. </div>
  2603. </div>
  2604. <a class="anchor" id="a6e88ee210c9bd7556477c0e7ba4de1bb"></a>
  2605. <div class="memitem">
  2606. <div class="memproto">
  2607. <table class="mlabels">
  2608. <tr>
  2609. <td class="mlabels-left">
  2610. <table class="memname">
  2611. <tr>
  2612. <td class="memname">bool SdBaseFile::remove </td>
  2613. <td>(</td>
  2614. <td class="paramname"></td><td>)</td>
  2615. <td></td>
  2616. </tr>
  2617. </table>
  2618. </td>
  2619. <td class="mlabels-right">
  2620. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2621. </tr>
  2622. </table>
  2623. </div><div class="memdoc">
  2624. <p>Remove a file.</p>
  2625. <p>The directory entry and all data for the file are deleted.</p>
  2626. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a file that has a long name. For example if a file has the long name "New Text Document.txt" you should not delete the 8.3 name "NEWTEX~1.TXT".</dd></dl>
  2627. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include the file read-only, is a directory, or an I/O error occurred. </dd></dl>
  2628. </div>
  2629. </div>
  2630. <a class="anchor" id="ad6e9f07c62add23dfe0338bdd0bf2d40"></a>
  2631. <div class="memitem">
  2632. <div class="memproto">
  2633. <table class="mlabels">
  2634. <tr>
  2635. <td class="mlabels-left">
  2636. <table class="memname">
  2637. <tr>
  2638. <td class="memname">bool SdBaseFile::rename </td>
  2639. <td>(</td>
  2640. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  2641. <td class="paramname"><em>dirFile</em>, </td>
  2642. </tr>
  2643. <tr>
  2644. <td class="paramkey"></td>
  2645. <td></td>
  2646. <td class="paramtype">const char *&#160;</td>
  2647. <td class="paramname"><em>newPath</em>&#160;</td>
  2648. </tr>
  2649. <tr>
  2650. <td></td>
  2651. <td>)</td>
  2652. <td></td><td></td>
  2653. </tr>
  2654. </table>
  2655. </td>
  2656. <td class="mlabels-right">
  2657. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2658. </tr>
  2659. </table>
  2660. </div><div class="memdoc">
  2661. <p>Rename a file or subdirectory.</p>
  2662. <dl class="params"><dt>Parameters</dt><dd>
  2663. <table class="params">
  2664. <tr><td class="paramdir">[in]</td><td class="paramname">dirFile</td><td>Directory for the new path. </td></tr>
  2665. <tr><td class="paramdir">[in]</td><td class="paramname">newPath</td><td>New path name for the file/directory.</td></tr>
  2666. </table>
  2667. </dd>
  2668. </dl>
  2669. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include <em>dirFile</em> is not open or is not a directory file, newPath is invalid or already exists, or an I/O error occurs. </dd></dl>
  2670. </div>
  2671. </div>
  2672. <a class="anchor" id="a7a5369b40eb15ad26c2e4af5d069c52c"></a>
  2673. <div class="memitem">
  2674. <div class="memproto">
  2675. <table class="mlabels">
  2676. <tr>
  2677. <td class="mlabels-left">
  2678. <table class="memname">
  2679. <tr>
  2680. <td class="memname">void SdBaseFile::rewind </td>
  2681. <td>(</td>
  2682. <td class="paramname"></td><td>)</td>
  2683. <td></td>
  2684. </tr>
  2685. </table>
  2686. </td>
  2687. <td class="mlabels-right">
  2688. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2689. </tr>
  2690. </table>
  2691. </div><div class="memdoc">
  2692. <p>Set the file's current position to zero. </p>
  2693. </div>
  2694. </div>
  2695. <a class="anchor" id="a7268834187e8216605963f8ae3cf1e6e"></a>
  2696. <div class="memitem">
  2697. <div class="memproto">
  2698. <table class="mlabels">
  2699. <tr>
  2700. <td class="mlabels-left">
  2701. <table class="memname">
  2702. <tr>
  2703. <td class="memname">bool SdBaseFile::rmdir </td>
  2704. <td>(</td>
  2705. <td class="paramname"></td><td>)</td>
  2706. <td></td>
  2707. </tr>
  2708. </table>
  2709. </td>
  2710. <td class="mlabels-right">
  2711. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2712. </tr>
  2713. </table>
  2714. </div><div class="memdoc">
  2715. <p>Remove a directory file.</p>
  2716. <p>The directory file will be removed only if it is empty and is not the root directory. <a class="el" href="class_sd_base_file.html#a7268834187e8216605963f8ae3cf1e6e">rmdir()</a> follows DOS and Windows and ignores the read-only attribute for the directory.</p>
  2717. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a directory that has a long name. For example if a directory has the long name "New folder" you should not delete the 8.3 name "NEWFOL~1".</dd></dl>
  2718. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include the file is not a directory, is the root directory, is not empty, or an I/O error occurred. </dd></dl>
  2719. </div>
  2720. </div>
  2721. <a class="anchor" id="a4186ba79c83005971096966c0fd02d46"></a>
  2722. <div class="memitem">
  2723. <div class="memproto">
  2724. <table class="mlabels">
  2725. <tr>
  2726. <td class="mlabels-left">
  2727. <table class="memname">
  2728. <tr>
  2729. <td class="memname">bool SdBaseFile::rmRfStar </td>
  2730. <td>(</td>
  2731. <td class="paramname"></td><td>)</td>
  2732. <td></td>
  2733. </tr>
  2734. </table>
  2735. </td>
  2736. <td class="mlabels-right">
  2737. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2738. </tr>
  2739. </table>
  2740. </div><div class="memdoc">
  2741. <p>Recursively delete a directory and all contained files.</p>
  2742. <p>This is like the Unix/Linux 'rm -rf *' if called with the root directory hence the name.</p>
  2743. <p>Warning - This will remove all contents of the directory including subdirectories. The directory will then be removed if it is not root. The read-only attribute for files will be ignored.</p>
  2744. <dl class="section note"><dt>Note</dt><dd>This function should not be used to delete the 8.3 version of a directory that has a long name. See <a class="el" href="class_sd_base_file.html#a6e88ee210c9bd7556477c0e7ba4de1bb">remove()</a> and <a class="el" href="class_sd_base_file.html#a7268834187e8216605963f8ae3cf1e6e">rmdir()</a>.</dd></dl>
  2745. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  2746. </div>
  2747. </div>
  2748. <a class="anchor" id="ab04ec7e129607973f6e3436f779b6501"></a>
  2749. <div class="memitem">
  2750. <div class="memproto">
  2751. <table class="mlabels">
  2752. <tr>
  2753. <td class="mlabels-left">
  2754. <table class="memname">
  2755. <tr>
  2756. <td class="memname">bool SdBaseFile::seekCur </td>
  2757. <td>(</td>
  2758. <td class="paramtype">int32_t&#160;</td>
  2759. <td class="paramname"><em>offset</em></td><td>)</td>
  2760. <td></td>
  2761. </tr>
  2762. </table>
  2763. </td>
  2764. <td class="mlabels-right">
  2765. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2766. </tr>
  2767. </table>
  2768. </div><div class="memdoc">
  2769. <p>Set the files position to current position + <em>pos</em>. See <a class="el" href="class_sd_base_file.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet()</a>. </p>
  2770. <dl class="params"><dt>Parameters</dt><dd>
  2771. <table class="params">
  2772. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The new position in bytes from the current position. </td></tr>
  2773. </table>
  2774. </dd>
  2775. </dl>
  2776. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2777. </div>
  2778. </div>
  2779. <a class="anchor" id="a6f42e496b179dbdd2c09083cfad28613"></a>
  2780. <div class="memitem">
  2781. <div class="memproto">
  2782. <table class="mlabels">
  2783. <tr>
  2784. <td class="mlabels-left">
  2785. <table class="memname">
  2786. <tr>
  2787. <td class="memname">bool SdBaseFile::seekEnd </td>
  2788. <td>(</td>
  2789. <td class="paramtype">int32_t&#160;</td>
  2790. <td class="paramname"><em>offset</em> = <code>0</code></td><td>)</td>
  2791. <td></td>
  2792. </tr>
  2793. </table>
  2794. </td>
  2795. <td class="mlabels-right">
  2796. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2797. </tr>
  2798. </table>
  2799. </div><div class="memdoc">
  2800. <p>Set the files position to end-of-file + <em>offset</em>. See <a class="el" href="class_sd_base_file.html#afe6aeaf0ca7573ceb8bb335c802dab16">seekSet()</a>. </p>
  2801. <dl class="params"><dt>Parameters</dt><dd>
  2802. <table class="params">
  2803. <tr><td class="paramdir">[in]</td><td class="paramname">offset</td><td>The new position in bytes from end-of-file. </td></tr>
  2804. </table>
  2805. </dd>
  2806. </dl>
  2807. <dl class="section return"><dt>Returns</dt><dd>true for success or false for failure. </dd></dl>
  2808. </div>
  2809. </div>
  2810. <a class="anchor" id="afe6aeaf0ca7573ceb8bb335c802dab16"></a>
  2811. <div class="memitem">
  2812. <div class="memproto">
  2813. <table class="mlabels">
  2814. <tr>
  2815. <td class="mlabels-left">
  2816. <table class="memname">
  2817. <tr>
  2818. <td class="memname">bool SdBaseFile::seekSet </td>
  2819. <td>(</td>
  2820. <td class="paramtype">uint32_t&#160;</td>
  2821. <td class="paramname"><em>pos</em></td><td>)</td>
  2822. <td></td>
  2823. </tr>
  2824. </table>
  2825. </td>
  2826. <td class="mlabels-right">
  2827. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2828. </tr>
  2829. </table>
  2830. </div><div class="memdoc">
  2831. <p>Sets a file's position.</p>
  2832. <dl class="params"><dt>Parameters</dt><dd>
  2833. <table class="params">
  2834. <tr><td class="paramdir">[in]</td><td class="paramname">pos</td><td>The new position in bytes from the beginning of the file.</td></tr>
  2835. </table>
  2836. </dd>
  2837. </dl>
  2838. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  2839. </div>
  2840. </div>
  2841. <a class="anchor" id="ab5db835cb45bba7684ebf72d9a3cccb4"></a>
  2842. <div class="memitem">
  2843. <div class="memproto">
  2844. <table class="mlabels">
  2845. <tr>
  2846. <td class="mlabels-left">
  2847. <table class="memname">
  2848. <tr>
  2849. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::setf </td>
  2850. <td>(</td>
  2851. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  2852. <td class="paramname"><em>fl</em></td><td>)</td>
  2853. <td></td>
  2854. </tr>
  2855. </table>
  2856. </td>
  2857. <td class="mlabels-right">
  2858. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2859. </tr>
  2860. </table>
  2861. </div><div class="memdoc">
  2862. <p>set format flags </p>
  2863. <dl class="params"><dt>Parameters</dt><dd>
  2864. <table class="params">
  2865. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>new flags to be or'ed in </td></tr>
  2866. </table>
  2867. </dd>
  2868. </dl>
  2869. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  2870. </div>
  2871. </div>
  2872. <a class="anchor" id="a74dbc93607ab7d68a87ec326b92b6c81"></a>
  2873. <div class="memitem">
  2874. <div class="memproto">
  2875. <table class="mlabels">
  2876. <tr>
  2877. <td class="mlabels-left">
  2878. <table class="memname">
  2879. <tr>
  2880. <td class="memname"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::setf </td>
  2881. <td>(</td>
  2882. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  2883. <td class="paramname"><em>fl</em>, </td>
  2884. </tr>
  2885. <tr>
  2886. <td class="paramkey"></td>
  2887. <td></td>
  2888. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  2889. <td class="paramname"><em>mask</em>&#160;</td>
  2890. </tr>
  2891. <tr>
  2892. <td></td>
  2893. <td>)</td>
  2894. <td></td><td></td>
  2895. </tr>
  2896. </table>
  2897. </td>
  2898. <td class="mlabels-right">
  2899. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2900. </tr>
  2901. </table>
  2902. </div><div class="memdoc">
  2903. <p>modify format flags </p>
  2904. <dl class="params"><dt>Parameters</dt><dd>
  2905. <table class="params">
  2906. <tr><td class="paramdir">[in]</td><td class="paramname">mask</td><td>flags to be removed </td></tr>
  2907. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>flags to be set after mask bits have been cleared </td></tr>
  2908. </table>
  2909. </dd>
  2910. </dl>
  2911. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  2912. </div>
  2913. </div>
  2914. <a class="anchor" id="a71170390855df02c88cbda6e727e9609"></a>
  2915. <div class="memitem">
  2916. <div class="memproto">
  2917. <table class="mlabels">
  2918. <tr>
  2919. <td class="mlabels-left">
  2920. <table class="memname">
  2921. <tr>
  2922. <td class="memname">void SdBaseFile::setpos </td>
  2923. <td>(</td>
  2924. <td class="paramtype"><a class="el" href="struct_fat_pos__t.html">FatPos_t</a> *&#160;</td>
  2925. <td class="paramname"><em>pos</em></td><td>)</td>
  2926. <td></td>
  2927. </tr>
  2928. </table>
  2929. </td>
  2930. <td class="mlabels-right">
  2931. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2932. </tr>
  2933. </table>
  2934. </div><div class="memdoc">
  2935. <p>set position for streams </p>
  2936. <dl class="params"><dt>Parameters</dt><dd>
  2937. <table class="params">
  2938. <tr><td class="paramdir">[out]</td><td class="paramname">pos</td><td>struct with value for new position </td></tr>
  2939. </table>
  2940. </dd>
  2941. </dl>
  2942. </div>
  2943. </div>
  2944. <a class="anchor" id="aee5d194656bdfb0c8621b23ea2f51afb"></a>
  2945. <div class="memitem">
  2946. <div class="memproto">
  2947. <table class="mlabels">
  2948. <tr>
  2949. <td class="mlabels-left">
  2950. <table class="memname">
  2951. <tr>
  2952. <td class="memname">void ios::setstate </td>
  2953. <td>(</td>
  2954. <td class="paramtype"><a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a>&#160;</td>
  2955. <td class="paramname"><em>state</em></td><td>)</td>
  2956. <td></td>
  2957. </tr>
  2958. </table>
  2959. </td>
  2960. <td class="mlabels-right">
  2961. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  2962. </tr>
  2963. </table>
  2964. </div><div class="memdoc">
  2965. <p>Set iostate bits.</p>
  2966. <dl class="params"><dt>Parameters</dt><dd>
  2967. <table class="params">
  2968. <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>Bitts to set. </td></tr>
  2969. </table>
  2970. </dd>
  2971. </dl>
  2972. </div>
  2973. </div>
  2974. <a class="anchor" id="a292247972772be832f2c6ea166f4049a"></a>
  2975. <div class="memitem">
  2976. <div class="memproto">
  2977. <table class="mlabels">
  2978. <tr>
  2979. <td class="mlabels-left">
  2980. <table class="memname">
  2981. <tr>
  2982. <td class="memname">bool SdBaseFile::sync </td>
  2983. <td>(</td>
  2984. <td class="paramname"></td><td>)</td>
  2985. <td></td>
  2986. </tr>
  2987. </table>
  2988. </td>
  2989. <td class="mlabels-right">
  2990. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  2991. </tr>
  2992. </table>
  2993. </div><div class="memdoc">
  2994. <p>The <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a> call causes all modified data and directory fields to be written to the storage device.</p>
  2995. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include a call to <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a> before a file has been opened or an I/O error. </dd></dl>
  2996. </div>
  2997. </div>
  2998. <a class="anchor" id="adf84a0487f3b45fc183756b9d17141cd"></a>
  2999. <div class="memitem">
  3000. <div class="memproto">
  3001. <table class="mlabels">
  3002. <tr>
  3003. <td class="mlabels-left">
  3004. <table class="memname">
  3005. <tr>
  3006. <td class="memname">bool SdBaseFile::timestamp </td>
  3007. <td>(</td>
  3008. <td class="paramtype"><a class="el" href="class_sd_base_file.html">SdBaseFile</a> *&#160;</td>
  3009. <td class="paramname"><em>file</em></td><td>)</td>
  3010. <td></td>
  3011. </tr>
  3012. </table>
  3013. </td>
  3014. <td class="mlabels-right">
  3015. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3016. </tr>
  3017. </table>
  3018. </div><div class="memdoc">
  3019. <p>Copy a file's timestamps</p>
  3020. <dl class="params"><dt>Parameters</dt><dd>
  3021. <table class="params">
  3022. <tr><td class="paramdir">[in]</td><td class="paramname">file</td><td>File to copy timestamps from.</td></tr>
  3023. </table>
  3024. </dd>
  3025. </dl>
  3026. <dl class="section note"><dt>Note</dt><dd>Modify and access timestamps may be overwritten if a date time callback function has been set by <a class="el" href="class_sd_base_file.html#a1664a62726dcd7ff82c12d724b3b34df">dateTimeCallback()</a>.</dd></dl>
  3027. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  3028. </div>
  3029. </div>
  3030. <a class="anchor" id="ae55ad6000c44fc73e15934381b305dc4"></a>
  3031. <div class="memitem">
  3032. <div class="memproto">
  3033. <table class="mlabels">
  3034. <tr>
  3035. <td class="mlabels-left">
  3036. <table class="memname">
  3037. <tr>
  3038. <td class="memname">bool SdBaseFile::timestamp </td>
  3039. <td>(</td>
  3040. <td class="paramtype">uint8_t&#160;</td>
  3041. <td class="paramname"><em>flags</em>, </td>
  3042. </tr>
  3043. <tr>
  3044. <td class="paramkey"></td>
  3045. <td></td>
  3046. <td class="paramtype">uint16_t&#160;</td>
  3047. <td class="paramname"><em>year</em>, </td>
  3048. </tr>
  3049. <tr>
  3050. <td class="paramkey"></td>
  3051. <td></td>
  3052. <td class="paramtype">uint8_t&#160;</td>
  3053. <td class="paramname"><em>month</em>, </td>
  3054. </tr>
  3055. <tr>
  3056. <td class="paramkey"></td>
  3057. <td></td>
  3058. <td class="paramtype">uint8_t&#160;</td>
  3059. <td class="paramname"><em>day</em>, </td>
  3060. </tr>
  3061. <tr>
  3062. <td class="paramkey"></td>
  3063. <td></td>
  3064. <td class="paramtype">uint8_t&#160;</td>
  3065. <td class="paramname"><em>hour</em>, </td>
  3066. </tr>
  3067. <tr>
  3068. <td class="paramkey"></td>
  3069. <td></td>
  3070. <td class="paramtype">uint8_t&#160;</td>
  3071. <td class="paramname"><em>minute</em>, </td>
  3072. </tr>
  3073. <tr>
  3074. <td class="paramkey"></td>
  3075. <td></td>
  3076. <td class="paramtype">uint8_t&#160;</td>
  3077. <td class="paramname"><em>second</em>&#160;</td>
  3078. </tr>
  3079. <tr>
  3080. <td></td>
  3081. <td>)</td>
  3082. <td></td><td></td>
  3083. </tr>
  3084. </table>
  3085. </td>
  3086. <td class="mlabels-right">
  3087. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3088. </tr>
  3089. </table>
  3090. </div><div class="memdoc">
  3091. <p>Set a file's timestamps in its directory entry.</p>
  3092. <dl class="params"><dt>Parameters</dt><dd>
  3093. <table class="params">
  3094. <tr><td class="paramdir">[in]</td><td class="paramname">flags</td><td>Values for <em>flags</em> are constructed by a bitwise-inclusive OR of flags from the following list</td></tr>
  3095. </table>
  3096. </dd>
  3097. </dl>
  3098. <p>T_ACCESS - Set the file's last access date.</p>
  3099. <p>T_CREATE - Set the file's creation date and time.</p>
  3100. <p>T_WRITE - Set the file's last write/modification date and time.</p>
  3101. <dl class="params"><dt>Parameters</dt><dd>
  3102. <table class="params">
  3103. <tr><td class="paramdir">[in]</td><td class="paramname">year</td><td>Valid range 1980 - 2107 inclusive.</td></tr>
  3104. <tr><td class="paramdir">[in]</td><td class="paramname">month</td><td>Valid range 1 - 12 inclusive.</td></tr>
  3105. <tr><td class="paramdir">[in]</td><td class="paramname">day</td><td>Valid range 1 - 31 inclusive.</td></tr>
  3106. <tr><td class="paramdir">[in]</td><td class="paramname">hour</td><td>Valid range 0 - 23 inclusive.</td></tr>
  3107. <tr><td class="paramdir">[in]</td><td class="paramname">minute</td><td>Valid range 0 - 59 inclusive.</td></tr>
  3108. <tr><td class="paramdir">[in]</td><td class="paramname">second</td><td>Valid range 0 - 59 inclusive</td></tr>
  3109. </table>
  3110. </dd>
  3111. </dl>
  3112. <dl class="section note"><dt>Note</dt><dd>It is possible to set an invalid date since there is no check for the number of days in a month.</dd>
  3113. <dd>
  3114. Modify and access timestamps may be overwritten if a date time callback function has been set by <a class="el" href="class_sd_base_file.html#a1664a62726dcd7ff82c12d724b3b34df">dateTimeCallback()</a>.</dd></dl>
  3115. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. </dd></dl>
  3116. </div>
  3117. </div>
  3118. <a class="anchor" id="a9d1ad1abbd90089f731de81de1708c19"></a>
  3119. <div class="memitem">
  3120. <div class="memproto">
  3121. <table class="mlabels">
  3122. <tr>
  3123. <td class="mlabels-left">
  3124. <table class="memname">
  3125. <tr>
  3126. <td class="memname">bool SdBaseFile::truncate </td>
  3127. <td>(</td>
  3128. <td class="paramtype">uint32_t&#160;</td>
  3129. <td class="paramname"><em>length</em></td><td>)</td>
  3130. <td></td>
  3131. </tr>
  3132. </table>
  3133. </td>
  3134. <td class="mlabels-right">
  3135. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3136. </tr>
  3137. </table>
  3138. </div><div class="memdoc">
  3139. <p>Truncate a file to a specified length. The current file position will be maintained if it is less than or equal to <em>length</em> otherwise it will be set to end of file.</p>
  3140. <dl class="params"><dt>Parameters</dt><dd>
  3141. <table class="params">
  3142. <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The desired length for the file.</td></tr>
  3143. </table>
  3144. </dd>
  3145. </dl>
  3146. <dl class="section return"><dt>Returns</dt><dd>The value one, true, is returned for success and the value zero, false, is returned for failure. Reasons for failure include file is read only, file is a directory, <em>length</em> is greater than the current file size or an I/O error occurs. </dd></dl>
  3147. </div>
  3148. </div>
  3149. <a class="anchor" id="a1555e6866abc9c867c5fff189a3a4317"></a>
  3150. <div class="memitem">
  3151. <div class="memproto">
  3152. <table class="mlabels">
  3153. <tr>
  3154. <td class="mlabels-left">
  3155. <table class="memname">
  3156. <tr>
  3157. <td class="memname">uint8_t SdBaseFile::type </td>
  3158. <td>(</td>
  3159. <td class="paramname"></td><td>)</td>
  3160. <td> const</td>
  3161. </tr>
  3162. </table>
  3163. </td>
  3164. <td class="mlabels-right">
  3165. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3166. </tr>
  3167. </table>
  3168. </div><div class="memdoc">
  3169. <p>Type of file. You should use <a class="el" href="class_sd_base_file.html#ab57b9744531ee0fcfa18bebde9fc50db">isFile()</a> or <a class="el" href="class_sd_base_file.html#ad43ed061a1f77578d3c30a0f9b198497">isDir()</a> instead of <a class="el" href="class_sd_base_file.html#a1555e6866abc9c867c5fff189a3a4317">type()</a> if possible.</p>
  3170. <dl class="section return"><dt>Returns</dt><dd>The file or directory type. </dd></dl>
  3171. </div>
  3172. </div>
  3173. <a class="anchor" id="a3bf7d054a433ed15e8b984e16f630fa4"></a>
  3174. <div class="memitem">
  3175. <div class="memproto">
  3176. <table class="mlabels">
  3177. <tr>
  3178. <td class="mlabels-left">
  3179. <table class="memname">
  3180. <tr>
  3181. <td class="memname">void ios_base::unsetf </td>
  3182. <td>(</td>
  3183. <td class="paramtype"><a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a>&#160;</td>
  3184. <td class="paramname"><em>fl</em></td><td>)</td>
  3185. <td></td>
  3186. </tr>
  3187. </table>
  3188. </td>
  3189. <td class="mlabels-right">
  3190. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3191. </tr>
  3192. </table>
  3193. </div><div class="memdoc">
  3194. <p>clear format flags </p>
  3195. <dl class="params"><dt>Parameters</dt><dd>
  3196. <table class="params">
  3197. <tr><td class="paramdir">[in]</td><td class="paramname">fl</td><td>flags to be cleared </td></tr>
  3198. </table>
  3199. </dd>
  3200. </dl>
  3201. <dl class="section return"><dt>Returns</dt><dd>old flags </dd></dl>
  3202. </div>
  3203. </div>
  3204. <a class="anchor" id="acb021c2b7f68778d683d093775532a06"></a>
  3205. <div class="memitem">
  3206. <div class="memproto">
  3207. <table class="mlabels">
  3208. <tr>
  3209. <td class="mlabels-left">
  3210. <table class="memname">
  3211. <tr>
  3212. <td class="memname"><a class="el" href="class_sd_volume.html">SdVolume</a>* SdBaseFile::volume </td>
  3213. <td>(</td>
  3214. <td class="paramname"></td><td>)</td>
  3215. <td> const</td>
  3216. </tr>
  3217. </table>
  3218. </td>
  3219. <td class="mlabels-right">
  3220. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3221. </tr>
  3222. </table>
  3223. </div><div class="memdoc">
  3224. <dl class="section return"><dt>Returns</dt><dd><a class="el" href="class_sd_volume.html" title="Access FAT16 and FAT32 volumes on SD and SDHC cards. ">SdVolume</a> that contains this file. </dd></dl>
  3225. </div>
  3226. </div>
  3227. <a class="anchor" id="afa30e7644b4eae5928ad9c487ad387de"></a>
  3228. <div class="memitem">
  3229. <div class="memproto">
  3230. <table class="mlabels">
  3231. <tr>
  3232. <td class="mlabels-left">
  3233. <table class="memname">
  3234. <tr>
  3235. <td class="memname">unsigned ios_base::width </td>
  3236. <td>(</td>
  3237. <td class="paramname"></td><td>)</td>
  3238. <td></td>
  3239. </tr>
  3240. </table>
  3241. </td>
  3242. <td class="mlabels-right">
  3243. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3244. </tr>
  3245. </table>
  3246. </div><div class="memdoc">
  3247. <dl class="section return"><dt>Returns</dt><dd>width </dd></dl>
  3248. </div>
  3249. </div>
  3250. <a class="anchor" id="ab2ba0f005bbf3d8ebed93b64068492e0"></a>
  3251. <div class="memitem">
  3252. <div class="memproto">
  3253. <table class="mlabels">
  3254. <tr>
  3255. <td class="mlabels-left">
  3256. <table class="memname">
  3257. <tr>
  3258. <td class="memname">unsigned ios_base::width </td>
  3259. <td>(</td>
  3260. <td class="paramtype">unsigned&#160;</td>
  3261. <td class="paramname"><em>n</em></td><td>)</td>
  3262. <td></td>
  3263. </tr>
  3264. </table>
  3265. </td>
  3266. <td class="mlabels-right">
  3267. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">inherited</span></span> </td>
  3268. </tr>
  3269. </table>
  3270. </div><div class="memdoc">
  3271. <p>set width </p>
  3272. <dl class="params"><dt>Parameters</dt><dd>
  3273. <table class="params">
  3274. <tr><td class="paramdir">[in]</td><td class="paramname">n</td><td>new width </td></tr>
  3275. </table>
  3276. </dd>
  3277. </dl>
  3278. <dl class="section return"><dt>Returns</dt><dd>old width </dd></dl>
  3279. </div>
  3280. </div>
  3281. <a class="anchor" id="a874e3bae567f96bed5ad442beb846a61"></a>
  3282. <div class="memitem">
  3283. <div class="memproto">
  3284. <table class="mlabels">
  3285. <tr>
  3286. <td class="mlabels-left">
  3287. <table class="memname">
  3288. <tr>
  3289. <td class="memname">int SdBaseFile::write </td>
  3290. <td>(</td>
  3291. <td class="paramtype">const void *&#160;</td>
  3292. <td class="paramname"><em>buf</em>, </td>
  3293. </tr>
  3294. <tr>
  3295. <td class="paramkey"></td>
  3296. <td></td>
  3297. <td class="paramtype">size_t&#160;</td>
  3298. <td class="paramname"><em>nbyte</em>&#160;</td>
  3299. </tr>
  3300. <tr>
  3301. <td></td>
  3302. <td>)</td>
  3303. <td></td><td></td>
  3304. </tr>
  3305. </table>
  3306. </td>
  3307. <td class="mlabels-right">
  3308. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3309. </tr>
  3310. </table>
  3311. </div><div class="memdoc">
  3312. <p>Write data to an open file.</p>
  3313. <dl class="section note"><dt>Note</dt><dd>Data is moved to the cache but may not be written to the storage device until <a class="el" href="class_sd_base_file.html#a292247972772be832f2c6ea166f4049a">sync()</a> is called.</dd></dl>
  3314. <dl class="params"><dt>Parameters</dt><dd>
  3315. <table class="params">
  3316. <tr><td class="paramdir">[in]</td><td class="paramname">buf</td><td>Pointer to the location of the data to be written.</td></tr>
  3317. <tr><td class="paramdir">[in]</td><td class="paramname">nbyte</td><td>Number of bytes to write.</td></tr>
  3318. </table>
  3319. </dd>
  3320. </dl>
  3321. <dl class="section return"><dt>Returns</dt><dd>For success <a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write()</a> returns the number of bytes written, always <em>nbyte</em>. If an error occurs, <a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write()</a> returns -1. Possible errors include <a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write()</a> is called before a file has been opened, write is called for a read-only file, device is full, a corrupt file system or an I/O error. </dd></dl>
  3322. </div>
  3323. </div>
  3324. <h2 class="groupheader">Member Data Documentation</h2>
  3325. <a class="anchor" id="adaaf735381254aa096ebe3605e8bbd0a"></a>
  3326. <div class="memitem">
  3327. <div class="memproto">
  3328. <table class="mlabels">
  3329. <tr>
  3330. <td class="mlabels-left">
  3331. <table class="memname">
  3332. <tr>
  3333. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::adjustfield = <a class="el" href="classios__base.html#ad364df9af2cfde1f40bd8e10c62bb215">left</a> | <a class="el" href="classios__base.html#aec064a12730b5d87e718c1864e29ac64">right</a> | <a class="el" href="classios__base.html#afc720b7f6f461ec8e9cf5505059e5d7c">internal</a></td>
  3334. </tr>
  3335. </table>
  3336. </td>
  3337. <td class="mlabels-right">
  3338. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3339. </tr>
  3340. </table>
  3341. </div><div class="memdoc">
  3342. <p>mask for adjustfield </p>
  3343. </div>
  3344. </div>
  3345. <a class="anchor" id="a8380aac3c405730708888fdc68905820"></a>
  3346. <div class="memitem">
  3347. <div class="memproto">
  3348. <table class="mlabels">
  3349. <tr>
  3350. <td class="mlabels-left">
  3351. <table class="memname">
  3352. <tr>
  3353. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::app = 0X4</td>
  3354. </tr>
  3355. </table>
  3356. </td>
  3357. <td class="mlabels-right">
  3358. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3359. </tr>
  3360. </table>
  3361. </div><div class="memdoc">
  3362. <p>seek to end before each write </p>
  3363. </div>
  3364. </div>
  3365. <a class="anchor" id="aa434355c165500065276d955d8b36e99"></a>
  3366. <div class="memitem">
  3367. <div class="memproto">
  3368. <table class="mlabels">
  3369. <tr>
  3370. <td class="mlabels-left">
  3371. <table class="memname">
  3372. <tr>
  3373. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::ate = 0X8</td>
  3374. </tr>
  3375. </table>
  3376. </td>
  3377. <td class="mlabels-right">
  3378. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3379. </tr>
  3380. </table>
  3381. </div><div class="memdoc">
  3382. <p>open and seek to end immediately after opening </p>
  3383. </div>
  3384. </div>
  3385. <a class="anchor" id="ac8c2c8f2f6bc9e6ce101c20e88ebce35"></a>
  3386. <div class="memitem">
  3387. <div class="memproto">
  3388. <table class="mlabels">
  3389. <tr>
  3390. <td class="mlabels-left">
  3391. <table class="memname">
  3392. <tr>
  3393. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::badbit = 0X01</td>
  3394. </tr>
  3395. </table>
  3396. </td>
  3397. <td class="mlabels-right">
  3398. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3399. </tr>
  3400. </table>
  3401. </div><div class="memdoc">
  3402. <p>iostate bad bit for a nonrecoverable error. </p>
  3403. </div>
  3404. </div>
  3405. <a class="anchor" id="a75ce5482aa207d7aa0265d138b50a102"></a>
  3406. <div class="memitem">
  3407. <div class="memproto">
  3408. <table class="mlabels">
  3409. <tr>
  3410. <td class="mlabels-left">
  3411. <table class="memname">
  3412. <tr>
  3413. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::basefield = <a class="el" href="classios__base.html#a2826aed005e7c1f6858060cddae7971a">dec</a> | <a class="el" href="classios__base.html#a3608e51eb0a80ea94ddadd5b713a3750">hex</a> | <a class="el" href="classios__base.html#a4155540f8d3ffdb8d25a2f50ee4df08f">oct</a></td>
  3414. </tr>
  3415. </table>
  3416. </td>
  3417. <td class="mlabels-right">
  3418. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3419. </tr>
  3420. </table>
  3421. </div><div class="memdoc">
  3422. <p>mask for basefield </p>
  3423. </div>
  3424. </div>
  3425. <a class="anchor" id="ac99947c17c2936d15243671366605602"></a>
  3426. <div class="memitem">
  3427. <div class="memproto">
  3428. <table class="mlabels">
  3429. <tr>
  3430. <td class="mlabels-left">
  3431. <table class="memname">
  3432. <tr>
  3433. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::binary = 0X10</td>
  3434. </tr>
  3435. </table>
  3436. </td>
  3437. <td class="mlabels-right">
  3438. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3439. </tr>
  3440. </table>
  3441. </div><div class="memdoc">
  3442. <p>perform input and output in binary mode (as opposed to text mode) </p>
  3443. </div>
  3444. </div>
  3445. <a class="anchor" id="afa74acd95d4bbc7cc3551251aac2bf00"></a>
  3446. <div class="memitem">
  3447. <div class="memproto">
  3448. <table class="mlabels">
  3449. <tr>
  3450. <td class="mlabels-left">
  3451. <table class="memname">
  3452. <tr>
  3453. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::boolalpha = 0x0100</td>
  3454. </tr>
  3455. </table>
  3456. </td>
  3457. <td class="mlabels-right">
  3458. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3459. </tr>
  3460. </table>
  3461. </div><div class="memdoc">
  3462. <p>use strings true/false for bool </p>
  3463. </div>
  3464. </div>
  3465. <a class="anchor" id="a2826aed005e7c1f6858060cddae7971a"></a>
  3466. <div class="memitem">
  3467. <div class="memproto">
  3468. <table class="mlabels">
  3469. <tr>
  3470. <td class="mlabels-left">
  3471. <table class="memname">
  3472. <tr>
  3473. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::dec = 0x0008</td>
  3474. </tr>
  3475. </table>
  3476. </td>
  3477. <td class="mlabels-right">
  3478. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3479. </tr>
  3480. </table>
  3481. </div><div class="memdoc">
  3482. <p>base 10 flag </p>
  3483. </div>
  3484. </div>
  3485. <a class="anchor" id="af75072b7ef2a931c77a2cb8e7ccda460"></a>
  3486. <div class="memitem">
  3487. <div class="memproto">
  3488. <table class="mlabels">
  3489. <tr>
  3490. <td class="mlabels-left">
  3491. <table class="memname">
  3492. <tr>
  3493. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::eofbit = 0x02</td>
  3494. </tr>
  3495. </table>
  3496. </td>
  3497. <td class="mlabels-right">
  3498. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3499. </tr>
  3500. </table>
  3501. </div><div class="memdoc">
  3502. <p>iostate bit for end of file reached </p>
  3503. </div>
  3504. </div>
  3505. <a class="anchor" id="a36157154001bcce17827db6786e35efd"></a>
  3506. <div class="memitem">
  3507. <div class="memproto">
  3508. <table class="mlabels">
  3509. <tr>
  3510. <td class="mlabels-left">
  3511. <table class="memname">
  3512. <tr>
  3513. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::failbit = 0X04</td>
  3514. </tr>
  3515. </table>
  3516. </td>
  3517. <td class="mlabels-right">
  3518. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3519. </tr>
  3520. </table>
  3521. </div><div class="memdoc">
  3522. <p>iostate fail bit for nonfatal error </p>
  3523. </div>
  3524. </div>
  3525. <a class="anchor" id="a07a00996a6e525b88bdfe7935d5ead05"></a>
  3526. <div class="memitem">
  3527. <div class="memproto">
  3528. <table class="mlabels">
  3529. <tr>
  3530. <td class="mlabels-left">
  3531. <table class="memname">
  3532. <tr>
  3533. <td class="memname">const <a class="el" href="classios__base.html#aef19291eeae0f072ac42c6ba1fe3033c">iostate</a> ios_base::goodbit = 0x00</td>
  3534. </tr>
  3535. </table>
  3536. </td>
  3537. <td class="mlabels-right">
  3538. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3539. </tr>
  3540. </table>
  3541. </div><div class="memdoc">
  3542. <p>iostate for no flags </p>
  3543. </div>
  3544. </div>
  3545. <a class="anchor" id="a3608e51eb0a80ea94ddadd5b713a3750"></a>
  3546. <div class="memitem">
  3547. <div class="memproto">
  3548. <table class="mlabels">
  3549. <tr>
  3550. <td class="mlabels-left">
  3551. <table class="memname">
  3552. <tr>
  3553. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::hex = 0x0010</td>
  3554. </tr>
  3555. </table>
  3556. </td>
  3557. <td class="mlabels-right">
  3558. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3559. </tr>
  3560. </table>
  3561. </div><div class="memdoc">
  3562. <p>base 16 flag </p>
  3563. </div>
  3564. </div>
  3565. <a class="anchor" id="ae5432e3c269064480652c4602f5f74ad"></a>
  3566. <div class="memitem">
  3567. <div class="memproto">
  3568. <table class="mlabels">
  3569. <tr>
  3570. <td class="mlabels-left">
  3571. <table class="memname">
  3572. <tr>
  3573. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::in = 0X20</td>
  3574. </tr>
  3575. </table>
  3576. </td>
  3577. <td class="mlabels-right">
  3578. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3579. </tr>
  3580. </table>
  3581. </div><div class="memdoc">
  3582. <p>open for input </p>
  3583. </div>
  3584. </div>
  3585. <a class="anchor" id="afc720b7f6f461ec8e9cf5505059e5d7c"></a>
  3586. <div class="memitem">
  3587. <div class="memproto">
  3588. <table class="mlabels">
  3589. <tr>
  3590. <td class="mlabels-left">
  3591. <table class="memname">
  3592. <tr>
  3593. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::internal = 0x0004</td>
  3594. </tr>
  3595. </table>
  3596. </td>
  3597. <td class="mlabels-right">
  3598. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3599. </tr>
  3600. </table>
  3601. </div><div class="memdoc">
  3602. <p>fill between sign/base prefix and number </p>
  3603. </div>
  3604. </div>
  3605. <a class="anchor" id="ad364df9af2cfde1f40bd8e10c62bb215"></a>
  3606. <div class="memitem">
  3607. <div class="memproto">
  3608. <table class="mlabels">
  3609. <tr>
  3610. <td class="mlabels-left">
  3611. <table class="memname">
  3612. <tr>
  3613. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::left = 0x0001</td>
  3614. </tr>
  3615. </table>
  3616. </td>
  3617. <td class="mlabels-right">
  3618. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3619. </tr>
  3620. </table>
  3621. </div><div class="memdoc">
  3622. <p>left adjust fields </p>
  3623. </div>
  3624. </div>
  3625. <a class="anchor" id="a4155540f8d3ffdb8d25a2f50ee4df08f"></a>
  3626. <div class="memitem">
  3627. <div class="memproto">
  3628. <table class="mlabels">
  3629. <tr>
  3630. <td class="mlabels-left">
  3631. <table class="memname">
  3632. <tr>
  3633. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::oct = 0x0020</td>
  3634. </tr>
  3635. </table>
  3636. </td>
  3637. <td class="mlabels-right">
  3638. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3639. </tr>
  3640. </table>
  3641. </div><div class="memdoc">
  3642. <p>base 8 flag </p>
  3643. </div>
  3644. </div>
  3645. <a class="anchor" id="a4c1d517774c0d11af3424e90395f26ae"></a>
  3646. <div class="memitem">
  3647. <div class="memproto">
  3648. <table class="mlabels">
  3649. <tr>
  3650. <td class="mlabels-left">
  3651. <table class="memname">
  3652. <tr>
  3653. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::out = 0X40</td>
  3654. </tr>
  3655. </table>
  3656. </td>
  3657. <td class="mlabels-right">
  3658. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3659. </tr>
  3660. </table>
  3661. </div><div class="memdoc">
  3662. <p>open for output </p>
  3663. </div>
  3664. </div>
  3665. <a class="anchor" id="aec064a12730b5d87e718c1864e29ac64"></a>
  3666. <div class="memitem">
  3667. <div class="memproto">
  3668. <table class="mlabels">
  3669. <tr>
  3670. <td class="mlabels-left">
  3671. <table class="memname">
  3672. <tr>
  3673. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::right = 0x0002</td>
  3674. </tr>
  3675. </table>
  3676. </td>
  3677. <td class="mlabels-right">
  3678. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3679. </tr>
  3680. </table>
  3681. </div><div class="memdoc">
  3682. <p>right adjust fields </p>
  3683. </div>
  3684. </div>
  3685. <a class="anchor" id="a7e3373ab307feecfc228bc9bdb29cd01"></a>
  3686. <div class="memitem">
  3687. <div class="memproto">
  3688. <table class="mlabels">
  3689. <tr>
  3690. <td class="mlabels-left">
  3691. <table class="memname">
  3692. <tr>
  3693. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::showbase = 0x0200</td>
  3694. </tr>
  3695. </table>
  3696. </td>
  3697. <td class="mlabels-right">
  3698. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3699. </tr>
  3700. </table>
  3701. </div><div class="memdoc">
  3702. <p>use prefix 0X for hex and 0 for oct </p>
  3703. </div>
  3704. </div>
  3705. <a class="anchor" id="ac9bb172682e157f037bd7fb82a236ee6"></a>
  3706. <div class="memitem">
  3707. <div class="memproto">
  3708. <table class="mlabels">
  3709. <tr>
  3710. <td class="mlabels-left">
  3711. <table class="memname">
  3712. <tr>
  3713. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::showpoint = 0x0400</td>
  3714. </tr>
  3715. </table>
  3716. </td>
  3717. <td class="mlabels-right">
  3718. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3719. </tr>
  3720. </table>
  3721. </div><div class="memdoc">
  3722. <p>always show '.' for floating numbers </p>
  3723. </div>
  3724. </div>
  3725. <a class="anchor" id="a7bfa4a883933105d10f8ce2693cb9f21"></a>
  3726. <div class="memitem">
  3727. <div class="memproto">
  3728. <table class="mlabels">
  3729. <tr>
  3730. <td class="mlabels-left">
  3731. <table class="memname">
  3732. <tr>
  3733. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::showpos = 0x0800</td>
  3734. </tr>
  3735. </table>
  3736. </td>
  3737. <td class="mlabels-right">
  3738. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3739. </tr>
  3740. </table>
  3741. </div><div class="memdoc">
  3742. <p>show + sign for nonnegative numbers </p>
  3743. </div>
  3744. </div>
  3745. <a class="anchor" id="a64977c777d6e45826d1be9763f17f824"></a>
  3746. <div class="memitem">
  3747. <div class="memproto">
  3748. <table class="mlabels">
  3749. <tr>
  3750. <td class="mlabels-left">
  3751. <table class="memname">
  3752. <tr>
  3753. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::skipws = 0x1000</td>
  3754. </tr>
  3755. </table>
  3756. </td>
  3757. <td class="mlabels-right">
  3758. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3759. </tr>
  3760. </table>
  3761. </div><div class="memdoc">
  3762. <p>skip initial white space </p>
  3763. </div>
  3764. </div>
  3765. <a class="anchor" id="ae62b8972f37509819e1384214071194b"></a>
  3766. <div class="memitem">
  3767. <div class="memproto">
  3768. <table class="mlabels">
  3769. <tr>
  3770. <td class="mlabels-left">
  3771. <table class="memname">
  3772. <tr>
  3773. <td class="memname">const <a class="el" href="classios__base.html#aaa192ec0dccc43050715553a34644523">openmode</a> ios_base::trunc = 0X80</td>
  3774. </tr>
  3775. </table>
  3776. </td>
  3777. <td class="mlabels-right">
  3778. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3779. </tr>
  3780. </table>
  3781. </div><div class="memdoc">
  3782. <p>truncate an existing stream when opening </p>
  3783. </div>
  3784. </div>
  3785. <a class="anchor" id="ade3db1fe3249e87f4c47a9a8916793d9"></a>
  3786. <div class="memitem">
  3787. <div class="memproto">
  3788. <table class="mlabels">
  3789. <tr>
  3790. <td class="mlabels-left">
  3791. <table class="memname">
  3792. <tr>
  3793. <td class="memname">const <a class="el" href="classios__base.html#ac9a54e52cef4f01ac0afd8ae896a3413">fmtflags</a> ios_base::uppercase = 0x4000</td>
  3794. </tr>
  3795. </table>
  3796. </td>
  3797. <td class="mlabels-right">
  3798. <span class="mlabels"><span class="mlabel">static</span><span class="mlabel">inherited</span></span> </td>
  3799. </tr>
  3800. </table>
  3801. </div><div class="memdoc">
  3802. <p>use uppercase letters in number representations </p>
  3803. </div>
  3804. </div>
  3805. <a class="anchor" id="a47d4ba2177ffcd99c2387f9fac182d5b"></a>
  3806. <div class="memitem">
  3807. <div class="memproto">
  3808. <table class="mlabels">
  3809. <tr>
  3810. <td class="mlabels-left">
  3811. <table class="memname">
  3812. <tr>
  3813. <td class="memname">bool SdBaseFile::writeError</td>
  3814. </tr>
  3815. </table>
  3816. </td>
  3817. <td class="mlabels-right">
  3818. <span class="mlabels"><span class="mlabel">inherited</span></span> </td>
  3819. </tr>
  3820. </table>
  3821. </div><div class="memdoc">
  3822. <p>writeError is set to true if an error occurs during a <a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write()</a>. Set writeError to false before calling print() and/or <a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write()</a> and check for true after calls to print() and/or <a class="el" href="class_sd_base_file.html#a874e3bae567f96bed5ad442beb846a61">write()</a>. </p>
  3823. </div>
  3824. </div>
  3825. <hr/>The documentation for this class was generated from the following file:<ul>
  3826. <li>Arduino/libraries/SdFat/<a class="el" href="_sd_stream_8h.html">SdStream.h</a></li>
  3827. </ul>
  3828. </div><!-- contents -->
  3829. <!-- start footer part -->
  3830. <hr class="footer"/><address class="footer"><small>
  3831. Generated on Fri Oct 24 2014 05:45:13 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  3832. <img class="footer" src="doxygen.png" alt="doxygen"/>
  3833. </a> 1.8.6
  3834. </small></address>
  3835. </body>
  3836. </html>