📄 classrttifielddescriptor.html
字号:
<!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>RTTIFieldDescriptor 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> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center><hr><h1>RTTIFieldDescriptor Class Reference</h1><code>#include <<a class="el" href="field_8h-source.html">field.h</a>></code><p><a href="classRTTIFieldDescriptor-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>char const * </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora0">getName</a> ()</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora1">setValue</a> (void *obj, void *buf)</td></tr><tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora2">getValue</a> (void *obj, void *buf)</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classRTTIClassDescriptor.html">RTTIClassDescriptor</a> * </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora3">getDelcaringClass</a> ()</td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora4">getOffset</a> ()</td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora5">getSize</a> ()</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classRTTIType.html">RTTIType</a> * </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora6">getType</a> ()</td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora7">getFlags</a> ()</td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora8">RTTIFieldDescriptor</a> (char const *name, int offs, int size, int flags, <a class="el" href="classRTTIType.html">RTTIType</a> *type)</td></tr><tr><td nowrap align=right valign=top>RTTIFieldDescriptor & </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora9">operator,</a> (RTTIFieldDescriptor &field)</td></tr><tr><td nowrap align=right valign=top>int </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora10">getIndex</a> ()</td></tr><tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classRTTIFieldDescriptor.html#RTTIFieldDescriptora11">~RTTIFieldDescriptor</a> ()</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn0" doxytag="RTTIFieldDescriptor::flags"></a>int </td><td valign=bottom><b>flags</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn1" doxytag="RTTIFieldDescriptor::index"></a>int </td><td valign=bottom><b>index</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn2" doxytag="RTTIFieldDescriptor::type"></a><a class="el" href="classRTTIType.html">RTTIType</a> * </td><td valign=bottom><b>type</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn3" doxytag="RTTIFieldDescriptor::offs"></a>int </td><td valign=bottom><b>offs</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn4" doxytag="RTTIFieldDescriptor::size"></a>int </td><td valign=bottom><b>size</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn5" doxytag="RTTIFieldDescriptor::name"></a>char const * </td><td valign=bottom><b>name</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn6" doxytag="RTTIFieldDescriptor::declaringClass"></a><a class="el" href="classRTTIClassDescriptor.html">RTTIClassDescriptor</a> * </td><td valign=bottom><b>declaringClass</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn7" doxytag="RTTIFieldDescriptor::next"></a>RTTIFieldDescriptor * </td><td valign=bottom><b>next</b></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorn8" doxytag="RTTIFieldDescriptor::chain"></a>RTTIFieldDescriptor ** </td><td valign=bottom><b>chain</b></td></tr><tr><td colspan=2><br><h2>Friends</h2></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorl0" doxytag="RTTIFieldDescriptor::RTTIType"></a>class </td><td valign=bottom><a class="el" href="classRTTIType.html#RTTIFieldDescriptorl0">RTTIType</a></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorl1" doxytag="RTTIFieldDescriptor::RTTIClassDescriptor"></a>class </td><td valign=bottom><a class="el" href="classRTTIClassDescriptor.html#RTTIFieldDescriptorl1">RTTIClassDescriptor</a></td></tr><tr><td nowrap align=right valign=top><a name="RTTIFieldDescriptorl2" doxytag="RTTIFieldDescriptor::RTTIBfdRepository"></a>class </td><td valign=bottom><b>RTTIBfdRepository</b></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>Field descriptor <p><hr><h2>Constructor & Destructor Documentation</h2><a name="RTTIFieldDescriptora8" doxytag="RTTIFieldDescriptor::RTTIFieldDescriptor"></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 </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">char const * </td> <td class="mdname" nowrap> <em>name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>offs</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>size</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>flags</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classRTTIType.html">RTTIType</a> * </td> <td class="mdname" nowrap> <em>type</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>Constructor of the field descriptor <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>name</em> </td><td>name of the field </td></tr><tr><td valign=top><em>offs</em> </td><td>offset within class </td></tr><tr><td valign=top><em>size</em> </td><td>size of the field </td></tr><tr><td valign=top><em>flags</em> </td><td>flags associated with the field </td></tr><tr><td valign=top><em>type</em> </td><td>type of the field </td></tr></table></dl> </td> </tr></table><a name="RTTIFieldDescriptora11" doxytag="RTTIFieldDescriptor::~RTTIFieldDescriptor"></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 </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>Destructor of field descriptor </td> </tr></table><hr><h2>Member Function Documentation</h2><a name="RTTIFieldDescriptora3" doxytag="RTTIFieldDescriptor::getDelcaringClass"></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="classRTTIClassDescriptor.html">RTTIClassDescriptor</a>* RTTIFieldDescriptor::getDelcaringClass </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 class to which the field belongs <dl compact><dt><b>Returns: </b><dd>descriptor of the class containing this field </dl> </td> </tr></table><a name="RTTIFieldDescriptora7" doxytag="RTTIFieldDescriptor::getFlags"></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::getFlags </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 flags associated with the field <dl compact><dt><b>Returns: </b><dd>combination of <code>RTTIFieldFlags>/code> flags </dl> </td> </tr></table><a name="RTTIFieldDescriptora10" doxytag="RTTIFieldDescriptor::getIndex"></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::getIndex </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 index of the field in the array returned by <code><a class="el" href="classRTTIClassDescriptor.html#RTTIClassDescriptora2">RTTIClassDescriptor::getFields</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 the field descriptor in the array sorted by field name </td></tr></table></dl> </td> </tr></table><a name="RTTIFieldDescriptora0" doxytag="RTTIFieldDescriptor::getName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -