<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>CVC3: CVC3::TypeComputerCore Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CVC3 </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceCVC3.html">CVC3</a></li><li class="navelem"><a class="el" href="classCVC3_1_1TypeComputerCore.html">TypeComputerCore</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="classCVC3_1_1TypeComputerCore-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">CVC3::TypeComputerCore Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Inherits <a class="el" href="classCVC3_1_1ExprManager_1_1TypeComputer.html">CVC3::ExprManager::TypeComputer</a>.</p> <div class="dynheader"> Collaboration diagram for CVC3::TypeComputerCore:</div> <div class="dyncontent"> <div class="center"><img src="classCVC3_1_1TypeComputerCore__coll__graph.gif" border="0" usemap="#CVC3_1_1TypeComputerCore_coll__map" alt="Collaboration graph"/></div> <map name="CVC3_1_1TypeComputerCore_coll__map" id="CVC3_1_1TypeComputerCore_coll__map"> </map> </div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a3ac3f091b4dfa1bef62cc3a1456bd7a7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1TypeComputerCore.html#a3ac3f091b4dfa1bef62cc3a1456bd7a7">TypeComputerCore</a> (<a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *core)</td></tr> <tr class="separator:a3ac3f091b4dfa1bef62cc3a1456bd7a7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9223b9b2cd88316afa84855a698b1c4c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1TypeComputerCore.html#a9223b9b2cd88316afa84855a698b1c4c">computeType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e)</td></tr> <tr class="memdesc:a9223b9b2cd88316afa84855a698b1c4c"><td class="mdescLeft"> </td><td class="mdescRight">Compute the type of e. <a href="#a9223b9b2cd88316afa84855a698b1c4c"></a><br/></td></tr> <tr class="separator:a9223b9b2cd88316afa84855a698b1c4c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13bfb35575699b39b635e7eefce51c6a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1TypeComputerCore.html#a13bfb35575699b39b635e7eefce51c6a">checkType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e)</td></tr> <tr class="memdesc:a13bfb35575699b39b635e7eefce51c6a"><td class="mdescLeft"> </td><td class="mdescRight">Check that e is a valid <a class="el" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> expr. <a href="#a13bfb35575699b39b635e7eefce51c6a"></a><br/></td></tr> <tr class="separator:a13bfb35575699b39b635e7eefce51c6a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6ee7730c9d296140e2870359967cb8f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCVC3.html#af969e724f8b7016909f5804e8cea3e54">Cardinality</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1TypeComputerCore.html#a6ee7730c9d296140e2870359967cb8f5">finiteTypeInfo</a> (<a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e, <a class="el" href="classCVC3_1_1Unsigned.html">Unsigned</a> &n, bool enumerate, bool computeSize)</td></tr> <tr class="memdesc:a6ee7730c9d296140e2870359967cb8f5"><td class="mdescLeft"> </td><td class="mdescRight">Get information related to finiteness of a type. <a href="#a6ee7730c9d296140e2870359967cb8f5"></a><br/></td></tr> <tr class="separator:a6ee7730c9d296140e2870359967cb8f5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classCVC3_1_1ExprManager_1_1TypeComputer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCVC3_1_1ExprManager_1_1TypeComputer')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classCVC3_1_1ExprManager_1_1TypeComputer.html">CVC3::ExprManager::TypeComputer</a></td></tr> <tr class="memitem:gaf4397d9b6d23d0e4b9112b509d9dfad4 inherit pub_methods_classCVC3_1_1ExprManager_1_1TypeComputer"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__EM__Priv.html#gaf4397d9b6d23d0e4b9112b509d9dfad4">TypeComputer</a> ()</td></tr> <tr class="separator:gaf4397d9b6d23d0e4b9112b509d9dfad4 inherit pub_methods_classCVC3_1_1ExprManager_1_1TypeComputer"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:gaee11e07336c1b8704409d42c0aaeafad inherit pub_methods_classCVC3_1_1ExprManager_1_1TypeComputer"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="group__EM__Priv.html#gaee11e07336c1b8704409d42c0aaeafad">~TypeComputer</a> ()</td></tr> <tr class="separator:gaee11e07336c1b8704409d42c0aaeafad inherit pub_methods_classCVC3_1_1ExprManager_1_1TypeComputer"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:ad734b7fcacd8fab1f17c40301f54a7b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCVC3_1_1TypeComputerCore.html#ad734b7fcacd8fab1f17c40301f54a7b8">d_core</a></td></tr> <tr class="separator:ad734b7fcacd8fab1f17c40301f54a7b8"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l00070">70</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a3ac3f091b4dfa1bef62cc3a1456bd7a7"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">CVC3::TypeComputerCore::TypeComputerCore </td> <td>(</td> <td class="paramtype"><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> * </td> <td class="paramname"><em>core</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l00073">73</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a9223b9b2cd88316afa84855a698b1c4c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void CVC3::TypeComputerCore::computeType </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>e</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Compute the type of e. </p> <p>Implements <a class="el" href="group__EM__Priv.html#ga670ca72899c66da598ea568af7389407">CVC3::ExprManager::TypeComputer</a>.</p> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l00074">74</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> <p>References <a class="el" href="theory_8h_source.html#l00263">CVC3::Theory::computeType()</a>, <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, <a class="el" href="type_8h_source.html#l00052">CVC3::Type::getExpr()</a>, <a class="el" href="expr_8h_source.html#l01168">CVC3::Expr::getKind()</a>, <a class="el" href="expr_8h_source.html#l01014">CVC3::Expr::isApply()</a>, <a class="el" href="expr_8h_source.html#l01223">CVC3::Expr::isNull()</a>, <a class="el" href="expr_8h_source.html#l01005">CVC3::Expr::isVar()</a>, <a class="el" href="expr_8h_source.html#l01265">CVC3::Expr::lookupType()</a>, <a class="el" href="theory_8cpp_source.html#l00252">CVC3::Theory::theoryOf()</a>, and <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>.</p> </div> </div> <a class="anchor" id="a13bfb35575699b39b635e7eefce51c6a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void CVC3::TypeComputerCore::checkType </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>e</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Check that e is a valid <a class="el" href="classCVC3_1_1Type.html" title="MS C++ specific settings.">Type</a> expr. </p> <p>Implements <a class="el" href="group__EM__Priv.html#gae679c021fb433f86c28c5eec68e5b5ee">CVC3::ExprManager::TypeComputer</a>.</p> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l00082">82</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> <p>References <a class="el" href="expr_8h_source.html#l01020">CVC3::Expr::isType()</a>, <a class="el" href="expr_8h_source.html#l01438">CVC3::Expr::setValidType()</a>, and <a class="el" href="expr_8cpp_source.html#l00344">CVC3::Expr::toString()</a>.</p> </div> </div> <a class="anchor" id="a6ee7730c9d296140e2870359967cb8f5"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="namespaceCVC3.html#af969e724f8b7016909f5804e8cea3e54">Cardinality</a> CVC3::TypeComputerCore::finiteTypeInfo </td> <td>(</td> <td class="paramtype"><a class="el" href="classCVC3_1_1Expr.html">Expr</a> & </td> <td class="paramname"><em>e</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classCVC3_1_1Unsigned.html">Unsigned</a> & </td> <td class="paramname"><em>n</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>enumerate</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>computeSize</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get information related to finiteness of a type. </p> <p>Implements <a class="el" href="group__EM__Priv.html#ga13e9c0f4a23614e99705f60e3913c2b1">CVC3::ExprManager::TypeComputer</a>.</p> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l00089">89</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> <p>References <a class="el" href="debug_8h_source.html#l00408">DebugAssert</a>, and <a class="el" href="expr_8h_source.html#l01020">CVC3::Expr::isType()</a>.</p> </div> </div> <h2 class="groupheader">Member Data Documentation</h2> <a class="anchor" id="ad734b7fcacd8fab1f17c40301f54a7b8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a>* CVC3::TypeComputerCore::d_core</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="theory__core_8cpp_source.html#l00071">71</a> of file <a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="theory__core_8cpp_source.html">theory_core.cpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu May 16 2013 13:25:19 for CVC3 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.2 </small></address> </body> </html>