classdbtabledescriptor.html
来自「一个功能强大的内存数据库源代码,c++编写,有详细的注释」· HTML 代码 · 共 1,267 行 · 第 1/4 页
HTML
1,267 行
<td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get table name. </td> </tr></table><a name="dbTableDescriptora3" doxytag="dbTableDescriptor::getNextField"></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::getNextField </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a> * </td> <td class="mdname1" valign="top" nowrap> <em>field</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get next field <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>field</em> </td><td>current field </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>next field after the current in table fields list </dl> </td> </tr></table><a name="dbTableDescriptora7" doxytag="dbTableDescriptor::match"></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::match </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classdbTable.html">dbTable</a> * </td> <td class="mdname1" valign="top" nowrap> <em>table</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Check whether fprmats of table descriptor in the database and in application is compatible. This method also prepares information for performing conversion of record to new format <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>table</em> </td><td>database table descriptor </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd><code>true</code> if no reformatting is needed </dl> </td> </tr></table><a name="dbTableDescriptora5" doxytag="dbTableDescriptor::setFlags"></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::setFlags </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set fields flags. This method is called after loading table descriptor from database. </td> </tr></table><a name="dbTableDescriptora10" doxytag="dbTableDescriptor::storeInDatabase"></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::storeInDatabase </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classdbTable.html">dbTable</a> * </td> <td class="mdname1" valign="top" nowrap> <em>table</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Save table descriptor in the database. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>table</em> </td><td>place where to store table descriptor </td></tr></table></dl> </td> </tr></table><a name="dbTableDescriptorb1" doxytag="dbTableDescriptor::totalNamesLength"></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"> size_t dbTableDescriptor::totalNamesLength </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Calculate total length of all names in table descriptor </td> </tr></table><hr><h2>Member Data Documentation</h2><a name="dbTableDescriptorn13" doxytag="dbTableDescriptor::appSize"></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"> size_t dbTableDescriptor::appSize<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Size of tghe correspondent applciation object </td> </tr></table><a name="dbTableDescriptorn17" doxytag="dbTableDescriptor::autoincrementCount"></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"> int4 dbTableDescriptor::autoincrementCount<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Autoincremented counter for this table </td> </tr></table><a name="dbTableDescriptorn18" doxytag="dbTableDescriptor::cloneOf"></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::cloneOf<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>When unassigned table descriptor is explicitly assigned to the database, new clone of descriptor is created and <code>cloneOf</code> field of this descriptor referes to original table descriptor. </td> </tr></table><a name="dbTableDescriptorn4" doxytag="dbTableDescriptor::columns"></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::columns<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>List of table columns </td> </tr></table><a name="dbTableDescriptorn10" doxytag="dbTableDescriptor::db"></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::db<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Attached database </td> </tr></table><a name="dbTableDescriptorn8" doxytag="dbTableDescriptor::firstField"></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::firstField<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>List of all fields </td> </tr></table><a name="dbTableDescriptorn11" doxytag="dbTableDescriptor::fixedDatabase"></a><p>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?