classdbtabledescriptor.html

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

HTML
1,267
字号
      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int dbTableDescriptor::calculateFieldsAttributes </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>fieldsList</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>char const *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>prefix</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>offs</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>indexMask</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>attr</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Recursively set field attributes. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>fieldList</em>&nbsp;</td><td>list of record fields </td></tr><tr><td valign=top><em>prefix</em>&nbsp;</td><td>prefix for the field (in case of structures or arrays  this functions is invoked resursively for components of this structure or or array </td></tr><tr><td valign=top><em>offs</em>&nbsp;</td><td>- offset in application class </td></tr><tr><td valign=top><em>indexMask</em>&nbsp;</td><td>index mask for the structore containing the field </td></tr><tr><td valign=top><em>attr</em>&nbsp;</td><td>attributes of the parent field </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>alignment of the field </dl>    </td>  </tr></table><a name="dbTableDescriptora8" doxytag="dbTableDescriptor::checkRelationship"></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"> void dbTableDescriptor::checkRelationship </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></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Check consuistency of declared realations (check that referenced table  actually contains declared inverse reference field).  This method also resolve references between table.     </td>  </tr></table><a name="dbTableDescriptord0" doxytag="dbTableDescriptor::cleanup"></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"> void dbTableDescriptor::cleanup </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> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Remove all table descriptors except static ones     </td>  </tr></table><a name="dbTableDescriptorb0" doxytag="dbTableDescriptor::clone"></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"> dbTableDescriptor* dbTableDescriptor::clone </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> [protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Clone table descriptor     </td>  </tr></table><a name="dbTableDescriptora6" doxytag="dbTableDescriptor::equal"></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 dbTableDescriptor::equal </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbTable.html">dbTable</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>table</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Check whether table descriptor in the database is the same as table appplication table descriptor <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>table</em>&nbsp;</td><td>database table descriptor </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd><code>true</code> if two table descriptors are equal </dl>    </td>  </tr></table><a name="dbTableDescriptora1" doxytag="dbTableDescriptor::find"></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"> <a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a>* dbTableDescriptor::find </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char const *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>name</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Find field with specified name     </td>  </tr></table><a name="dbTableDescriptora0" doxytag="dbTableDescriptor::findSymbol"></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"> <a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a>* dbTableDescriptor::findSymbol </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char const *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>name</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Find field with specified symbol name     </td>  </tr></table><a name="dbTableDescriptora9" doxytag="dbTableDescriptor::getDatabase"></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"> <a class="el" href="classdbDatabase.html">dbDatabase</a>* dbTableDescriptor::getDatabase </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>Get reference to associated database <dl compact><dt><b>Returns: </b><dd>database to which this table is assigned </dl>    </td>  </tr></table><a name="dbTableDescriptora2" doxytag="dbTableDescriptor::getFirstField"></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"> <a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a>* dbTableDescriptor::getFirstField </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>Get first record field <dl compact><dt><b>Returns: </b><dd>descriptor of first record field </dl>    </td>  </tr></table><a name="dbTableDescriptora4" doxytag="dbTableDescriptor::getName"></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"> char* dbTableDescriptor::getName </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>

⌨️ 快捷键说明

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