Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > aaf33964de706a538481c929c1da6a44 > files > 5026

faust-doc-0.9.10-5mdv2010.1.x86_64.rpm

<!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>FAUST compiler: ppbox.cpp File 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.6.3 -->
<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="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>
</div>
<div class="contents">
<h1>ppbox.cpp File Reference</h1><code>#include &quot;<a class="el" href="list_8hh_source.html">list.hh</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="boxes_8hh_source.html">boxes.hh</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="ppbox_8hh_source.html">ppbox.hh</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="signals_8hh_source.html">signals.hh</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="prim2_8hh_source.html">prim2.hh</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="xtended_8hh_source.html">xtended.hh</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for ppbox.cpp:</div>
<div class="dynsection">
</div>

<p><a href="ppbox_8cpp_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a5b146156345acaa92818b2a362e2507b">prim0name</a> (<a class="el" href="classCTree.html">CTree</a> *(*ptr)())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a8f1abadd58804b9c372328443250e0a0">prim1name</a> (<a class="el" href="classCTree.html">CTree</a> *(*ptr)(<a class="el" href="classCTree.html">CTree</a> *))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#aab6e83fd89926efe096c424c0e1e694b">prim2name</a> (<a class="el" href="classCTree.html">CTree</a> *(*ptr)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a98e1c3df1237e09e4d98ca263b47c9fe">prim3name</a> (<a class="el" href="classCTree.html">CTree</a> *(*ptr)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a02ff42a6b78b33f02f96c67bf7fd386b">prim4name</a> (<a class="el" href="classCTree.html">CTree</a> *(*ptr)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a0d9d3bae236541656f2e0b0c88fee269">prim5name</a> (<a class="el" href="classCTree.html">CTree</a> *(*ptr)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *))</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a756c422aeae1e55ccc53c49ef58170f6">streambinop</a> (ostream &amp;fout, <a class="el" href="classCTree.html">Tree</a> t1, const char *op, <a class="el" href="classCTree.html">Tree</a> t2, int curPriority, int upPriority)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ppbox_8cpp.html#a26603ca40d863fb1513efe5dee2cd3e1">printRule</a> (ostream &amp;fout, <a class="el" href="classCTree.html">Tree</a> rule)</td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a5b146156345acaa92818b2a362e2507b"></a><!-- doxytag: member="ppbox.cpp::prim0name" ref="a5b146156345acaa92818b2a362e2507b" args="(CTree *(*ptr)())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* prim0name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">CTree</a> *(*)()&nbsp;</td>
          <td class="paramname"> <em>ptr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00032">32</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00033"></a>00033 {
<a name="l00034"></a>00034     <span class="keywordflow">return</span> <span class="stringliteral">&quot;prim0???&quot;</span>;
<a name="l00035"></a>00035 }
</pre></div></p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a8f1abadd58804b9c372328443250e0a0"></a><!-- doxytag: member="ppbox.cpp::prim1name" ref="a8f1abadd58804b9c372328443250e0a0" args="(CTree *(*ptr)(CTree *))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* prim1name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">CTree</a> *(*)(<a class="el" href="classCTree.html">CTree</a> *)&nbsp;</td>
          <td class="paramname"> <em>ptr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00037">37</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="signals_8cpp_source.html#l00057">sigDelay1()</a>, <a class="el" href="signals_8cpp_source.html#l00170">sigFloatCast()</a>, and <a class="el" href="signals_8cpp_source.html#l00159">sigIntCast()</a>.</p>

<p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00038"></a>00038 {
<a name="l00039"></a>00039     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#aa329e904f79949f635b5e7ee472c7976">sigDelay1</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;mem&quot;</span>;
<a name="l00040"></a>00040     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#a6e61ed61966e9d6f2e19b4f114d6dc07">sigIntCast</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;int&quot;</span>;
<a name="l00041"></a>00041     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#a93095558ccb99d241c8839e2eacbd64f">sigFloatCast</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;float&quot;</span>;
<a name="l00042"></a>00042     <span class="keywordflow">return</span> <span class="stringliteral">&quot;prim1???&quot;</span>;
<a name="l00043"></a>00043 }
</pre></div></p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="aab6e83fd89926efe096c424c0e1e694b"></a><!-- doxytag: member="ppbox.cpp::prim2name" ref="aab6e83fd89926efe096c424c0e1e694b" args="(CTree *(*ptr)(CTree *, CTree *))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* prim2name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">CTree</a> *(*)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *)&nbsp;</td>
          <td class="paramname"> <em>ptr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00045">45</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="signals_8hh_source.html#l00148">sigAdd()</a>, <a class="el" href="signals_8hh_source.html#l00154">sigAND()</a>, <a class="el" href="signals_8cpp_source.html#l00285">sigAttach()</a>, <a class="el" href="signals_8hh_source.html#l00151">sigDiv()</a>, <a class="el" href="signals_8hh_source.html#l00165">sigEQ()</a>, <a class="el" href="signals_8cpp_source.html#l00061">sigFixDelay()</a>, <a class="el" href="signals_8hh_source.html#l00163">sigGE()</a>, <a class="el" href="signals_8hh_source.html#l00161">sigGT()</a>, <a class="el" href="signals_8hh_source.html#l00164">sigLE()</a>, <a class="el" href="signals_8hh_source.html#l00158">sigLeftShift()</a>, <a class="el" href="signals_8hh_source.html#l00162">sigLT()</a>, <a class="el" href="signals_8hh_source.html#l00150">sigMul()</a>, <a class="el" href="signals_8hh_source.html#l00166">sigNE()</a>, <a class="el" href="signals_8hh_source.html#l00155">sigOR()</a>, <a class="el" href="signals_8cpp_source.html#l00065">sigPrefix()</a>, <a class="el" href="signals_8hh_source.html#l00152">sigRem()</a>, <a class="el" href="signals_8hh_source.html#l00159">sigRightShift()</a>, <a class="el" href="signals_8hh_source.html#l00149">sigSub()</a>, and <a class="el" href="signals_8hh_source.html#l00156">sigXOR()</a>.</p>

<p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00046"></a>00046 {
<a name="l00047"></a>00047     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#ab914de7e6da0eea04636dd51ad35240a">sigAdd</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;+&quot;</span>;
<a name="l00048"></a>00048     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a390c47bc104a8e072c0c75ea0f9524e6">sigSub</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;-&quot;</span>;
<a name="l00049"></a>00049     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a333591913e073c3acd6b891b6da85298">sigMul</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;*&quot;</span>;
<a name="l00050"></a>00050     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#aa355af5e231f2e25ed43fa2f3bf6c72f">sigDiv</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;/&quot;</span>;
<a name="l00051"></a>00051     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a4e0f362fbbc7e3eaa37dd1637da01385">sigRem</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;%&quot;</span>;
<a name="l00052"></a>00052 
<a name="l00053"></a>00053     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a0fd3d5dd708928e297b7289c81a2b135">sigAND</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&amp;&quot;</span>;
<a name="l00054"></a>00054     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#ab49167bdfec43077d07b82a6b0d606f2">sigOR</a> ) <span class="keywordflow">return</span> <span class="stringliteral">&quot;|&quot;</span>;
<a name="l00055"></a>00055     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a3489f3c7632a7a3ee6f70405c9ea0c42">sigXOR</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;^&quot;</span>;
<a name="l00056"></a>00056 
<a name="l00057"></a>00057     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#abb0b074b9d842efc46e9f0909cbdd64a">sigLeftShift</a> ) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&lt;&lt;&quot;</span>;
<a name="l00058"></a>00058     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#ad7ca4720927fa00b4fd944c3e33e1563">sigRightShift</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&gt;&gt;&quot;</span>;
<a name="l00059"></a>00059 
<a name="l00060"></a>00060     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#aac97f0387416fd4dd6090f65ef263978">sigLT</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&lt;&quot;</span>;
<a name="l00061"></a>00061     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a68dde7c17e18278689a22caafcbcebb3">sigLE</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&lt;=&quot;</span>;
<a name="l00062"></a>00062     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a7035cc851064c3e3b9f4f47c2164fd33">sigGT</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&gt;&quot;</span>;
<a name="l00063"></a>00063     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#ae141796959ee846e4fc66e749a7e6df3">sigGE</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;&gt;=&quot;</span>;
<a name="l00064"></a>00064     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a682eb3d896f56221daff5a305115940b">sigEQ</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;==&quot;</span>;
<a name="l00065"></a>00065     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a85c09df5b5212ddc73c687ec1ea7ae5a">sigNE</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;!=&quot;</span>;
<a name="l00066"></a>00066 
<a name="l00067"></a>00067     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#ae4887b59dd1461bfacc431147c78ebb8">sigFixDelay</a>) <span class="keywordflow">return</span> <span class="stringliteral">&quot;@&quot;</span>;
<a name="l00068"></a>00068     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#aed0831b7a845cd58ab430a42abb7e69c">sigPrefix</a>)   <span class="keywordflow">return</span> <span class="stringliteral">&quot;prefix&quot;</span>;
<a name="l00069"></a>00069     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#ad8a10742ab836237673156bf6b37cf20">sigAttach</a>)   <span class="keywordflow">return</span> <span class="stringliteral">&quot;attach&quot;</span>;
<a name="l00070"></a>00070 
<a name="l00071"></a>00071     <span class="keywordflow">return</span> <span class="stringliteral">&quot;prim2???&quot;</span>;
<a name="l00072"></a>00072 }
</pre></div></p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a98e1c3df1237e09e4d98ca263b47c9fe"></a><!-- doxytag: member="ppbox.cpp::prim3name" ref="a98e1c3df1237e09e4d98ca263b47c9fe" args="(CTree *(*ptr)(CTree *, CTree *, CTree *))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* prim3name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">CTree</a> *(*)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *)&nbsp;</td>
          <td class="paramname"> <em>ptr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00074">74</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="signals_8hh_source.html#l00100">sigReadOnlyTable()</a>, and <a class="el" href="signals_8cpp_source.html#l00115">sigSelect2()</a>.</p>

<p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00075"></a>00075 {
<a name="l00076"></a>00076     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a428189df3c9af99579448ce981d557b1">sigReadOnlyTable</a>)    <span class="keywordflow">return</span> <span class="stringliteral">&quot;rdtable&quot;</span>;
<a name="l00077"></a>00077     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#a2283eb07e3595f93d678bf9ab986d914">sigSelect2</a>)          <span class="keywordflow">return</span> <span class="stringliteral">&quot;select2&quot;</span>;
<a name="l00078"></a>00078     <span class="keywordflow">return</span> <span class="stringliteral">&quot;prim3???&quot;</span>;
<a name="l00079"></a>00079 }
</pre></div></p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a02ff42a6b78b33f02f96c67bf7fd386b"></a><!-- doxytag: member="ppbox.cpp::prim4name" ref="a02ff42a6b78b33f02f96c67bf7fd386b" args="(CTree *(*ptr)(CTree *, CTree *, CTree *, CTree *))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* prim4name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">CTree</a> *(*)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *)&nbsp;</td>
          <td class="paramname"> <em>ptr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00081">81</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="signals_8cpp_source.html#l00118">sigSelect3()</a>.</p>

<p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00082"></a>00082 {
<a name="l00083"></a>00083     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8cpp.html#a70367824d7df436ff7267bb124826750">sigSelect3</a>)          <span class="keywordflow">return</span> <span class="stringliteral">&quot;select3&quot;</span>;
<a name="l00084"></a>00084     <span class="keywordflow">return</span> <span class="stringliteral">&quot;prim4???&quot;</span>;
<a name="l00085"></a>00085 }
</pre></div></p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a0d9d3bae236541656f2e0b0c88fee269"></a><!-- doxytag: member="ppbox.cpp::prim5name" ref="a0d9d3bae236541656f2e0b0c88fee269" args="(CTree *(*ptr)(CTree *, CTree *, CTree *, CTree *, CTree *))" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* prim5name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCTree.html">CTree</a> *(*)(<a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *, <a class="el" href="classCTree.html">CTree</a> *)&nbsp;</td>
          <td class="paramname"> <em>ptr</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00087">87</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="signals_8hh_source.html#l00095">sigWriteReadTable()</a>.</p>

