Newer
Older
UbixOS / doc / html / classDiskFS.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>UbixOS V2: DiskFS Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>DiskFS Class Reference</h1><!-- doxytag: class="DiskFS" --><!-- doxytag: inherits="FileSystemAbstract" --><code>#include &lt;<a class="el" href="ubixfsv2_2vfs_8h-source.html">vfs.h</a>&gt;</code>
<p>
<p>Inheritance diagram for DiskFS:
<p><center><img src="classDiskFS.png" usemap="#DiskFS_map" border="0" alt=""></center>
<map name="DiskFS_map">
<area href="classFileSystemAbstract.html" alt="FileSystemAbstract" shape="rect" coords="0,0,120,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskFS.html#1bb2a92794cb2bb4f6409ba76fe6450b">DiskFS</a> (const char *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileSystemAbstract.html#7b429977060959206ff6f741a063062d">read</a> (char *, long, long)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskFS.html#de8d72587494f9d7505574e9afe4ab0b">read</a> (void *, long, long)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classFileSystemAbstract.html#2f1993d9e8bf9cde4e6f2d60cdccc58f">write</a> (char *, long, long)=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskFS.html#921249f4fc1f479d9f15dd56b0187dc2">write</a> (const void *, long, long)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskFS.html#b25c392405c7e424d2033a18b335311c">~DiskFS</a> (void)</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">FILE *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDiskFS.html#f1d6066bcbf639cdf16c255077e2fd83">diskFile</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>

<p>

<p>
Definition at line <a class="el" href="ubixfsv2_2vfs_8h-source.html#l00015">15</a> of file <a class="el" href="ubixfsv2_2vfs_8h-source.html">vfs.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1bb2a92794cb2bb4f6409ba76fe6450b"></a><!-- doxytag: member="DiskFS::DiskFS" ref="1bb2a92794cb2bb4f6409ba76fe6450b" args="(const char *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DiskFS::DiskFS           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="vfs_8cpp-source.html#l00004">4</a> of file <a class="el" href="vfs_8cpp-source.html">vfs.cpp</a>.
<p>
References <a class="el" href="ubixfsv2_2vfs_8h-source.html#l00017">diskFile</a>, and <a class="el" href="file_8c-source.html#l00267">fopen()</a>.
</div>
</div><p>
<a class="anchor" name="b25c392405c7e424d2033a18b335311c"></a><!-- doxytag: member="DiskFS::~DiskFS" ref="b25c392405c7e424d2033a18b335311c" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual DiskFS::~DiskFS           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ubixfsv2_2vfs_8h-source.html#l00022">22</a> of file <a class="el" href="ubixfsv2_2vfs_8h-source.html">vfs.h</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7b429977060959206ff6f741a063062d"></a><!-- doxytag: member="DiskFS::read" ref="7b429977060959206ff6f741a063062d" args="(char *, long, long)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int FileSystemAbstract::read           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="de8d72587494f9d7505574e9afe4ab0b"></a><!-- doxytag: member="DiskFS::read" ref="de8d72587494f9d7505574e9afe4ab0b" args="(void *, long, long)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DiskFS::read           </td>
          <td>(</td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="vfs_8cpp-source.html#l00017">17</a> of file <a class="el" href="vfs_8cpp-source.html">vfs.cpp</a>.
<p>
References <a class="el" href="ubixfsv2_2vfs_8h-source.html#l00017">diskFile</a>, <a class="el" href="file_8c-source.html#l00178">fread()</a>, <a class="el" href="file_8c-source.html#l00201">fseek()</a>, <a class="el" href="def_8h-source.html#l00041">NULL</a>, and <a class="el" href="include_2vfs_2file_8h-source.html#l00031">SEEK_SET</a>.
</div>
</div><p>
<a class="anchor" name="2f1993d9e8bf9cde4e6f2d60cdccc58f"></a><!-- doxytag: member="DiskFS::write" ref="2f1993d9e8bf9cde4e6f2d60cdccc58f" args="(char *, long, long)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int FileSystemAbstract::write           </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [pure virtual, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="921249f4fc1f479d9f15dd56b0187dc2"></a><!-- doxytag: member="DiskFS::write" ref="921249f4fc1f479d9f15dd56b0187dc2" args="(const void *, long, long)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int DiskFS::write           </td>
          <td>(</td>
          <td class="paramtype">const void *&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="vfs_8cpp-source.html#l00009">9</a> of file <a class="el" href="vfs_8cpp-source.html">vfs.cpp</a>.
<p>
References <a class="el" href="ubixfsv2_2vfs_8h-source.html#l00017">diskFile</a>, <a class="el" href="file_8c-source.html#l00201">fseek()</a>, <a class="el" href="file_8c-source.html#l00193">fwrite()</a>, <a class="el" href="def_8h-source.html#l00041">NULL</a>, and <a class="el" href="include_2vfs_2file_8h-source.html#l00031">SEEK_SET</a>.
</div>
</div><p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="f1d6066bcbf639cdf16c255077e2fd83"></a><!-- doxytag: member="DiskFS::diskFile" ref="f1d6066bcbf639cdf16c255077e2fd83" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FILE* <a class="el" href="classDiskFS.html#f1d6066bcbf639cdf16c255077e2fd83">DiskFS::diskFile</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="ubixfsv2_2vfs_8h-source.html#l00017">17</a> of file <a class="el" href="ubixfsv2_2vfs_8h-source.html">vfs.h</a>.
<p>
Referenced by <a class="el" href="vfs_8cpp-source.html#l00004">DiskFS()</a>, <a class="el" href="vfs_8cpp-source.html#l00017">read()</a>, and <a class="el" href="vfs_8cpp-source.html#l00009">write()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>src/sys/ubixfsv2/<a class="el" href="ubixfsv2_2vfs_8h-source.html">vfs.h</a><li>src/sys/ubixfsv2/<a class="el" href="vfs_8cpp-source.html">vfs.cpp</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>