Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a24e1a39141f9b4ca49bd1e2e23a54ba > files > 92

polybori-doc-0.5rc.p9-6mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>PolyBoRi: CStackSelector.h Source File</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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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 class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>CStackSelector.h</h1><a href="CStackSelector_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- c++ -*-</span>
<a name="l00002"></a>00002 <span class="comment">//*****************************************************************************</span>
<a name="l00034"></a>00034 <span class="comment"></span><span class="comment">//*****************************************************************************</span>
<a name="l00035"></a>00035 
<a name="l00036"></a>00036 <span class="comment">// include basic definitions</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="pbori__defs_8h.html">pbori_defs.h</a>"</span>
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 <span class="comment">// include polybori's functionals</span>
<a name="l00040"></a>00040 <span class="preprocessor">#include "<a class="code" href="pbori__func_8h.html">pbori_func.h</a>"</span>
<a name="l00041"></a>00041 
<a name="l00042"></a>00042 <span class="comment">// get stack types, which are used to store and handle paths of current terms</span>
<a name="l00043"></a>00043 <span class="preprocessor">#include "<a class="code" href="CTermStack_8h.html">CTermStack.h</a>"</span>
<a name="l00044"></a>00044 <span class="comment">//#include "CDegTermStack.h"</span>
<a name="l00045"></a>00045 <span class="comment">//#include "CBlockTermStack.h"</span>
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 <span class="comment">// include standard iterator functionality</span>
<a name="l00048"></a>00048 <span class="preprocessor">#include &lt;iterator&gt;</span>
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 <span class="preprocessor">#ifndef CStackSelector_h_</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span><span class="preprocessor">#define CStackSelector_h_</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a>00054 <a class="code" href="pbori__defs_8h.html#6ae360a591580558f31b6157ee792a10" title="Start project&amp;#39;s namespace.">BEGIN_NAMESPACE_PBORI</a>
<a name="l00055"></a>00055 
<a name="l00056"></a>00056 <span class="keyword">template</span> &lt;<span class="keyword">class</span> OrderType, <span class="keyword">class</span> NaviType, <span class="keyword">class</span> BaseType = <span class="keywordtype">int</span>ernal_tag&gt; 
<a name="l00057"></a><a class="code" href="classpolybori_1_1CStackSelector.html">00057</a> <span class="keyword">class </span><a class="code" href="classpolybori_1_1CStackSelector.html">CStackSelector</a> {
<a name="l00058"></a>00058 
<a name="l00060"></a>00060 
<a name="l00061"></a>00061   <span class="keyword">typedef</span> <a class="code" href="classBaseType.html">BaseType</a> <a class="code" href="classBaseType.html">base</a>;
<a name="l00062"></a>00062   <span class="keyword">typedef</span> NaviType navigator;
<a name="l00063"></a>00063   <span class="keyword">typedef</span> <span class="keyword">typename</span> OrderType::descending_property descending;
<a name="l00064"></a>00064   <span class="keyword">typedef</span> <span class="keyword">typename</span> OrderType::degorder_property deg_prop;
<a name="l00065"></a>00065   <span class="keyword">typedef</span> <span class="keyword">typename</span> OrderType::blockorder_property block_prop;
<a name="l00067"></a>00067 
<a name="l00069"></a>00069   <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1CTermStack.html" title="This class defines an iterator for the monomials in a Boolean polynomial.">CTermStack&lt;navigator, std::forward_iterator_tag, base&gt;</a> <a class="code" href="classpolybori_1_1CTermStack.html" title="This class defines an iterator for the monomials in a Boolean polynomial.">lex_type</a>;
<a name="l00070"></a>00070 
<a name="l00072"></a>00072   <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1CDegTermStack.html">CDegTermStack&lt;navigator, descending, invalid_tag, base&gt;</a> <a class="code" href="classpolybori_1_1CDegTermStack.html">deg_type</a>;
<a name="l00073"></a>00073 
<a name="l00075"></a>00075   <span class="keyword">typedef</span> <a class="code" href="classpolybori_1_1CBlockTermStack.html">CBlockTermStack&lt;navigator, descending, base&gt;</a> <a class="code" href="classpolybori_1_1CBlockTermStack.html">block_type</a>;
<a name="l00076"></a>00076 
<a name="l00078"></a>00078   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classpolybori_1_1on__same__type.html" title="This class switches betweem two types, depending on equality of types.">on_same_type</a>&lt;deg_prop, <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a>,
<a name="l00079"></a>00079                                 <a class="code" href="classpolybori_1_1CDegTermStack.html">deg_type</a>, <a class="code" href="classpolybori_1_1CTermStack.html" title="This class defines an iterator for the monomials in a Boolean polynomial.">lex_type</a>&gt;::type nonblock_type;
<a name="l00080"></a>00080   
<a name="l00081"></a>00081 <span class="keyword">public</span>:
<a name="l00083"></a>00083   <span class="keyword">typedef</span> <span class="keyword">typename</span> <a class="code" href="classpolybori_1_1on__same__type.html" title="This class switches betweem two types, depending on equality of types.">on_same_type</a>&lt;block_prop, <a class="code" href="structpolybori_1_1valid__tag.html" title="This class shows, whether a property of an order is valid.">valid_tag</a>,
<a name="l00084"></a><a class="code" href="classpolybori_1_1CStackSelector.html#d2845b3ad6cef865faf92170bfd4e8e3">00084</a>                                 <a class="code" href="classpolybori_1_1CBlockTermStack.html">block_type</a>, nonblock_type&gt;::type type;
<a name="l00085"></a>00085 };
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 
<a name="l00088"></a>00088 <a class="code" href="pbori__defs_8h.html#faf094fde6c1a7f1aad18bcb455f3b06" title="Finish project&amp;#39;s namespace.">END_NAMESPACE_PBORI</a>
<a name="l00089"></a>00089 
<a name="l00090"></a>00090 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Sep 9 14:30:55 2009 for PolyBoRi by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>