📄 classrttifielddescriptor.html
字号:
<tr> <td class="md" nowrap valign="top"> char const* RTTIFieldDescriptor::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 field's name <dl compact><dt><b>Returns: </b><dd>name of the field </dl> </td> </tr></table><a name="RTTIFieldDescriptora4" doxytag="RTTIFieldDescriptor::getOffset"></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 RTTIFieldDescriptor::getOffset </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 offset of the field in the class <dl compact><dt><b>Returns: </b><dd>offset of the field in bytes within the class </dl> </td> </tr></table><a name="RTTIFieldDescriptora5" doxytag="RTTIFieldDescriptor::getSize"></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 RTTIFieldDescriptor::getSize </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 field size <dl compact><dt><b>Returns: </b><dd>size of the field in bytes </dl> </td> </tr></table><a name="RTTIFieldDescriptora6" doxytag="RTTIFieldDescriptor::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="classRTTIType.html">RTTIType</a>* RTTIFieldDescriptor::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>Get field type <dl compact><dt><b>Returns: </b><dd>descriptor of the field's type </dl> </td> </tr></table><a name="RTTIFieldDescriptora2" doxytag="RTTIFieldDescriptor::getValue"></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 RTTIFieldDescriptor::getValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">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>buf</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>Get field value <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>obj</em> </td><td>pointer to the object to which field belongs. If there are several nested structures, address of the most enclosed structure should be used. This paramter is agnredfor static fields. </td></tr><tr><td valign=top><em>buf</em> </td><td>buffer to receive field value. </td></tr></table></dl> </td> </tr></table><a name="RTTIFieldDescriptora9" doxytag="RTTIFieldDescriptor::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"> RTTIFieldDescriptor& RTTIFieldDescriptor::operator, </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">RTTIFieldDescriptor & </td> <td class="mdname1" valign="top" nowrap> <em>field</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 field descriptors in the list <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>field</em> </td><td>descriptor tail conctateneted with this head field 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><a name="RTTIFieldDescriptora1" doxytag="RTTIFieldDescriptor::setValue"></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 RTTIFieldDescriptor::setValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">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>buf</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>Set field value <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>obj</em> </td><td>pointer to the object to which field belongs. If there are several nested structures, address of the most enclosed structure should be used. This paramter is agnredfor static fields. </td></tr><tr><td valign=top><em>buf</em> </td><td>buffer with stored value </td></tr></table></dl> </td> </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="field_8h-source.html">field.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 + -