📄 classcell.html
字号:
</tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Accessor (error if this is not a cons cell). <p><dl compact><dt><b>Returns:</b></dt><dd>Rest child cell.</dd></dl><p>Reimplemented in <a class="el" href="classConsCell.html#a3">ConsCell</a>. </td> </tr></table><a class="anchor" name="a5" doxytag="Cell::get_double"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">double Cell::get_double </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Accessor (error if this is not a double cell). <p><dl compact><dt><b>Returns:</b></dt><dd>The value in this double cell.</dd></dl><p>Reimplemented in <a class="el" href="classDoubleCell.html#a2">DoubleCell</a>. </td> </tr></table><a class="anchor" name="a4" doxytag="Cell::get_int"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int Cell::get_int </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Accessor (error if this is not an int cell). <p><dl compact><dt><b>Returns:</b></dt><dd>The value in this int cell.</dd></dl><p>Reimplemented in <a class="el" href="classIntCell.html#a2">IntCell</a>. </td> </tr></table><a class="anchor" name="a6" doxytag="Cell::get_symbol"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">string Cell::get_symbol </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Accessor (error if this is not a symbol cell). <p><dl compact><dt><b>Returns:</b></dt><dd>The symbol name in this symbol cell.</dd></dl><p>Reimplemented in <a class="el" href="classSymbolCell.html#a2">SymbolCell</a>. </td> </tr></table><a class="anchor" name="a3" doxytag="Cell::is_cons"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Cell::is_cons </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Check if this is a cons cell. <p><dl compact><dt><b>Returns:</b></dt><dd>True iff this is a cons cell.</dd></dl><p>Reimplemented in <a class="el" href="classConsCell.html#a1">ConsCell</a>. </td> </tr></table><a class="anchor" name="a1" doxytag="Cell::is_double"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Cell::is_double </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Check if this is a double cell. <p><dl compact><dt><b>Returns:</b></dt><dd>True iff this is a double cell.</dd></dl><p>Reimplemented in <a class="el" href="classDoubleCell.html#a1">DoubleCell</a>. </td> </tr></table><a class="anchor" name="a0" doxytag="Cell::is_int"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Cell::is_int </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Check if this is an int cell. <p><dl compact><dt><b>Returns:</b></dt><dd>True iff this is an int cell.</dd></dl><p>Reimplemented in <a class="el" href="classIntCell.html#a1">IntCell</a>. </td> </tr></table><a class="anchor" name="a17" doxytag="Cell::is_list"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Cell::is_list </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><p>Reimplemented in <a class="el" href="classConsCell.html#a5">ConsCell</a>. </td> </tr></table><a class="anchor" name="a2" doxytag="Cell::is_symbol"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Cell::is_symbol </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Check if this is a symbol cell. <p><dl compact><dt><b>Returns:</b></dt><dd>True iff this is a symbol cell.</dd></dl><p>Reimplemented in <a class="el" href="classSymbolCell.html#a1">SymbolCell</a>. </td> </tr></table><a class="anchor" name="a16" doxytag="Cell::is_zero"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool Cell::is_zero </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>To check if it is zero. <p><p>Reimplemented in <a class="el" href="classIntCell.html#a8">IntCell</a>, and <a class="el" href="classDoubleCell.html#a10">DoubleCell</a>. </td> </tr></table><a class="anchor" name="a9" doxytag="Cell::print"></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">virtual void Cell::print </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">ostream & </td> <td class="mdname1" valign="top" nowrap> <em>os</em> = <code>cout</code> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [pure virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Print the subtree rooted at this cell, in s-expression notation. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>os</em> </td><td>The output stream to print to.</td></tr> </table></dl><p>Implemented in <a class="el" href="classIntCell.html#a3">IntCell</a>, <a class="el" href="classDoubleCell.html#a3">DoubleCell</a>, <a class="el" href="classSymbolCell.html#a3">SymbolCell</a>, and <a class="el" href="classConsCell.html#a4">ConsCell</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="Cell_8hpp-source.html">Cell.hpp</a><li><a class="el" href="Cell_8cpp.html">Cell.cpp</a></ul><hr size="1"><address style="align: right;"><small>Generated on Wed Mar 28 22:53:55 2007 for a1 by <a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -