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.

_ex_fat_file_8h.html 12KB

5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
5 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.16"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>SdFat: ArduinoSdFat/libraries/SdFat/src/ExFatLib/ExFatFile.h File Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">SdFat
  25. </div>
  26. </td>
  27. </tr>
  28. </tbody>
  29. </table>
  30. </div>
  31. <!-- end header part -->
  32. <!-- Generated by Doxygen 1.8.16 -->
  33. <script type="text/javascript">
  34. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. /* @license-end */
  37. </script>
  38. <script type="text/javascript" src="menudata.js"></script>
  39. <script type="text/javascript" src="menu.js"></script>
  40. <script type="text/javascript">
  41. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  42. $(function() {
  43. initMenu('',true,false,'search.php','Search');
  44. $(document).ready(function() { init_search(); });
  45. });
  46. /* @license-end */</script>
  47. <div id="main-nav"></div>
  48. <!-- window showing the filter options -->
  49. <div id="MSearchSelectWindow"
  50. onmouseover="return searchBox.OnSearchSelectShow()"
  51. onmouseout="return searchBox.OnSearchSelectHide()"
  52. onkeydown="return searchBox.OnSearchSelectKey(event)">
  53. </div>
  54. <!-- iframe showing the search results (closed by default) -->
  55. <div id="MSearchResultsWindow">
  56. <iframe src="javascript:void(0)" frameborder="0"
  57. name="MSearchResults" id="MSearchResults">
  58. </iframe>
  59. </div>
  60. <div id="nav-path" class="navpath">
  61. <ul>
  62. <li class="navelem"><a class="el" href="dir_bd3b508a448b79faa7486a2af0c5c4a2.html">ArduinoSdFat</a></li><li class="navelem"><a class="el" href="dir_d7cdc5eb6907b67ec8d6facf0ac28083.html">libraries</a></li><li class="navelem"><a class="el" href="dir_30f4e013e11264f0426cd7e4f10b230b.html">SdFat</a></li><li class="navelem"><a class="el" href="dir_ffa9b8a1695a52c2b9469cb7873a40f4.html">src</a></li><li class="navelem"><a class="el" href="dir_85bf9ecc35465a3be25ffecfc9aab2b8.html">ExFatLib</a></li> </ul>
  63. </div>
  64. </div><!-- top -->
  65. <div class="header">
  66. <div class="summary">
  67. <a href="#nested-classes">Classes</a> &#124;
  68. <a href="#define-members">Macros</a> &#124;
  69. <a href="#func-members">Functions</a> </div>
  70. <div class="headertitle">
  71. <div class="title">ExFatFile.h File Reference</div> </div>
  72. </div><!--header-->
  73. <div class="contents">
  74. <p><a class="el" href="class_ex_fat_file.html" title="Basic file class.">ExFatFile</a> class.
  75. <a href="#details">More...</a></p>
  76. <div class="textblock"><code>#include &lt;limits.h&gt;</code><br />
  77. <code>#include &lt;string.h&gt;</code><br />
  78. <code>#include &quot;ExFatConfig.h&quot;</code><br />
  79. <code>#include &quot;../common/FsDateTime.h&quot;</code><br />
  80. <code>#include &quot;../common/FsStructs.h&quot;</code><br />
  81. <code>#include &quot;../common/FsApiConstants.h&quot;</code><br />
  82. <code>#include &quot;../common/FmtNumber.h&quot;</code><br />
  83. <code>#include &quot;ExFatTypes.h&quot;</code><br />
  84. <code>#include &quot;<a class="el" href="_ex_fat_partition_8h.html">ExFatPartition.h</a>&quot;</code><br />
  85. <code>#include &quot;../common/ArduinoFiles.h&quot;</code><br />
  86. </div><div class="textblock"><div class="dynheader">
  87. Include dependency graph for ExFatFile.h:</div>
  88. <div class="dyncontent">
  89. <div class="center"><img src="_ex_fat_file_8h__incl.png" border="0" usemap="#_arduino_sd_fat_2libraries_2_sd_fat_2src_2_ex_fat_lib_2_ex_fat_file_8h" alt=""/></div>
  90. <map name="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_ex_fat_lib_2_ex_fat_file_8h" id="_arduino_sd_fat_2libraries_2_sd_fat_2src_2_ex_fat_lib_2_ex_fat_file_8h">
  91. <area shape="rect" title="ExFatFile class." alt="" coords="88,5,299,47"/>
  92. <area shape="rect" title=" " alt="" coords="5,95,69,121"/>
  93. <area shape="rect" title=" " alt="" coords="94,95,159,121"/>
  94. <area shape="rect" title=" " alt="" coords="183,95,339,121"/>
  95. <area shape="rect" href="_ex_fat_partition_8h.html" title="ExFatPartition include file." alt="" coords="363,95,479,121"/>
  96. <area shape="rect" href="_sys_call_8h.html" title="SysCall class." alt="" coords="349,169,493,196"/>
  97. <area shape="rect" title=" " alt="" coords="362,319,427,345"/>
  98. <area shape="rect" title=" " alt="" coords="387,244,455,271"/>
  99. <area shape="rect" href="_sd_fat_config_8h.html" title="configuration definitions" alt="" coords="479,244,595,271"/>
  100. <area shape="rect" title=" " alt="" coords="499,319,576,345"/>
  101. </map>
  102. </div>
  103. </div><table class="memberdecls">
  104. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
  105. Classes</h2></td></tr>
  106. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_fat_file.html">ExFatFile</a></td></tr>
  107. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Basic file class. <a href="class_ex_fat_file.html#details">More...</a><br /></td></tr>
  108. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ex_fat_pos__t.html">ExFatPos_t</a></td></tr>
  110. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal type for file position - do not use in user apps. <a href="struct_ex_fat_pos__t.html#details">More...</a><br /></td></tr>
  111. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_ex_file.html">ExFile</a></td></tr>
  113. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">exFAT file with Arduino Stream. <a href="class_ex_file.html#details">More...</a><br /></td></tr>
  114. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  115. <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_ex_name__t.html">ExName_t</a></td></tr>
  116. <tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Internal type for file name - do not use in user apps. <a href="struct_ex_name__t.html#details">More...</a><br /></td></tr>
  117. <tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. </table><table class="memberdecls">
  119. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
  120. Macros</h2></td></tr>
  121. <tr class="memitem:a9f85580ad6f1dfc86fff09a58ff0a1c0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ex_fat_file_8h.html#a9f85580ad6f1dfc86fff09a58ff0a1c0">isDirSeparator</a>(c)&#160;&#160;&#160;((c) == '/')</td></tr>
  122. <tr class="separator:a9f85580ad6f1dfc86fff09a58ff0a1c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. </table><table class="memberdecls">
  124. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  125. Functions</h2></td></tr>
  126. <tr class="memitem:acfe36e138012e39e1d66891a4e070871"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_ex_fat_file_8h.html#acfe36e138012e39e1d66891a4e070871">lfnLegalChar</a> (ExChar_t c)</td></tr>
  127. <tr class="separator:acfe36e138012e39e1d66891a4e070871"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. </table>
  129. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  130. <div class="textblock"><p><a class="el" href="class_ex_fat_file.html" title="Basic file class.">ExFatFile</a> class. </p>
  131. <p>Copyright (c) 2011-2019 Bill Greiman This file is part of the SdFat library for SD memory cards.</p>
  132. <p>MIT License</p>
  133. <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
  134. <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
  135. <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </p>
  136. </div><h2 class="groupheader">Macro Definition Documentation</h2>
  137. <a id="a9f85580ad6f1dfc86fff09a58ff0a1c0"></a>
  138. <h2 class="memtitle"><span class="permalink"><a href="#a9f85580ad6f1dfc86fff09a58ff0a1c0">&#9670;&nbsp;</a></span>isDirSeparator</h2>
  139. <div class="memitem">
  140. <div class="memproto">
  141. <table class="memname">
  142. <tr>
  143. <td class="memname">#define isDirSeparator</td>
  144. <td>(</td>
  145. <td class="paramtype">&#160;</td>
  146. <td class="paramname">c</td><td>)</td>
  147. <td>&#160;&#160;&#160;((c) == '/')</td>
  148. </tr>
  149. </table>
  150. </div><div class="memdoc">
  151. <p>Expression for path name separator. </p>
  152. </div>
  153. </div>
  154. <h2 class="groupheader">Function Documentation</h2>
  155. <a id="acfe36e138012e39e1d66891a4e070871"></a>
  156. <h2 class="memtitle"><span class="permalink"><a href="#acfe36e138012e39e1d66891a4e070871">&#9670;&nbsp;</a></span>lfnLegalChar()</h2>
  157. <div class="memitem">
  158. <div class="memproto">
  159. <table class="mlabels">
  160. <tr>
  161. <td class="mlabels-left">
  162. <table class="memname">
  163. <tr>
  164. <td class="memname">bool lfnLegalChar </td>
  165. <td>(</td>
  166. <td class="paramtype">ExChar_t&#160;</td>
  167. <td class="paramname"><em>c</em></td><td>)</td>
  168. <td></td>
  169. </tr>
  170. </table>
  171. </td>
  172. <td class="mlabels-right">
  173. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  174. </tr>
  175. </table>
  176. </div><div class="memdoc">
  177. <p>test for legal character.</p>
  178. <dl class="params"><dt>Parameters</dt><dd>
  179. <table class="params">
  180. <tr><td class="paramdir">[in]</td><td class="paramname">c</td><td>character to be tested.</td></tr>
  181. </table>
  182. </dd>
  183. </dl>
  184. <dl class="section return"><dt>Returns</dt><dd>true for legal character else false. </dd></dl>
  185. </div>
  186. </div>
  187. </div><!-- contents -->
  188. <!-- start footer part -->
  189. <hr class="footer"/><address class="footer"><small>
  190. Generated on Fri Dec 6 2019 09:45:11 for SdFat by &#160;<a href="http://www.doxygen.org/index.html">
  191. <img class="footer" src="doxygen.png" alt="doxygen"/>
  192. </a> 1.8.16
  193. </small></address>
  194. </body>
  195. </html>