<!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"/> <title>CVC3: CVC3::TypeComputerCore Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.4 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CVC3 <span id="projectnumber">2.4.1</span></div> </td> </tr> </tbody> </table> </div> <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="hierarchy.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> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> </div> <div class="headertitle"> <div class="title">CVC3::TypeComputerCore Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="CVC3::TypeComputerCore" --><!-- doxytag: inherits="CVC3::ExprManager::TypeComputer" --><div class="dynheader"> Inheritance diagram for CVC3::TypeComputerCore:</div> <div class="dyncontent"> <div class="center"> <img src="classCVC3_1_1TypeComputerCore.png" usemap="#CVC3::TypeComputerCore_map" alt=""/> <map id="CVC3::TypeComputerCore_map" name="CVC3::TypeComputerCore_map"> <area href="classCVC3_1_1ExprManager_1_1TypeComputer.html" title="Abstract class for computing expr type." alt="CVC3::ExprManager::TypeComputer" shape="rect" coords="0,0,217,24"/> </map> </div></div> <p><a href="classCVC3_1_1TypeComputerCore-members.html">List of all members.</a></p> <h2><a name="pub-methods"></a> Public Member Functions</h2> <ul> <li><a class="el" href="classCVC3_1_1TypeComputerCore.html#a3ac3f091b4dfa1bef62cc3a1456bd7a7">TypeComputerCore</a> (<a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> *core) <li>void <a class="el" href="classCVC3_1_1TypeComputerCore.html#a9223b9b2cd88316afa84855a698b1c4c">computeType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e) <dl class="el"><dd class="mdescRight">Compute the type of e. <a href="#a9223b9b2cd88316afa84855a698b1c4c"></a><br/></dl><li>void <a class="el" href="classCVC3_1_1TypeComputerCore.html#a13bfb35575699b39b635e7eefce51c6a">checkType</a> (const <a class="el" href="classCVC3_1_1Expr.html">Expr</a> &e) <dl class="el"><dd 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/></dl><li><a class="el" href="namespaceCVC3.html#af969e724f8b7016909f5804e8cea3e54">Cardinality</a> <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) <dl class="el"><dd class="mdescRight">Get information related to finiteness of a type. <a href="#a6ee7730c9d296140e2870359967cb8f5"></a><br/></dl></ul> <h2><a name="pri-attribs"></a> Private Attributes</h2> <ul> <li><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a> * <a class="el" href="classCVC3_1_1TypeComputerCore.html#ad734b7fcacd8fab1f17c40301f54a7b8">d_core</a> </ul> <hr/><a name="details" id="details"></a><h2>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><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a3ac3f091b4dfa1bef62cc3a1456bd7a7"></a><!-- doxytag: member="CVC3::TypeComputerCore::TypeComputerCore" ref="a3ac3f091b4dfa1bef62cc3a1456bd7a7" args="(TheoryCore *core)" --> <div class="memitem"> <div class="memproto"> <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><code> [inline]</code></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> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a9223b9b2cd88316afa84855a698b1c4c"></a><!-- doxytag: member="CVC3::TypeComputerCore::computeType" ref="a9223b9b2cd88316afa84855a698b1c4c" args="(const Expr &e)" --> <div class="memitem"> <div class="memproto"> <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><code> [inline, virtual]</code></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><!-- doxytag: member="CVC3::TypeComputerCore::checkType" ref="a13bfb35575699b39b635e7eefce51c6a" args="(const Expr &e)" --> <div class="memitem"> <div class="memproto"> <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><code> [inline, virtual]</code></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><!-- doxytag: member="CVC3::TypeComputerCore::finiteTypeInfo" ref="a6ee7730c9d296140e2870359967cb8f5" args="(Expr &e, Unsigned &n, bool enumerate, bool computeSize)" --> <div class="memitem"> <div class="memproto"> <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><code> [inline, virtual]</code></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> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="ad734b7fcacd8fab1f17c40301f54a7b8"></a><!-- doxytag: member="CVC3::TypeComputerCore::d_core" ref="ad734b7fcacd8fab1f17c40301f54a7b8" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCVC3_1_1TheoryCore.html">TheoryCore</a>* <a class="el" href="classCVC3_1_1TypeComputerCore.html#ad734b7fcacd8fab1f17c40301f54a7b8">CVC3::TypeComputerCore::d_core</a><code> [private]</code></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> <hr class="footer"/><address class="footer"><small>Generated on Wed Sep 7 2011 for CVC3 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address> </body> </html>