⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classdbtabledescriptor.html

📁 FastDb是高效的内存数据库系统
💻 HTML
📖 第 1 页 / 共 4 页
字号:
        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Read table definiton from the database and build fields list <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>table</em>&nbsp;</td><td>databsae table descriptor </td></tr>    <tr><td valign=top><em>prefix</em>&nbsp;</td><td>prefix for the field (in case of structures or arrays </td></tr>    <tr><td valign=top><em>prefixLen</em>&nbsp;</td><td>length of the prefix </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></dt><dd>pointer to the constructed list </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTableDescriptorb2" doxytag="dbTableDescriptor::calculateFieldsAttributes" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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> <em>fieldsList</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>char const *&nbsp;</td>          <td class="mdname" nowrap> <em>prefix</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>offs</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int&nbsp;</td>          <td class="mdname" nowrap> <em>indexMask</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>int &amp;&nbsp;</td>          <td class="mdname" nowrap> <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></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>fieldsList</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></dt><dd>alignment of the field </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTableDescriptora9" doxytag="dbTableDescriptor::checkRelationship" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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>          </td>          <td class="md" valign="top">&nbsp;)&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 class="anchor" name="dbTableDescriptore0" doxytag="dbTableDescriptor::cleanup" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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>          </td>          <td class="md" valign="top">&nbsp;)&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 class="anchor" name="dbTableDescriptorb0" doxytag="dbTableDescriptor::clone" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classdbTableDescriptor.html">dbTableDescriptor</a>* dbTableDescriptor::clone </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&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 class="anchor" name="dbTableDescriptora7" doxytag="dbTableDescriptor::equal" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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> <em>table</em>          </td>          <td class="md" valign="top">&nbsp;)&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></dt><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></dt><dd><code>true</code> if two table descriptors are equal </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTableDescriptora2" doxytag="dbTableDescriptor::find" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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> <em>name</em>          </td>          <td class="md" valign="top">&nbsp;)&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 class="anchor" name="dbTableDescriptora1" doxytag="dbTableDescriptor::findSymbol" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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> <em>name</em>          </td>          <td class="md" valign="top">&nbsp;)&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 class="anchor" name="dbTableDescriptora10" doxytag="dbTableDescriptor::getDatabase" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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>          </td>          <td class="md" valign="top">&nbsp;)&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></dt><dd>database to which this table is assigned </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTableDescriptora3" doxytag="dbTableDescriptor::getFirstField" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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>          </td>          <td class="md" valign="top">&nbsp;)&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></dt><dd>descriptor of first record field </dd></dl>    </td>  </tr></table><a class="anchor" name="dbTableDescriptora5" doxytag="dbTableDescriptor::getName" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <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>

⌨️ 快捷键说明

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