classdbcontainer.html

来自「一个功能强大的内存数据库源代码,c++编写,有详细的注释」· HTML 代码 · 共 521 行 · 第 1/2 页

HTML
521
字号
    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> void dbContainer&lt; T &gt;::purge </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Clear the container     </td>  </tr></table><a name="dbContainera7" doxytag="dbContainer::remove"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> void dbContainer&lt; T &gt;::remove </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbReference.html">dbReference</a>&lt; T &gt; const &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>ref</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Remove record from the container <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>ref</em>&nbsp;</td><td>reference to the record deleted from the container </td></tr></table></dl>    </td>  </tr></table><a name="dbContainera2" doxytag="dbContainer::search"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> int dbContainer&lt; T &gt;::search </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbCursor.html">dbCursor</a>&lt; T &gt; &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>cursor</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Select all records in the container <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>cursor</em>&nbsp;</td><td>cursor to iterate through selected resords </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>number of selected records </dl>    </td>  </tr></table><a name="dbContainera1" doxytag="dbContainer::search"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> int dbContainer&lt; T &gt;::search </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbCursor.html">dbCursor</a>&lt; T &gt; &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>cursor</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>void const *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>key</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Select records with sepcified value of the key <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>cursor</em>&nbsp;</td><td>cursor to iterate through selected resords </td></tr><tr><td valign=top><em>key</em>&nbsp;</td><td>searched value of the key </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>number of selected records </dl>    </td>  </tr></table><a name="dbContainera0" doxytag="dbContainer::search"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" colspan="4">template&lt;class T&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> int dbContainer&lt; T &gt;::search </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbCursor.html">dbCursor</a>&lt; T &gt; &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>cursor</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>void const *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>from</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>void const *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>till</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Search records matching search criteria (between, less or equal, great or equal) <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>cursor</em>&nbsp;</td><td>cursor to iterate through selected resords </td></tr><tr><td valign=top><em>from</em>&nbsp;</td><td>inclusive low bound for the search key, if <code>NULL</code> then there is no low bound </td></tr><tr><td valign=top><em>till</em>&nbsp;</td><td>inclusive high bound for the search key, if <code>NULL</code> then there is no high bound </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>number of selected records </dl>    </td>  </tr></table><hr><h2>Friends And Related Function Documentation</h2><a name="dbReference_3_01Version_01_4l0" doxytag="dbContainer::isNull"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> bool isNull </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbAnyReference.html">dbAnyReference</a> const &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>ref</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [friend, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Check whether reference is null     </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="container_8h-source.html">container.h</a></ul><hr><address align="right"><small>Generated on Fri Nov 15 21:06:29 2002 for FastDB by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?