<p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00088"></a>00088 {
<a name="l00089"></a>00089     <span class="keywordflow">if</span> (ptr == <a class="code" href="signals_8hh.html#a7b228b627c0d3ed4181cc08f65e538c1">sigWriteReadTable</a>)   <span class="keywordflow">return</span> <span class="stringliteral">&quot;wrtable&quot;</span>;
<a name="l00090"></a>00090     <span class="keywordflow">return</span> <span class="stringliteral">&quot;prim5???&quot;</span>;
<a name="l00091"></a>00091 }
</pre></div></p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a26603ca40d863fb1513efe5dee2cd3e1"></a><!-- doxytag: member="ppbox.cpp::printRule" ref="a26603ca40d863fb1513efe5dee2cd3e1" args="(ostream &amp;fout, Tree rule)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void printRule </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>fout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCTree.html">Tree</a>&nbsp;</td>
          <td class="paramname"> <em>rule</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00101">101</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>References <a class="el" href="list_8hh_source.html#l00133">hd()</a>, <a class="el" href="list_8hh_source.html#l00137">isNil()</a>, <a class="el" href="list_8hh_source.html#l00170">left()</a>, <a class="el" href="list_8hh_source.html#l00171">right()</a>, and <a class="el" href="list_8hh_source.html#l00134">tl()</a>.</p>

<p>Referenced by <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00102"></a>00102 {
<a name="l00103"></a>00103     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> lhs = <a class="code" href="list_8hh.html#a626356b3c8f3e0130d0e043a1dd8547c">left</a>(rule);
<a name="l00104"></a>00104     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> rhs = <a class="code" href="list_8hh.html#a098460d0916242eebda50610e2a86e39">right</a>(rule);
<a name="l00105"></a>00105     <span class="keywordtype">char</span> sep = <span class="charliteral">&#39;(&#39;</span>; <span class="keywordflow">while</span> (!<a class="code" href="list_8hh.html#a2569c3a07bbbfa55e0afde62de62aeec">isNil</a>(lhs)) { fout &lt;&lt; sep &lt;&lt; <a class="code" href="classboxpp.html">boxpp</a>(<a class="code" href="list_8hh.html#a067ad6f83087b420a1c44e48e56be389">hd</a>(lhs)); sep=<span class="charliteral">&#39;,&#39;</span>; lhs=<a class="code" href="list_8hh.html#a4075748f5c7156306ec898795313a2e0">tl</a>(lhs); }
<a name="l00106"></a>00106     fout &lt;&lt; <span class="stringliteral">&quot;) =&gt; &quot;</span> &lt;&lt; <a class="code" href="classboxpp.html">boxpp</a>(rhs) &lt;&lt; <span class="stringliteral">&quot;; &quot;</span>;
<a name="l00107"></a>00107 }
</pre></div></p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dynsection">
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
<a class="anchor" id="a756c422aeae1e55ccc53c49ef58170f6"></a><!-- doxytag: member="ppbox.cpp::streambinop" ref="a756c422aeae1e55ccc53c49ef58170f6" args="(ostream &amp;fout, Tree t1, const char *op, Tree t2, int curPriority, int upPriority)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void streambinop </td>
          <td>(</td>
          <td class="paramtype">ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>fout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCTree.html">Tree</a>&nbsp;</td>
          <td class="paramname"> <em>t1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>op</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCTree.html">Tree</a>&nbsp;</td>
          <td class="paramname"> <em>t2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>curPriority</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>upPriority</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="ppbox_8cpp_source.html#l00094">94</a> of file <a class="el" href="ppbox_8cpp_source.html">ppbox.cpp</a>.</p>

<p>Referenced by <a class="el" href="ppbox_8cpp_source.html#l00113">boxpp::print()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00095"></a>00095 {
<a name="l00096"></a>00096     <span class="keywordflow">if</span> (upPriority &gt; curPriority) fout &lt;&lt; <span class="charliteral">&#39;(&#39;</span>;
<a name="l00097"></a>00097     fout &lt;&lt; <a class="code" href="classboxpp.html">boxpp</a>(t1,curPriority) &lt;&lt; op &lt;&lt; <a class="code" href="classboxpp.html">boxpp</a>(t2,curPriority);
<a name="l00098"></a>00098     <span class="keywordflow">if</span> (upPriority &gt; curPriority) fout &lt;&lt; <span class="charliteral">&#39;)&#39;</span>;
<a name="l00099"></a>00099 }
</pre></div></p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dynsection">
</div>
</p>

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:09 2010 for FAUST compiler by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>