Sophie

Sophie

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

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: doc_compile.hh 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.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>
<h1>doc_compile.hh</h1><a href="doc__compile_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment"> ************************************************************************</span>
<a name="l00003"></a>00003 <span class="comment">    FAUST compiler</span>
<a name="l00004"></a>00004 <span class="comment">    Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale</span>
<a name="l00005"></a>00005 <span class="comment">    ---------------------------------------------------------------------</span>
<a name="l00006"></a>00006 <span class="comment">    This program is free software; you can redistribute it and/or modify</span>
<a name="l00007"></a>00007 <span class="comment">    it under the terms of the GNU General Public License as published by</span>
<a name="l00008"></a>00008 <span class="comment">    the Free Software Foundation; either version 2 of the License, or</span>
<a name="l00009"></a>00009 <span class="comment">    (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment"></span>
<a name="l00011"></a>00011 <span class="comment">    This program is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span>
<a name="l00014"></a>00014 <span class="comment">    GNU General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">    You should have received a copy of the GNU General Public License</span>
<a name="l00017"></a>00017 <span class="comment">    along with this program; if not, write to the Free Software</span>
<a name="l00018"></a>00018 <span class="comment">    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span>
<a name="l00019"></a>00019 <span class="comment"> ************************************************************************</span>
<a name="l00020"></a>00020 <span class="comment"> ************************************************************************/</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#ifndef _DOC_COMPILE_SCAL_</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define _DOC_COMPILE_SCAL_</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span>
<a name="l00027"></a>00027 
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;list&gt;</span>
<a name="l00030"></a>00030 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00031"></a>00031 
<a name="l00032"></a>00032 <span class="preprocessor">#include &quot;<a class="code" href="sigtyperules_8hh.html">sigtyperules.hh</a>&quot;</span>
<a name="l00033"></a>00033 <span class="preprocessor">#include &quot;<a class="code" href="occurences_8hh.html">occurences.hh</a>&quot;</span>
<a name="l00034"></a>00034 <span class="preprocessor">#include &quot;<a class="code" href="property_8hh.html">property.hh</a>&quot;</span>
<a name="l00035"></a>00035 <span class="preprocessor">#include &quot;<a class="code" href="signals_8hh.html">signals.hh</a>&quot;</span>
<a name="l00036"></a>00036 <span class="preprocessor">#include &quot;<a class="code" href="lateq_8hh.html">lateq.hh</a>&quot;</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include &quot;<a class="code" href="Text_8hh.html">Text.hh</a>&quot;</span>
<a name="l00038"></a>00038 <span class="preprocessor">#include &quot;<a class="code" href="doc__Text_8hh.html">doc_Text.hh</a>&quot;</span>
<a name="l00039"></a>00039 <span class="preprocessor">#include &quot;<a class="code" href="description_8hh.html">description.hh</a>&quot;</span>
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 
<a name="l00043"></a>00043 
<a name="l00046"></a>00046 
<a name="l00047"></a>00047 
<a name="l00048"></a><a class="code" href="classDocCompiler.html">00048</a> <span class="keyword">class </span><a class="code" href="classDocCompiler.html" title="Compile a list of FAUST signals into a list of LaTeX formulas.">DocCompiler</a>
<a name="l00049"></a>00049 {
<a name="l00050"></a>00050   <span class="keyword">protected</span>:
<a name="l00051"></a>00051     
<a name="l00052"></a><a class="code" href="classDocCompiler.html#a8a98d8c7f5b2a2846392fd49004eeda6">00052</a>     <a class="code" href="classproperty.html">property&lt;string&gt;</a>            <a class="code" href="classDocCompiler.html#a8a98d8c7f5b2a2846392fd49004eeda6">fCompileProperty</a>;
<a name="l00053"></a><a class="code" href="classDocCompiler.html#a9d6897e4375197f75c1b5ae82001242a">00053</a>     <a class="code" href="classproperty.html">property&lt;string&gt;</a>            <a class="code" href="classDocCompiler.html#a9d6897e4375197f75c1b5ae82001242a">fVectorProperty</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a><a class="code" href="classDocCompiler.html#a4037c1dec4c44384561f05093242a1db">00055</a>     <a class="code" href="classLateq.html">Lateq</a>*          <a class="code" href="classDocCompiler.html#a4037c1dec4c44384561f05093242a1db">fLateq</a>;
<a name="l00056"></a><a class="code" href="classDocCompiler.html#ad617520bc415cee7d03a7ca4925f42a8">00056</a>     <a class="code" href="classDescription.html">Description</a>*    <a class="code" href="classDocCompiler.html#ad617520bc415cee7d03a7ca4925f42a8">fDescription</a>;
<a name="l00057"></a>00057 
<a name="l00058"></a><a class="code" href="classDocCompiler.html#a8bded9823b76113b717a721b42df3a23">00058</a>     <span class="keyword">static</span> map&lt;string, int&gt;     <a class="code" href="classDocCompiler.html#a8bded9823b76113b717a721b42df3a23">fIDCounters</a>;
<a name="l00059"></a><a class="code" href="classDocCompiler.html#a992ee2f6af8cd6b52e5e7a7924b64e6f">00059</a>     <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>                        <a class="code" href="classDocCompiler.html#a992ee2f6af8cd6b52e5e7a7924b64e6f">fSharingKey</a>;
<a name="l00060"></a><a class="code" href="classDocCompiler.html#adc3a3bf229f1d3b86aafaf51f087df94">00060</a>     <a class="code" href="classOccMarkup.html" title="Occurences Markup of a root tree.">OccMarkup</a>                   <a class="code" href="classDocCompiler.html#adc3a3bf229f1d3b86aafaf51f087df94">fOccMarkup</a>;
<a name="l00061"></a><a class="code" href="classDocCompiler.html#a3bc4d05943934ec53bd8eb1ca67d79c6">00061</a>     <span class="keywordtype">int</span>                         <a class="code" href="classDocCompiler.html#a3bc4d05943934ec53bd8eb1ca67d79c6" title="math priority context">fPriority</a>;  
<a name="l00062"></a>00062 
<a name="l00063"></a>00063 
<a name="l00064"></a>00064   <span class="keyword">public</span>:
<a name="l00065"></a>00065 
<a name="l00066"></a><a class="code" href="classDocCompiler.html#a5ecef0f5e96d573b5498fc32bc257eed">00066</a>     <a class="code" href="classDocCompiler.html#a5ecef0f5e96d573b5498fc32bc257eed">DocCompiler</a> (<span class="keywordtype">int</span> numInputs, <span class="keywordtype">int</span> numOutputs) 
<a name="l00067"></a>00067     :
<a name="l00068"></a>00068     <a class="code" href="classDocCompiler.html#a4037c1dec4c44384561f05093242a1db">fLateq</a>(new <a class="code" href="classLateq.html">Lateq</a>(numInputs, numOutputs)),
<a name="l00069"></a>00069     <a class="code" href="classDocCompiler.html#ad617520bc415cee7d03a7ca4925f42a8">fDescription</a>(0), 
<a name="l00070"></a>00070     <a class="code" href="classDocCompiler.html#a3bc4d05943934ec53bd8eb1ca67d79c6" title="math priority context">fPriority</a>(0)
<a name="l00071"></a>00071     {}
<a name="l00072"></a>00072     
<a name="l00073"></a><a class="code" href="classDocCompiler.html#af396e32dbacf305049517aebdd5906b4">00073</a>     <a class="code" href="classDocCompiler.html#a5ecef0f5e96d573b5498fc32bc257eed">DocCompiler</a> ( <a class="code" href="classLateq.html">Lateq</a>* k, <span class="keywordtype">int</span> priority) 
<a name="l00074"></a>00074     : 
<a name="l00075"></a>00075     <a class="code" href="classDocCompiler.html#a4037c1dec4c44384561f05093242a1db">fLateq</a>(k),
<a name="l00076"></a>00076     <a class="code" href="classDocCompiler.html#ad617520bc415cee7d03a7ca4925f42a8">fDescription</a>(0), 
<a name="l00077"></a>00077     <a class="code" href="classDocCompiler.html#a3bc4d05943934ec53bd8eb1ca67d79c6" title="math priority context">fPriority</a>(priority)
<a name="l00078"></a>00078     {}
<a name="l00079"></a>00079     
<a name="l00080"></a><a class="code" href="classDocCompiler.html#aa0bc467177571c02880be292c9e9fdb6">00080</a>     <a class="code" href="classDocCompiler.html#aa0bc467177571c02880be292c9e9fdb6">~DocCompiler</a>()
<a name="l00081"></a>00081     {}
<a name="l00082"></a>00082     
<a name="l00083"></a>00083     <a class="code" href="classLateq.html">Lateq</a>*          <a class="code" href="classDocCompiler.html#a951fa6dc2e893e0407cb3b544f3c9a2a">compileLateq</a> (<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> L, <a class="code" href="classLateq.html">Lateq</a>* compiledEqn);
<a name="l00084"></a>00084     <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>            <a class="code" href="classDocCompiler.html#aca50ec463d1edd5445f51783cb65ae76">annotate</a>(<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> L0);  
<a name="l00085"></a>00085     
<a name="l00086"></a><a class="code" href="classDocCompiler.html#a7891b9411d58403144eef37c6dcfc0b0">00086</a>     <a class="code" href="classLateq.html">Lateq</a>*          <a class="code" href="classDocCompiler.html#a7891b9411d58403144eef37c6dcfc0b0">getLateq</a>()                          { <span class="keywordflow">return</span> (<a class="code" href="classLateq.html">Lateq</a>*)<a class="code" href="classDocCompiler.html#a4037c1dec4c44384561f05093242a1db">fLateq</a>; }
<a name="l00087"></a><a class="code" href="classDocCompiler.html#a0d7b8d80d99329df512d114b692b4d0c">00087</a>     <span class="keywordtype">void</span>            <a class="code" href="classDocCompiler.html#a0d7b8d80d99329df512d114b692b4d0c">setDescription</a>(<a class="code" href="classDescription.html">Description</a>* descr)  { <a class="code" href="classDocCompiler.html#ad617520bc415cee7d03a7ca4925f42a8">fDescription</a>= descr; }
<a name="l00088"></a><a class="code" href="classDocCompiler.html#ae23aeee9c5fb8126497d83df879a2dc3">00088</a>     <a class="code" href="classDescription.html">Description</a>*    <a class="code" href="classDocCompiler.html#ae23aeee9c5fb8126497d83df879a2dc3">getDescription</a>()                    { <span class="keywordflow">return</span> <a class="code" href="classDocCompiler.html#ad617520bc415cee7d03a7ca4925f42a8">fDescription</a>; }
<a name="l00089"></a>00089     
<a name="l00090"></a>00090     
<a name="l00091"></a>00091   <span class="keyword">protected</span>:
<a name="l00092"></a>00092 
<a name="l00093"></a>00093     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#af7f123e77cd546bf4eff8e09380aed4d" title="Compile a signal.">CS</a> (<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> sig, <span class="keywordtype">int</span> priority);
<a name="l00094"></a>00094     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a4448bfdbf52aa34f1309d18aad170248" title="Main code generator dispatch.">generateCode</a> (<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> sig, <span class="keywordtype">int</span> priority);
<a name="l00095"></a>00095     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#aee620a41041e912bf0a6c4f61187587a">generateCacheCode</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp) ;
<a name="l00096"></a>00096     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a3951702f8f76566990ba358d84dbf1fb">generateVariableStore</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp);
<a name="l00097"></a>00097 
<a name="l00098"></a>00098     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a679af24fad10413e7c9578cc19c0ffe5">getFreshID</a> (<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; prefix);
<a name="l00099"></a>00099     
<a name="l00100"></a>00100     <span class="keywordtype">bool</span>        <a class="code" href="classDocCompiler.html#a7accda7c0bf08123d8cea73e056a664f" title="Test if a signal is already compiled.">getCompiledExpression</a>(<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> sig, <span class="keywordtype">string</span>&amp; <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>);
<a name="l00101"></a>00101     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a53bf2c6382238ed524b7407771512335" title="Set the string of a compiled expression is already compiled.">setCompiledExpression</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>);
<a name="l00102"></a>00102         
<a name="l00103"></a>00103     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#af5339e60afdd4f03501b1dd02728e3c1" title="Set the vector name property of a signal, the name of the vector used to store the...">setVectorNameProperty</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; vecname);
<a name="l00104"></a>00104     <span class="keywordtype">bool</span>        <a class="code" href="classDocCompiler.html#a71f0601baac4007b8f7c05b0e9ec9728" title="Get the vector name property of a signal, the name of the vector used to store the...">getVectorNameProperty</a>(<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> sig, <span class="keywordtype">string</span>&amp; vecname);
<a name="l00105"></a>00105 
<a name="l00106"></a>00106     <span class="keywordtype">int</span>         <a class="code" href="classDocCompiler.html#ad8fa6d8cefba3c723a6c1021c372ad6a">getSharingCount</a>(<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> t);
<a name="l00107"></a>00107     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#abc3e5be0bf658306b0597f2fff53a105">setSharingCount</a>(<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> t, <span class="keywordtype">int</span> count);
<a name="l00108"></a>00108     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#ab8102d957e24d02aaa4b0cdb2e702dd3">sharingAnalysis</a>(<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> t);
<a name="l00109"></a>00109     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#a7a06f13dc4cb45281f7c2549921c7ce1">sharingAnnotation</a>(<span class="keywordtype">int</span> vctxt, <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> t);
<a name="l00110"></a>00110     
<a name="l00111"></a>00111     <span class="keywordtype">bool</span>        <a class="code" href="classDocCompiler.html#a906ef71bc811d8752a0eff2d32b4ec34">isShortEnough</a>(<span class="keywordtype">string</span>&amp; s, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>);
<a name="l00112"></a>00112 
<a name="l00113"></a>00113     
<a name="l00114"></a>00114     <span class="comment">/* Code generation. */</span>
<a name="l00115"></a>00115     
<a name="l00116"></a>00116     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a827e951d843970c22cc66fd4914acdee" title="retrieve the type annotation of sig">generateXtended</a>     (<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> sig, <span class="keywordtype">int</span> priority);
<a name="l00117"></a>00117     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a4b6dfbd12f6ef7ebc0ae8360a74e3ac0" title="Generate code for accessing a delayed signal.">generateFixDelay</a>    (<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> sig, <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> arg, <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> size, <span class="keywordtype">int</span> priority);
<a name="l00118"></a>00118     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a2cd04bac79a7c2938507122e47771746" title="Generate LaTeX code for &amp;quot;prefix&amp;quot;, a 1­sample-delay explicitely initialized...">generatePrefix</a>      (<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> sig, <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> x, <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> e, <span class="keywordtype">int</span> priority);
<a name="l00119"></a>00119     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a0487c41b0d05a6b0286ec01b80d32275" title="Generate a &amp;quot;iota&amp;quot; time function, n-cyclical.">generateIota</a>        (<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> sig, <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> arg);
<a name="l00120"></a>00120     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#ae30e45023cb1a24c276ffe38763a6d85" title="Generate binary operations, managing priority parenthesis.">generateBinOp</a>       (<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> sig, <span class="keywordtype">int</span> opcode, <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> arg1, <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> arg2, <span class="keywordtype">int</span> priority);
<a name="l00121"></a>00121     
<a name="l00122"></a>00122     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a1d59f58c9f414277805d823f7e4e308e">generateFFun</a>        (<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> sig, <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> ff, <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> largs, <span class="keywordtype">int</span> priority);
<a name="l00123"></a>00123     
<a name="l00124"></a>00124     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#aa6ea27c07bf05d92353cbba1ed31f9ee">generateInput</a>       (<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; idx);
<a name="l00125"></a>00125     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a0c431e6f3f7e7c445e92cf842c675c85" title="Unused for the moment !">generateOutput</a>      (<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; idx, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; arg1);
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 <span class="comment">//    string      generateDocReadOnlyTbl  (Tree sig, Tree size, Tree content, Tree ridx);</span>
<a name="l00128"></a>00128 <span class="comment">//    string      generateDocReadWriteTbl (Tree sig, Tree size, Tree content, Tree widx, Tree wsig, Tree ridx);</span>
<a name="l00129"></a>00129     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a5097ab24feccc7c5f763a9d17de0d6d6" title="Generate the equation of a constant table (its content is time constant).">generateDocConstantTbl</a>  (<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> sig, <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> size, <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> content);
<a name="l00130"></a>00130     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a41f15f129a2ceabd11071bf2c30a2dec" title="Generate the equation of a write table, which content is time dependent.">generateDocWriteTbl</a>     (<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> sig, <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> size, <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> content, <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> widx, <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> wsig);
<a name="l00131"></a>00131     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a98b453d2dac9880778c3ab564b2d76f9" title="Generate the equation of a write table, which content is time dependent.">generateDocAccessTbl</a>    (<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> sig, <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> tbl, <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> ridx);
<a name="l00132"></a>00132 
<a name="l00133"></a>00133     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a2dd8ef0502cc67eccfa100e68ce87b0a" title="Generate a select2 code.">generateSelect2</a>     (<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> sig, <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> sel, <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> s1, <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> s2, <span class="keywordtype">int</span> priority);
<a name="l00134"></a>00134     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a218dfa44247814540f21c72167faf324" title="Generate a select3 code.">generateSelect3</a>     (<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> sig, <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> sel, <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> s1, <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> s2, <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> s3, <span class="keywordtype">int</span> priority);
<a name="l00135"></a>00135     
<a name="l00136"></a>00136     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#ab57dbedaf59b162d8ab209440122abfb" title="Generate code for a projection of a group of mutually recursive definitions.">generateRecProj</a>     (<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> sig, <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> exp, <span class="keywordtype">int</span> i, <span class="keywordtype">int</span> priority);
<a name="l00137"></a>00137     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#a6ccbf784e4aee15cb4b742a279e8551a" title="Generate code for a group of mutually recursive definitions.">generateRec</a>         (<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> sig, <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> var, <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> le, <span class="keywordtype">int</span> priority);
<a name="l00138"></a>00138     
<a name="l00139"></a>00139     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a8458dc0e2436e7fb487a665f5e159236">generateIntCast</a>     (<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> sig, <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> x, <span class="keywordtype">int</span> priority);
<a name="l00140"></a>00140     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a5cd42a373be8295de6016ef5736064d3" title="Don&amp;#39;t generate float cast !">generateFloatCast</a>   (<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> sig, <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> x, <span class="keywordtype">int</span> priority);
<a name="l00141"></a>00141     
<a name="l00142"></a>00142     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#aefcc2af2b9a39bf746783663b30342d4">generateButton</a>      (<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> sig, <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> label);
<a name="l00143"></a>00143     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#ab664c0812642c5959f77d4d768348fd8">generateCheckbox</a>    (<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> sig, <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> label);
<a name="l00144"></a>00144     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a69a8d8fe4e08fc4d5c53642a0e05b6de">generateVSlider</a>     (<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> sig, <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> label, <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> cur, <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> <a class="code" href="interval_8hh.html#a2f8edc4561e9744ed4233b205fa7ec32">min</a>, <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> <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>, <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> step);
<a name="l00145"></a>00145     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a44b57365226c6100da3f59f2652e24b7">generateHSlider</a>     (<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> sig, <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> label, <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> cur, <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> <a class="code" href="interval_8hh.html#a2f8edc4561e9744ed4233b205fa7ec32">min</a>, <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> <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>, <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> step);
<a name="l00146"></a>00146     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a67d310921e4f3d6a4f14e959feb24c2f">generateNumEntry</a>    (<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> sig, <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> label, <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> cur, <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> <a class="code" href="interval_8hh.html#a2f8edc4561e9744ed4233b205fa7ec32">min</a>, <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> <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>, <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> step);
<a name="l00147"></a>00147     
<a name="l00148"></a>00148     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#afbb79e83de886fd55ede5fac3090acd8">generateVBargraph</a>   (<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> sig, <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> label, <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> <a class="code" href="interval_8hh.html#a2f8edc4561e9744ed4233b205fa7ec32">min</a>, <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> <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp);
<a name="l00149"></a>00149     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#ac45a2c7e7838b0c18caaa4c0a93d6f7c">generateHBargraph</a>   (<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> sig, <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> label, <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> <a class="code" href="interval_8hh.html#a2f8edc4561e9744ed4233b205fa7ec32">min</a>, <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> <a class="code" href="interval_8hh.html#a1c45761573e6cbc97cfacac78d905016">max</a>, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp);
<a name="l00150"></a>00150     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a4cc552844de7d17e899326f6015b212f">generateAttach</a>      (<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> sig, <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> x, <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> y, <span class="keywordtype">int</span> priority);
<a name="l00151"></a>00151 
<a name="l00152"></a>00152     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#abc2752cccfa16f53b26b173e5b1e95bd">generateNumber</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp);
<a name="l00153"></a>00153     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a1ccc49e908974a9f76cc9d24b1a5de4b">generateFConst</a> (<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; file, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>);
<a name="l00154"></a>00154     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a07cc88ef84e64f13bf99c2e31a649e83">generateFVar</a> (<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; file, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>);
<a name="l00155"></a>00155     
<a name="l00156"></a>00156     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#ad264c4bdc136e4688b094f522a5775ad" title="Generate code for the delay mecchanism.">generateDelayVec</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; ctype, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; vname, <span class="keywordtype">int</span> mxd);
<a name="l00157"></a>00157     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a42c76aa724201d4ddff99098fb211eee" title="Generate code for the delay mecchanism without using temporary variables.">generateDelayVecNoTemp</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; ctype, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; vname, <span class="keywordtype">int</span> mxd);
<a name="l00158"></a>00158     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#a8c444eb21853d605f4d734076c100dcb" title="Generate code for the delay mecchanism without using temporary variables.">generateDelayLine</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; ctype, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; vname, <span class="keywordtype">int</span> mxd, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; exp);
<a name="l00159"></a>00159 
<a name="l00160"></a>00160     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#ab35cb0fe120ef556f0c9d3e011c8e3d9">getTypedNames</a>(<a class="code" href="classP.html">Type</a> t, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; prefix, <span class="keywordtype">string</span>&amp; ctype, <span class="keywordtype">string</span>&amp; vname);
<a name="l00161"></a>00161     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#a92960b141c2c53febdb9c40d17075b60" title="Print calling information of generateCode, for debug purposes.">printGCCall</a>(<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> sig, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; calledFunction);
<a name="l00162"></a>00162 
<a name="l00163"></a>00163         
<a name="l00164"></a>00164     <span class="comment">/* Managment of user interface elements. */</span>
<a name="l00165"></a>00165 
<a name="l00166"></a>00166     <span class="keywordtype">void</span>        <a class="code" href="classDocCompiler.html#abc360425b6e08722cf1b84fbfec36347" title="Get information on a user interface element for documentation.">getUIDocInfos</a>(<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> path, <span class="keywordtype">string</span>&amp; label, <span class="keywordtype">string</span>&amp; unit);
<a name="l00167"></a>00167     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#af3961c43e1cb050bff4185f5bfcb6c83" title="Get the directory of a user interface element.">getUIDir</a> (<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> pathname);
<a name="l00168"></a>00168     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#ab9d7c205cd0777da97436a0de515ad02" title="Prepare binary user interface elements (button, checkbox).">prepareBinaryUI</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>, <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> pathname);
<a name="l00169"></a>00169     <span class="keywordtype">string</span>      <a class="code" href="classDocCompiler.html#a0d4cf822c06dc520eef3c7477739487b" title="Prepare &amp;quot;intervallic&amp;quot; user interface elements (sliders, nentry).">prepareIntervallicUI</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; <a class="code" href="symbol_8hh.html#a8243134fbbd9d924ebbb3f833922e310" title="Returns the name of a symbol.">name</a>, <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> path, <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> tcur, <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> tmin, <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> tmax);
<a name="l00170"></a>00170 };
<a name="l00171"></a>00171 
<a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Apr 28 23:59:58 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>