<!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: notifylist.h Source File</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><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_b0856f6b0d80ccb263b2f415c91f9e17.html">include</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">notifylist.h</div> </div> </div><!--header--> <div class="contents"> <a href="notifylist_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*****************************************************************************/</span><span class="comment"></span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">/*!</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * \file notifylist.h</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * </span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Author: Clark Barrett</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * </span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Created: Mon Jan 20 13:52:19 2003</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> *</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * <hr></span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * License to use, copy, modify, sell and/or distribute this software</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * and its documentation for any purpose is hereby granted without</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * royalty, subject to the terms and conditions defined in the \ref</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * LICENSE file provided with this distribution.</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * </span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * <hr></span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * </span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">/*****************************************************************************/</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef _cvc3__include__notifylist_h_ </span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span><span class="preprocessor">#define _cvc3__include__notifylist_h_ </span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="expr_8h.html" title="Definition of the API to expression package. See class Expr for details.">expr.h</a>"</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="cdlist_8h.html">cdlist.h</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keyword">namespace </span>CVC3 {</div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keyword">class </span>Theory;</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html"> 31</a></span> <span class="keyword">class </span><a class="code" href="classCVC3_1_1NotifyList.html">NotifyList</a> {</div> <div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#a419a949fd63d1c66e2467a2ee69e6f69"> 32</a></span>  <a class="code" href="classCVC3_1_1CDList.html">CDList<Theory*></a> <a class="code" href="classCVC3_1_1NotifyList.html#a419a949fd63d1c66e2467a2ee69e6f69">d_tlist</a>;</div> <div class="line"><a name="l00033"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#a8325a8ef3ce9b369a6f5046e1b82a9ab"> 33</a></span>  <a class="code" href="classCVC3_1_1CDList.html">CDList<Expr></a> <a class="code" href="classCVC3_1_1NotifyList.html#a8325a8ef3ce9b369a6f5046e1b82a9ab">d_elist</a>;</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> </div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00036"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#a8280ff72040e6c485b2609c2be02f451"> 36</a></span>  <a class="code" href="classCVC3_1_1NotifyList.html#a8280ff72040e6c485b2609c2be02f451">NotifyList</a>(<a class="code" href="classCVC3_1_1Context.html">Context</a>* c) : <a class="code" href="classCVC3_1_1NotifyList.html#a419a949fd63d1c66e2467a2ee69e6f69">d_tlist</a>(c), <a class="code" href="classCVC3_1_1NotifyList.html#a8325a8ef3ce9b369a6f5046e1b82a9ab">d_elist</a>(c) {</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <a class="code" href="debug_8h.html#a600cb2d68efe7cc413cccbb5714c7016">IF_DEBUG</a>(<a class="code" href="classCVC3_1_1NotifyList.html#a8325a8ef3ce9b369a6f5046e1b82a9ab">d_elist</a>.setName(<span class="stringliteral">"CDList[NotifyList]"</span>);)</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  }</div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#a704efbeae736e9f245338432aaf2e7c3"> 39</a></span>  <span class="keywordtype">unsigned</span> <a class="code" href="classCVC3_1_1NotifyList.html#a704efbeae736e9f245338432aaf2e7c3">size</a>() <span class="keyword">const</span> { <span class="keywordflow">return</span> <a class="code" href="classCVC3_1_1NotifyList.html#a419a949fd63d1c66e2467a2ee69e6f69">d_tlist</a>.<a class="code" href="classCVC3_1_1CDList.html#adf92d0f391d73e7ac70da57db135af27">size</a>(); }</div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#a48b4004ce9b5f70b698d9e45bc39ab9b"> 40</a></span>  <span class="keywordtype">void</span> <a class="code" href="classCVC3_1_1NotifyList.html#a48b4004ce9b5f70b698d9e45bc39ab9b">add</a>(<a class="code" href="classCVC3_1_1Theory.html" title="Base class for theories.">Theory</a>* t, <span class="keyword">const</span> <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a>& e) { <a class="code" href="classCVC3_1_1NotifyList.html#a419a949fd63d1c66e2467a2ee69e6f69">d_tlist</a>.<a class="code" href="classCVC3_1_1CDList.html#aa1e8d3591c596d1b9c585dec955b519b">push_back</a>(t); <a class="code" href="classCVC3_1_1NotifyList.html#a8325a8ef3ce9b369a6f5046e1b82a9ab">d_elist</a>.<a class="code" href="classCVC3_1_1CDList.html#aa1e8d3591c596d1b9c585dec955b519b">push_back</a>(e); }</div> <div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#abd1c34e6add8be80426cb333553eaf3a"> 41</a></span>  <a class="code" href="classCVC3_1_1Theory.html" title="Base class for theories.">Theory</a>* <a class="code" href="classCVC3_1_1NotifyList.html#abd1c34e6add8be80426cb333553eaf3a">getTheory</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classCVC3_1_1NotifyList.html#a419a949fd63d1c66e2467a2ee69e6f69">d_tlist</a>[i]; }</div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="classCVC3_1_1NotifyList.html#a007e75c9970abcffa4a32c83ef9a4132"> 42</a></span>  <a class="code" href="classCVC3_1_1Expr.html" title="Data structure of expressions in CVC3.">Expr</a> <a class="code" href="classCVC3_1_1NotifyList.html#a007e75c9970abcffa4a32c83ef9a4132">getExpr</a>(<span class="keywordtype">int</span> i)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classCVC3_1_1NotifyList.html#a8325a8ef3ce9b369a6f5046e1b82a9ab">d_elist</a>[i]; }</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> };</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> }</div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu May 16 2013 13:25:14 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>