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

📄 classdbdatabase.html

📁 俄罗斯牛人KK的作品,著名的ORDBMS,这里上传最新的3.39版本源代码.希望了解对象关系数据库的同好,请不要错过.
💻 HTML
📖 第 1 页 / 共 5 页
字号:
  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> oid_t dbDatabase::addNewTable </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbTableDescriptor.html">dbTableDescriptor</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>desc</em>          </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>Add new table to the database <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>desc</em>&nbsp;</td><td>- descriptor of new table </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>oid of created table descriptor record </dl>    </td>  </tr></table><a name="dbSubSqlb23" doxytag="dbDatabase::allocate"></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"> offs_t dbDatabase::allocate </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">size_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>size</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>oid</em> = 0</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>Allocate object in the database <a href="mailto:e@param">e@param</a> size size of alocated object <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>oid</em>&nbsp;</td><td>if oid is not 0, then allocated region position is stored in correcpondent  cell of object index (needed for allocation of bitmap pages) </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>position of allcoated region </dl>    </td>  </tr></table><a name="dbSubSqlb27" doxytag="dbDatabase::allocateId"></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"> oid_t dbDatabase::allocateId </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>n</em> = 1          </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>Allocate object identifier(s) <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>number</em>&nbsp;</td><td>of allocated object indentifiers </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>object idenitifer (in case if n greater than 1, all n subsequent OIDs are  allocated and first one is returned </dl>    </td>  </tr></table><a name="dbSubSqlb31" doxytag="dbDatabase::allocateObject"></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"> oid_t dbDatabase::allocateObject </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">dbInternalObject&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>marker</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline, protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocate internal object <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>market</em>&nbsp;</td><td>internal object tag </td></tr></table></dl><dl compact><dt><b>Returns: </b></dt><dd>oid of allocated object </dl>    </td>  </tr></table><a name="dbSubSqlb33" doxytag="dbDatabase::allocateRow"></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 dbDatabase::allocateRow </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>tableId</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>oid</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>size_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>size</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>Allocate record with specified OID <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>tableId</em>&nbsp;</td><td>object identifier of the table </td></tr><tr><td valign=top><em>oid</em>&nbsp;</td><td>record OID </td></tr><tr><td valign=top><em>size</em>&nbsp;</td><td>size of the created record as table descriptor in the database </td></tr></table></dl>    </td>  </tr></table><a name="dbSubSqlb32" doxytag="dbDatabase::allocateRow"></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"> oid_t dbDatabase::allocateRow </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">oid_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>tableId</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>size_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>size</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline, protected]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocate record  <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>tableId</em>&nbsp;</td><td>object identifier of the table </td></tr><tr><td valign=top><em>size</em>&nbsp;</td><td>size of the created record as table descriptor in the database </td></tr></table></dl>    </td>  </tr></table><a name="dbSubSqla27" doxytag="dbDatabase::allowColumnsDeletion"></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 dbDatabase::allowColumnsDeletion </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">bool&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>enabled</em> = true          </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>Enable deletion of columns from the table when correspondent fields are renamed from class descriptor. By default it is switched of  and database allows to delete fields only from empty table (to prevent  unindented loose of data).  <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>enabled</em>&nbsp;</td><td>true to enable column deletion in non empty tables </td></tr></table></dl>    </td>  </tr></table><a name="dbSubSqla18" doxytag="dbDatabase::assign"></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 dbDatabase::assign </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbTableDescriptor.html">dbTableDescriptor</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>desc</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table>

⌨️ 快捷键说明

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