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

📄 classdbfielddescriptor.html

📁 FastDb是高效的内存数据库系统
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Find component with specified name (for structures only) <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>name</em>&nbsp;</td><td>component name </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>descriptor of the field or <code>NULL</code> if not found </dd></dl>    </td>  </tr></table><a class="anchor" name="dbFieldDescriptora10" doxytag="dbFieldDescriptor::getFirstComponent" ></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>* dbFieldDescriptor::getFirstComponent </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 component of the field (for structures only) <dl compact><dt><b>Returns:</b></dt><dd>first component of the structure </dd></dl>    </td>  </tr></table><a class="anchor" name="dbFieldDescriptora11" doxytag="dbFieldDescriptor::getNextComponent" ></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>* dbFieldDescriptor::getNextComponent </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="mdname1" valign="top" nowrap> <em>field</em>          </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 next component within the scope <dl compact><dt><b>Returns:</b></dt><dd>next component within the scope </dd></dl>    </td>  </tr></table><a class="anchor" name="dbFieldDescriptora6" doxytag="dbFieldDescriptor::markUpdatedFields" ></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 dbFieldDescriptor::markUpdatedFields </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">byte *&nbsp;</td>          <td class="mdname" nowrap> <em>dst</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>byte *&nbsp;</td>          <td class="mdname" nowrap> <em>src</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Mask updated fields. This method performs interation thtough all components in one scope and recursively invoke itself for structure and array components. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>dst</em>&nbsp;</td><td>old image of the record in the database </td></tr>    <tr><td valign=top><em>src</em>&nbsp;</td><td>updated application object </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="dbFieldDescriptora12" doxytag="dbFieldDescriptor::operator," ></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>&amp; dbFieldDescriptor::operator, </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>field</em>          </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>Redefined ',' operator used to form list of components     </td>  </tr></table><a class="anchor" name="dbFieldDescriptora3" doxytag="dbFieldDescriptor::sizeWithoutOneField" ></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 dbFieldDescriptor::sizeWithoutOneField </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>field</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>byte *&nbsp;</td>          <td class="mdname" nowrap> <em>base</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>size_t &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>size</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Size of the record without one field. This method is used to implement automatically updated inverse references. This method performs interation thtough all components in one scope and recursively invoke itself for structure and array components. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>field</em>&nbsp;</td><td>list of the fields in one scope </td></tr>    <tr><td valign=top><em>base</em>&nbsp;</td><td>pointer inside database </td></tr>    <tr><td valign=top><em>size</em>&nbsp;</td><td>[in/out] size of the record </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>offset of last field </dd></dl>    </td>  </tr></table><a class="anchor" name="dbFieldDescriptora5" doxytag="dbFieldDescriptor::storeRecordFields" ></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"> size_t dbFieldDescriptor::storeRecordFields </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">byte *&nbsp;</td>          <td class="mdname" nowrap> <em>dst</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>byte *&nbsp;</td>          <td class="mdname" nowrap> <em>src</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>size_t&nbsp;</td>          <td class="mdname" nowrap> <em>offs</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap> <em>insert</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Store record fields in the databases This method performs interation thtough all components in one scope and recursively invoke itself for structure and array components. <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign=top><em>dst</em>&nbsp;</td><td>place in the database where record should be stored </td></tr>    <tr><td valign=top><em>src</em>&nbsp;</td><td>pointer to the application object </td></tr>    <tr><td valign=top><em>offs</em>&nbsp;</td><td>offset to the end of varying part </td></tr>    <tr><td valign=top><em>insert</em>&nbsp;</td><td>flag used to distringuish update fro insert (needed for autoincremented fields) </td></tr>  </table></dl><dl compact><dt><b>Returns:</b></dt><dd>size of the record </dd></dl>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="dbFieldDescriptoro24" doxytag="dbFieldDescriptor::alignment" ></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"> size_t <a class="el" href="classdbFieldDescriptor.html#dbFieldDescriptoro24">dbFieldDescriptor::alignment</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Alignment of the field (for structures it is equal to the maximum required alignment of it's components     </td>  </tr></table><a class="anchor" name="dbFieldDescriptoro18" doxytag="dbFieldDescriptor::appOffs" ></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 <a class="el" href="classdbFieldDescriptor.html#dbFieldDescriptoro18">dbFieldDescriptor::appOffs</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Offset to the field in application     </td>  </tr></table><a class="anchor" name="dbFieldDescriptoro23" doxytag="dbFieldDescriptor::appSize" ></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"> size_t <a class="el" href="classdbFieldDescriptor.html#dbFieldDescriptoro23">dbFieldDescriptor::appSize</a>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>

⌨️ 快捷键说明

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