📄 classrttimethoddescriptor.html
字号:
</td> <td><p>Get index of the metod in the array returned by <code><a class="el" href="classRTTIClassDescriptor.html#RTTIClassDescriptora10">RTTIClassDescriptor::getMethods</a>()</code> method <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>index</em> </td><td>of method descriptor in the array sorted by method name </td></tr></table></dl> </td> </tr></table><a name="RTTIMethodDescriptora3" doxytag="RTTIMethodDescriptor::getMethodDeclaration"></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 RTTIMethodDescriptor::getMethodDeclaration </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char * </td> <td class="mdname1" valign="top" nowrap> <em>buf</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>Print to the buffer forward declaration of the method, ifor example: <pre> void SomeClass::foo(char* name); </pre> <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>buf</em> </td><td>buffer to which method declaration will be printed </td></tr></table></dl> </td> </tr></table><a name="RTTIMethodDescriptora0" doxytag="RTTIMethodDescriptor::getName"></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"> char const* RTTIMethodDescriptor::getName </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> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get method's name </td> </tr></table><a name="RTTIMethodDescriptora1" doxytag="RTTIMethodDescriptor::getType"></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="classRTTIMethodType.html">RTTIMethodType</a>* RTTIMethodDescriptor::getType </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> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Gte type of the method <dl compact><dt><b>Returns: </b><dd>method type </dl> </td> </tr></table><a name="RTTIMethodDescriptora4" doxytag="RTTIMethodDescriptor::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" nowrap valign="top"> void RTTIMethodDescriptor::invoke </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void * </td> <td class="mdname" nowrap> <em>result</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>obj</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>void * </td> <td class="mdname" nowrap> <em>parameters</em>[]</td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Invoke method <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>result</em> </td><td>pointer to the location where method result will be stored. </td></tr><tr><td valign=top><em>obj</em> </td><td>target object (ignired for static methods) </td></tr><tr><td valign=top><em>parameters</em> </td><td>array of pointer to the parameter values </td></tr></table></dl> </td> </tr></table><a name="RTTIMethodDescriptora7" doxytag="RTTIMethodDescriptor::operator,"></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"> RTTIMethodDescriptor& RTTIMethodDescriptor::operator, </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">RTTIMethodDescriptor & </td> <td class="mdname1" valign="top" nowrap> <em>method</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>Comma operator used to concatenate metod descriptors in the list <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>method</em> </td><td>descriptor tail conctateneted with this head method descriptor, <code>chain</code> component of which contains address of <code>next</code> field of last element of the list </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>head of the list </dl> </td> </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="method_8h-source.html">method.h</a></ul><hr><address align="right"><small>Generated on Fri Apr 26 17:39:24 2002 for CppReflection 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -