classdbmethodfasttrampoline.html

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

HTML
135
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title> TemplatedbMethodFastTrampoline class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.15 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center><hr><h1>dbMethodFastTrampoline&lt; T, R &gt;  Class Template Reference</h1><code>#include &lt;<a class="el" href="class_8h-source.html">class.h</a>&gt;</code><p><p>Inheritance diagram for dbMethodFastTrampoline&lt; T, R &gt;:<p><center><img src="classdbMethodFastTrampoline.png" usemap="#dbMethodFastTrampoline< T, R >_map" border="0"></center><map name="dbMethodFastTrampoline< T, R >_map"><area href="classdbMethodTrampoline.html" alt="dbMethodTrampoline< T, R >" shape="rect" coords="0,56,202,80"><area href="classdbAnyMethodTrampoline.html" alt="dbAnyMethodTrampoline" shape="rect" coords="0,0,202,24"></map><a href="classdbMethodFastTrampoline-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Types</h2></td></tr><tr><td nowrap align=right valign=top><a name="dbMethodTrampolines0" doxytag="dbMethodFastTrampoline::mfunc"></a>typedef R(T::*&nbsp;</td><td valign=bottom><b>mfunc</b> )()</td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classdbMethodFastTrampoline.html#dbMethodFastTrampolinea0">invoke</a> (byte *data, void *result)</td></tr><tr><td nowrap align=right valign=top><a name="dbMethodFastTrampolinea1" doxytag="dbMethodFastTrampoline::dbMethodFastTrampoline"></a>&nbsp;</td><td valign=bottom><b>dbMethodFastTrampoline</b> (<a class="el" href="classdbMethodTrampoline.html">dbMethodTrampoline</a>&lt; T, R &gt; *mt)</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classdbAnyMethodTrampoline.html">dbAnyMethodTrampoline</a> *&nbsp;</td><td valign=bottom><a class="el" href="classdbMethodFastTrampoline.html#dbMethodTrampolinea1">optimize</a> ()</td></tr><tr><td colspan=2><br><h2>Public Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a name="dbMethodTrampolinem0" doxytag="dbMethodFastTrampoline::method"></a>mfunc&nbsp;</td><td valign=bottom><b>method</b></td></tr><tr><td nowrap align=right valign=top><a name="dbMethodTrampolinem1" doxytag="dbMethodFastTrampoline::cls"></a><a class="el" href="classdbFieldDescriptor.html">dbFieldDescriptor</a> *&nbsp;</td><td valign=bottom><b>cls</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><h3>template&lt;class T, class R&gt;<br> class dbMethodFastTrampoline&lt; T, R &gt;</h3>Optimized method trampoline which doesn't fetch record from the database and use direct pointer to the record inside database <p><hr><h2>Member Function Documentation</h2><a name="dbMethodFastTrampolinea0" doxytag="dbMethodFastTrampoline::invoke"></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" colspan="4">template&lt;class T, class R&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> void dbMethodFastTrampoline&lt; T, R &gt;::invoke </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">byte *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>data</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>void *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>result</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Invoke method <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>data</em>&nbsp;</td><td>pointer to the record insode database </td></tr><tr><td valign=top><em>result</em>&nbsp;</td><td>pointer to place result in </td></tr></table></dl><p>Reimplemented from <a class="el" href="classdbMethodTrampoline.html#dbMethodTrampolinea0">dbMethodTrampoline&lt; T, R &gt;</a>.    </td>  </tr></table><a name="dbMethodTrampolinea1" doxytag="dbMethodFastTrampoline::optimize"></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" colspan="4">template&lt;class T, class R&gt; </td>        </tr>        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classdbAnyMethodTrampoline.html">dbAnyMethodTrampoline</a> * <a class="el" href="classdbMethodTrampoline.html">dbMethodTrampoline</a>&lt; T, R &gt;::optimize </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual, inherited]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get optimize trampoline. Optimized trampoline can be used for records which format in the database is the same as in application. In this case there is no need to fetch record and pointer insode dataabse can be used intead <dl compact><dt><b>Returns: </b><dd>optimized nethod trampoline </dl><p>Implements <a class="el" href="classdbAnyMethodTrampoline.html#dbAnyMethodTrampolinea1">dbAnyMethodTrampoline</a>.    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="class_8h-source.html">class.h</a></ul><hr><address align="right"><small>Generated on Fri Nov 15 21:06:30 2002 for FastDB by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.15 </small></address></body></html>

⌨️ 快捷键说明

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