classdbfielddescriptor.html

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

HTML
1,587
字号
          <td></td>          <td class="md" nowrap>size_t &amp;&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"></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><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><dd>offset of last field </dl>    </td>  </tr></table><a name="dbFieldDescriptora5" doxytag="dbFieldDescriptor::storeRecordFields"></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 dbFieldDescriptor::storeRecordFields </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">byte *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>dst</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>byte *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>src</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>size_t&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>offs</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>bool&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <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><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>offset</em>&nbsp;</td><td>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><dd>size of the record </dl>    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="dbFieldDescriptorm24" doxytag="dbFieldDescriptor::alignment"></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 dbFieldDescriptor::alignment      </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 name="dbFieldDescriptorm18" doxytag="dbFieldDescriptor::appOffs"></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"> int dbFieldDescriptor::appOffs      </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 name="dbFieldDescriptorm23" doxytag="dbFieldDescriptor::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 dbFieldDescriptor::appSize      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Size of the object in application     </td>  </tr></table><a name="dbFieldDescriptorm15" doxytag="dbFieldDescriptor::appType"></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"> int dbFieldDescriptor::appType      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Type of the field in application     </td>  </tr></table><a name="dbFieldDescriptorm31" doxytag="dbFieldDescriptor::arrayAllocator"></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(* dbFieldDescriptor::arrayAllocator)(<a class="el" href="classdbAnyArray.html">dbAnyArray</a>* array, void* data, size_t length)      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Allocator of array components     </td>  </tr></table><a name="dbFieldDescriptorm25" doxytag="dbFieldDescriptor::comparator"></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"> dbUDTComparator dbFieldDescriptor::comparator      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Comparator for user defined types     </td>  </tr></table><a name="dbFieldDescriptorm19" doxytag="dbFieldDescriptor::components"></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"> dbFieldDescriptor* dbFieldDescriptor::components      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Subcomponents of the field (for structures and arrays)     </td>  </tr></table><a name="dbFieldDescriptorm17" doxytag="dbFieldDescriptor::dbsOffs"></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"> int dbFieldDescriptor::dbsOffs      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Offset to the field in database     </td>  </tr></table><a name="dbFieldDescriptorm22" doxytag="dbFieldDescriptor::dbsSize"></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 dbFieldDescriptor::dbsSize      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Size of the record in database     </td>  </tr></table><a name="dbFieldDescriptorm11" doxytag="dbFieldDescriptor::defTable"></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="classdbTableDescriptor.html">dbTableDescriptor</a>* dbFieldDescriptor::defTable      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Definition of the table to which this field belongs     </td>  </tr></table><a name="dbFieldDescriptorm6" doxytag="dbFieldDescriptor::fieldNo"></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"> int dbFieldDescriptor::fieldNo      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Column number     </td>  </tr></table><a name="dbFieldDescriptorm20" doxytag="dbFieldDescriptor::hashTable"></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 dbFieldDescriptor::hashTable      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Hash table (for fields which are indexed by means of hash table)     </td>  </tr></table><a name="dbFieldDescriptorm16" doxytag="dbFieldDescriptor::indexType"></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"> int dbFieldDescriptor::indexType      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Type of field index (bit combination of constants defined in dbIndexType)     </td>  </tr></table><a name="dbFieldDescriptorm12" doxytag="dbFieldDescriptor::inverseRef"></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"> dbFieldDescriptor* dbFieldDescriptor::inverseRef      </table>    </td>

⌨️ 快捷键说明

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