classgenericvaluet.html

来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 379 行 · 第 1/2 页

HTML
379
字号
References <a class="el" href="GenericValues_8h-source.html#l00076">m_vAddress</a>.<p>Referenced by <a class="el" href="GenericValues_8C-source.html#l00325">GenericValues::getValue</a>().    </td>  </tr></table><a name="a3" doxytag="GenericValueT::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"> bool GenericValueT::setValue </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>strValue</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method sets the variable associated with this GenericValueT object to the value indicated by the given string argument. The value is always supplied as a string which is then converted into the right type for this GenericValueT object. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>strValue</em>&nbsp;</td><td>a string denoting the value to which the variable associated with this GenericValueT object must be set </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>a boolean indicating whether the update was successful </dl><p>Definition at line <a class="el" href="GenericValues_8C-source.html#l00098">98</a> of file <a class="el" href="GenericValues_8C-source.html">GenericValues.C</a>.<p>References <a class="el" href="GenericValues_8h-source.html#l00076">m_vAddress</a>.<p>Referenced by <a class="el" href="GenericValues_8C-source.html#l00348">GenericValues::setValue</a>().    </td>  </tr></table><a name="a5" doxytag="GenericValueT::show"></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 GenericValueT::show </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">ostream &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>out</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const char *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>strSeparator</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>This display method writes the name associated with the variable in this GenericValueT object together with its value to the output stream indicated by the first argument to the method. Name and value are separated by the separator given as the second argument. Note that boolean values are written as 'true' and 'false'. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>out</em>&nbsp;</td><td>the output stream to which the information should be written </td></tr><tr><td valign=top><em>strSeparator</em>&nbsp;</td><td>a string representing the separator which should be written between the name associated with the variable and its value </td></tr></table></dl><p>Definition at line <a class="el" href="GenericValues_8C-source.html#l00177">177</a> of file <a class="el" href="GenericValues_8C-source.html">GenericValues.C</a>.<p>References <a class="el" href="GenericValues_8h-source.html#l00074">m_strName</a>, and <a class="el" href="GenericValues_8h-source.html#l00076">m_vAddress</a>.<p>Referenced by <a class="el" href="GenericValues_8C-source.html#l00460">GenericValues::show</a>().    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="o0" doxytag="GenericValueT::m_strName"></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"> const char* GenericValueT::m_strName<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>the name associated with the variable to which the class pointer points <p>Definition at line <a class="el" href="GenericValues_8h-source.html#l00074">74</a> of file <a class="el" href="GenericValues_8h-source.html">GenericValues.h</a>.<p>Referenced by <a class="el" href="GenericValues_8C-source.html#l00068">GenericValueT</a>(), <a class="el" href="GenericValues_8C-source.html#l00177">show</a>(), and <a class="el" href="GenericValues_8C-source.html#l00077">~GenericValueT</a>().    </td>  </tr></table><a name="o2" doxytag="GenericValueT::m_type"></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="GenericValues_8h.html#a4">GenericValueKind</a> GenericValueT::m_type<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>the (generic) type of the variable to which the class pointer points <p>Definition at line <a class="el" href="GenericValues_8h-source.html#l00077">77</a> of file <a class="el" href="GenericValues_8h-source.html">GenericValues.h</a>.<p>Referenced by <a class="el" href="GenericValues_8C-source.html#l00068">GenericValueT</a>().    </td>  </tr></table><a name="o1" doxytag="GenericValueT::m_vAddress"></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* GenericValueT::m_vAddress<code> [private]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>a pointer to a variable of a generic type <p>Definition at line <a class="el" href="GenericValues_8h-source.html#l00076">76</a> of file <a class="el" href="GenericValues_8h-source.html">GenericValues.h</a>.<p>Referenced by <a class="el" href="GenericValues_8C-source.html#l00068">GenericValueT</a>(), <a class="el" href="GenericValues_8C-source.html#l00144">getValue</a>(), <a class="el" href="GenericValues_8C-source.html#l00098">setValue</a>(), and <a class="el" href="GenericValues_8C-source.html#l00177">show</a>().    </td>  </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="GenericValues_8h-source.html">GenericValues.h</a><li><a class="el" href="GenericValues_8C-source.html">GenericValues.C</a></ul><hr><address><small>Generated on Thu Mar 7 00:37:54 2002 for UvA Trilearn 2001 by<a href="http://www.doxygen.org/index.html"><img src="doxygen.gif" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.12 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, &copy;&nbsp;1997-2001</small></address></body></html>

⌨️ 快捷键说明

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