Sophie

Sophie

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

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: Text.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>Text.cpp File Reference</h1><code>#include &lt;stdio.h&gt;</code><br/>
<code>#include &lt;string.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="Text_8hh_source.html">Text.hh</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="compatibility_8hh_source.html">compatibility.hh</a>&quot;</code><br/>
<code>#include &lt;string&gt;</code><br/>
<code>#include &lt;vector&gt;</code><br/>
<code>#include &lt;iostream&gt;</code><br/>
<code>#include &lt;sstream&gt;</code><br/>
<code>#include &lt;assert.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="floats_8hh_source.html">floats.hh</a>&quot;</code><br/>
<div class="dynheader">
Include dependency graph for Text.cpp:</div>
<div class="dynsection">
</div>

<p><a href="Text_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">static string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (const string &amp;model, const vector&lt; string &gt; &amp;args)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#af50e951c134c2c98c4c75d687f8fca7a">subst</a> (const string &amp;model, const vector&lt; string &gt; &amp;args)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a1fc3e9abeb406ffea55e3ffb4603c182">subst</a> (const string &amp;model, const string &amp;a0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a2d26f67e44f109b26fc576743a895f32">subst</a> (const string &amp;model, const string &amp;a0, const string &amp;a1)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a013938a3b37fd1dad4c7db4bcd6166cd">subst</a> (const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#aaec57668d028437800a3e8fab82be84c">subst</a> (const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a9d1ef747ba547bfd48666714ef330f68">subst</a> (const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3, const string &amp;a4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#ae23f332a101a5b3a24a403a15b9955bb">subst</a> (const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3, const string &amp;a4, const string &amp;a5)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#aa6a098b57263e4f143448e8a0655e442">subst</a> (const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3, const string &amp;a4, const string &amp;a5, const string &amp;a6)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a1ab363a003080b60a8e1dbb926a4a0c0">zdel</a> (char *c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Suppress trailing zero in a string representating a floating point number.  <a href="#a1ab363a003080b60a8e1dbb926a4a0c0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a16bacb907294be37af81cdf9aff4449a">T</a> (char *c)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#ae02811f314d1cd4cb822943b355559bc">T</a> (int n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a2c4b0c4694367bb2718dcd9fca5318d9">T</a> (long n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#aadf74ab39851b618822e60d57be71924">T</a> (double n)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a trailing f when converting double-precision numbers to text if single-precision is required.  <a href="#aadf74ab39851b618822e60d57be71924"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a43603e937810ca498bdad7f930938491">unquote</a> (const string &amp;s)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">remove quotes from a string  <a href="#a43603e937810ca498bdad7f930938491"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a43eb5ec85f1ae5ea9a5120ab51446e80">quote</a> (const string &amp;s)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">add quotes to a string  <a href="#a43eb5ec85f1ae5ea9a5120ab51446e80"></a><br/></td></tr>
<tr><td colspan="2"><h2>Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8cpp.html#a9189feb409ffc639ae0bd0a809974123">gInternDoubleSwitch</a></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a43eb5ec85f1ae5ea9a5120ab51446e80"></a><!-- doxytag: member="Text.cpp::quote" ref="a43eb5ec85f1ae5ea9a5120ab51446e80" args="(const string &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string quote </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>add quotes to a string </p>

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00232">232</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00233"></a>00233 {
<a name="l00234"></a>00234     <span class="keywordtype">string</span> q(<span class="stringliteral">&quot;\&quot;&quot;</span>);
<a name="l00235"></a>00235     q += s;
<a name="l00236"></a>00236     q += <span class="stringliteral">&quot;\&quot;&quot;</span>;
<a name="l00237"></a>00237     <span class="keywordflow">return</span> q;
<a name="l00238"></a>00238 }
</pre></div></p>

</div>
</div>
<a class="anchor" id="aa6a098b57263e4f143448e8a0655e442"></a><!-- doxytag: member="Text.cpp::subst" ref="aa6a098b57263e4f143448e8a0655e442" args="(const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3, const string &amp;a4, const string &amp;a5, const string &amp;a6)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a4</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a5</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a6</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00131">131</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00132"></a>00132 {
<a name="l00133"></a>00133     vector&lt;string&gt; args(10);
<a name="l00134"></a>00134 
<a name="l00135"></a>00135     args[0] = a0;
<a name="l00136"></a>00136     args[1] = a1;
<a name="l00137"></a>00137     args[2] = a2;
<a name="l00138"></a>00138     args[3] = a3;
<a name="l00139"></a>00139     args[4] = a4;
<a name="l00140"></a>00140     args[5] = a5;
<a name="l00141"></a>00141     args[6] = a6;
<a name="l00142"></a>00142 
<a name="l00143"></a>00143     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<a name="l00144"></a>00144 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="ae23f332a101a5b3a24a403a15b9955bb"></a><!-- doxytag: member="Text.cpp::subst" ref="ae23f332a101a5b3a24a403a15b9955bb" args="(const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3, const string &amp;a4, const string &amp;a5)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a4</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a5</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00117">117</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00118"></a>00118 {
<a name="l00119"></a>00119     vector&lt;string&gt; args(10);
<a name="l00120"></a>00120 
<a name="l00121"></a>00121     args[0] = a0;
<a name="l00122"></a>00122     args[1] = a1;
<a name="l00123"></a>00123     args[2] = a2;
<a name="l00124"></a>00124     args[3] = a3;
<a name="l00125"></a>00125     args[4] = a4;
<a name="l00126"></a>00126     args[5] = a5;
<a name="l00127"></a>00127 
<a name="l00128"></a>00128     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<a name="l00129"></a>00129 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="a9d1ef747ba547bfd48666714ef330f68"></a><!-- doxytag: member="Text.cpp::subst" ref="a9d1ef747ba547bfd48666714ef330f68" args="(const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3, const string &amp;a4)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a4</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00104">104</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00105"></a>00105 {
<a name="l00106"></a>00106     vector&lt;string&gt; args(10);
<a name="l00107"></a>00107 
<a name="l00108"></a>00108     args[0] = a0;
<a name="l00109"></a>00109     args[1] = a1;
<a name="l00110"></a>00110     args[2] = a2;
<a name="l00111"></a>00111     args[3] = a3;
<a name="l00112"></a>00112     args[4] = a4;
<a name="l00113"></a>00113 
<a name="l00114"></a>00114     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<a name="l00115"></a>00115 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="aaec57668d028437800a3e8fab82be84c"></a><!-- doxytag: member="Text.cpp::subst" ref="aaec57668d028437800a3e8fab82be84c" args="(const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2, const string &amp;a3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a3</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00092">92</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00093"></a>00093 {
<a name="l00094"></a>00094     vector&lt;string&gt; args(10);
<a name="l00095"></a>00095 
<a name="l00096"></a>00096     args[0] = a0;
<a name="l00097"></a>00097     args[1] = a1;
<a name="l00098"></a>00098     args[2] = a2;
<a name="l00099"></a>00099     args[3] = a3;
<a name="l00100"></a>00100 
<a name="l00101"></a>00101     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<a name="l00102"></a>00102 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="a013938a3b37fd1dad4c7db4bcd6166cd"></a><!-- doxytag: member="Text.cpp::subst" ref="a013938a3b37fd1dad4c7db4bcd6166cd" args="(const string &amp;model, const string &amp;a0, const string &amp;a1, const string &amp;a2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00082"></a>00082 {
<a name="l00083"></a>00083     vector&lt;string&gt; args(10);
<a name="l00084"></a>00084 
<a name="l00085"></a>00085     args[0] = a0;
<a name="l00086"></a>00086     args[1] = a1;
<a name="l00087"></a>00087     args[2] = a2;
<a name="l00088"></a>00088 
<a name="l00089"></a>00089     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<a name="l00090"></a>00090 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="a2d26f67e44f109b26fc576743a895f32"></a><!-- doxytag: member="Text.cpp::subst" ref="a2d26f67e44f109b26fc576743a895f32" args="(const string &amp;model, const string &amp;a0, const string &amp;a1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a1</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00072">72</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00073"></a>00073 {
<a name="l00074"></a>00074     vector&lt;string&gt; args(10);
<a name="l00075"></a>00075     args[0] = a0;
<a name="l00076"></a>00076     args[1] = a1;
<a name="l00077"></a>00077 
<a name="l00078"></a>00078     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<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>

</div>
</div>
<a class="anchor" id="a1fc3e9abeb406ffea55e3ffb4603c182"></a><!-- doxytag: member="Text.cpp::subst" ref="a1fc3e9abeb406ffea55e3ffb4603c182" args="(const string &amp;model, const string &amp;a0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>a0</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00065">65</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00066"></a>00066 {
<a name="l00067"></a>00067     vector&lt;string&gt; args(10);
<a name="l00068"></a>00068     args[0] = a0;
<a name="l00069"></a>00069     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a> (model, args);
<a name="l00070"></a>00070 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="af50e951c134c2c98c4c75d687f8fca7a"></a><!-- doxytag: member="Text.cpp::subst" ref="af50e951c134c2c98c4c75d687f8fca7a" args="(const string &amp;model, const vector&lt; string &gt; &amp;args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string subst </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector&lt; string &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>args</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00060">60</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="Text_8cpp_source.html#l00038">substitution()</a>.</p>

<p>Referenced by <a class="el" href="description_8cpp_source.html#l00210">Description::addGroup()</a>, <a class="el" href="description_8cpp_source.html#l00247">Description::addWidget()</a>, <a class="el" href="patternmatcher_8cpp_source.html#l00660">apply_pattern_matcher()</a>, <a class="el" href="klass_8cpp_source.html#l00285">Klass::buildTasksList()</a>, <a class="el" href="doc_8cpp_source.html#l00985">calcNumberedName()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00105">DocCompiler::compileLateq()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00032">VectorCompiler::compileMultiSignal()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00129">ScalarCompiler::compileMultiSignal()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00157">ScalarCompiler::compileSingleSignal()</a>, <a class="el" href="doc_8cpp_source.html#l01015">copyFaustSources()</a>, <a class="el" href="delayline_8cpp_source.html#l00051">dlineLoop()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00398">DocCompiler::generateBinOp()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00369">ScalarCompiler::generateBinOp()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00498">ScalarCompiler::generateButton()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00155">VectorCompiler::generateCacheCode()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00507">ScalarCompiler::generateCheckbox()</a>, <a class="el" href="tanprim_8cpp_source.html#l00040">TanPrim::generateCode()</a>, <a class="el" href="sqrtprim_8cpp_source.html#l00048">SqrtPrim::generateCode()</a>, <a class="el" href="sinprim_8cpp_source.html#l00040">SinPrim::generateCode()</a>, <a class="el" href="rintprim_8cpp_source.html#l00058">RintPrim::generateCode()</a>, <a class="el" href="remainderprim_8cpp_source.html#l00043">RemainderPrim::generateCode()</a>, <a class="el" href="powprim_8cpp_source.html#l00042">PowPrim::generateCode()</a>, <a class="el" href="minprim_8cpp_source.html#l00068">MinPrim::generateCode()</a>, <a class="el" href="maxprim_8cpp_source.html#l00068">MaxPrim::generateCode()</a>, <a class="el" href="logprim_8cpp_source.html#l00047">LogPrim::generateCode()</a>, <a class="el" href="log10prim_8cpp_source.html#l00048">Log10Prim::generateCode()</a>, <a class="el" href="fmodprim_8cpp_source.html#l00042">FmodPrim::generateCode()</a>, <a class="el" href="floorprim_8cpp_source.html#l00042">FloorPrim::generateCode()</a>, <a class="el" href="expprim_8cpp_source.html#l00042">ExpPrim::generateCode()</a>, <a class="el" href="cosprim_8cpp_source.html#l00040">CosPrim::generateCode()</a>, <a class="el" href="ceilprim_8cpp_source.html#l00042">CeilPrim::generateCode()</a>, <a class="el" href="atanprim_8cpp_source.html#l00040">AtanPrim::generateCode()</a>, <a class="el" href="atan2prim_8cpp_source.html#l00042">Atan2Prim::generateCode()</a>, <a class="el" href="asinprim_8cpp_source.html#l00040">AsinPrim::generateCode()</a>, <a class="el" href="acosprim_8cpp_source.html#l00040">AcosPrim::generateCode()</a>, <a class="el" href="doc__compile_8cpp_source.html#l01205">DocCompiler::generateDelayLine()</a>, <a class="el" href="compile__scal_8cpp_source.html#l01199">ScalarCompiler::generateDelayLine()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00342">VectorCompiler::generateDelayVec()</a>, <a class="el" href="doc__compile_8cpp_source.html#l01183">DocCompiler::generateDelayVecNoTemp()</a>, <a class="el" href="compile__scal_8cpp_source.html#l01151">ScalarCompiler::generateDelayVecNoTemp()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00854">DocCompiler::generateDocAccessTbl()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00749">DocCompiler::generateDocConstantTbl()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00814">DocCompiler::generateDocWriteTbl()</a>, <a class="el" href="doc__compile_8cpp_source.html#l01143">DocCompiler::generateFixDelay()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00288">VectorCompiler::generateFixDelay()</a>, <a class="el" href="compile__scal_8cpp_source.html#l01098">ScalarCompiler::generateFixDelay()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00628">DocCompiler::generateFloatCast()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00489">ScalarCompiler::generateFloatCast()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00572">ScalarCompiler::generateHBargraph()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00526">ScalarCompiler::generateHSlider()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00344">DocCompiler::generateInput()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00351">ScalarCompiler::generateInput()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00613">DocCompiler::generateIntCast()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00484">ScalarCompiler::generateIntCast()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00987">DocCompiler::generateIota()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00847">ScalarCompiler::generateIota()</a>, <a class="el" href="tanprim_8cpp_source.html#l00048">TanPrim::generateLateq()</a>, <a class="el" href="sqrtprim_8cpp_source.html#l00056">SqrtPrim::generateLateq()</a>, <a class="el" href="sinprim_8cpp_source.html#l00048">SinPrim::generateLateq()</a>, <a class="el" href="rintprim_8cpp_source.html#l00066">RintPrim::generateLateq()</a>, <a class="el" href="remainderprim_8cpp_source.html#l00051">RemainderPrim::generateLateq()</a>, <a class="el" href="powprim_8cpp_source.html#l00050">PowPrim::generateLateq()</a>, <a class="el" href="minprim_8cpp_source.html#l00081">MinPrim::generateLateq()</a>, <a class="el" href="maxprim_8cpp_source.html#l00081">MaxPrim::generateLateq()</a>, <a class="el" href="logprim_8cpp_source.html#l00055">LogPrim::generateLateq()</a>, <a class="el" href="log10prim_8cpp_source.html#l00056">Log10Prim::generateLateq()</a>, <a class="el" href="fmodprim_8cpp_source.html#l00050">FmodPrim::generateLateq()</a>, <a class="el" href="floorprim_8cpp_source.html#l00050">FloorPrim::generateLateq()</a>, <a class="el" href="expprim_8cpp_source.html#l00050">ExpPrim::generateLateq()</a>, <a class="el" href="cosprim_8cpp_source.html#l00048">CosPrim::generateLateq()</a>, <a class="el" href="ceilprim_8cpp_source.html#l00050">CeilPrim::generateLateq()</a>, <a class="el" href="atanprim_8cpp_source.html#l00048">AtanPrim::generateLateq()</a>, <a class="el" href="atan2prim_8cpp_source.html#l00050">Atan2Prim::generateLateq()</a>, <a class="el" href="asinprim_8cpp_source.html#l00048">AsinPrim::generateLateq()</a>, <a class="el" href="acosprim_8cpp_source.html#l00048">AcosPrim::generateLateq()</a>, <a class="el" href="absprim_8cpp_source.html#l00059">AbsPrim::generateLateq()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00535">ScalarCompiler::generateNumEntry()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00361">DocCompiler::generateOutput()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00357">ScalarCompiler::generateOutput()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00954">DocCompiler::generatePrefix()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00821">ScalarCompiler::generatePrefix()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00735">ScalarCompiler::generateRDTbl()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00878">DocCompiler::generateRecProj()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00766">ScalarCompiler::generateRecProj()</a>, <a class="el" href="doc__compile_8cpp_source.html#l01003">DocCompiler::generateSelect2()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00874">ScalarCompiler::generateSelect2()</a>, <a class="el" href="doc__compile_8cpp_source.html#l01029">DocCompiler::generateSelect3()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00933">ScalarCompiler::generateSelect3()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00611">ScalarCompiler::generateSigGen()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00622">ScalarCompiler::generateStaticSigGen()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00674">ScalarCompiler::generateStaticTable()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00638">ScalarCompiler::generateTable()</a>, <a class="el" href="compile_8cpp_source.html#l00279">Compiler::generateUserInterfaceTree()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00569">DocCompiler::generateVariableStore()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00268">VectorCompiler::generateVariableStore()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00448">ScalarCompiler::generateVariableStore()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00545">ScalarCompiler::generateVBargraph()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00517">ScalarCompiler::generateVSlider()</a>, <a class="el" href="compile_8cpp_source.html#l00327">Compiler::generateWidgetCode()</a>, <a class="el" href="compile_8cpp_source.html#l00450">Compiler::generateWidgetMacro()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00723">ScalarCompiler::generateWRTbl()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00075">DocCompiler::getFreshID()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00081">ScalarCompiler::getFreshID()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00486">DocCompiler::getTypedNames()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00401">ScalarCompiler::getTypedNames()</a>, <a class="el" href="main_8cpp_source.html#l00475">main()</a>, <a class="el" href="klass_8cpp_source.html#l00860">Klass::printComputeMethodOpenMP()</a>, <a class="el" href="klass_8cpp_source.html#l00744">Klass::printComputeMethodScalar()</a>, <a class="el" href="klass_8cpp_source.html#l00959">Klass::printComputeMethodScheduler()</a>, <a class="el" href="klass_8cpp_source.html#l00760">Klass::printComputeMethodVectorFaster()</a>, <a class="el" href="klass_8cpp_source.html#l00789">Klass::printComputeMethodVectorSimple()</a>, <a class="el" href="doc_8cpp_source.html#l00216">printDoc()</a>, <a class="el" href="doc_8cpp_source.html#l00829">printDocDgm()</a>, <a class="el" href="lateq_8cpp_source.html#l00077">Lateq::println()</a>, <a class="el" href="klass_8cpp_source.html#l01069">SigFloatGenKlass::println()</a>, <a class="el" href="klass_8cpp_source.html#l00579">Klass::printOneLoopScheduler()</a>, <a class="el" href="names_8cpp_source.html#l00134">setSigListNickName()</a>, <a class="el" href="list_8cpp_source.html#l00506">subst()</a>, <a class="el" href="list_8cpp_source.html#l00559">substitute()</a>, and <a class="el" href="delayline_8cpp_source.html#l00025">vectorLoop()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00061"></a>00061 {
<a name="l00062"></a>00062     <span class="keywordflow">return</span> <a class="code" href="Text_8cpp.html#ae44fd7b014330127ecf3d613186fbef8">substitution</a>(model, args);
<a name="l00063"></a>00063 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="ae44fd7b014330127ecf3d613186fbef8"></a><!-- doxytag: member="Text.cpp::substitution" ref="ae44fd7b014330127ecf3d613186fbef8" args="(const string &amp;model, const vector&lt; string &gt; &amp;args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static string substitution </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const vector&lt; string &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>args</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="Text_8cpp_source.html#l00038">38</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>Referenced by <a class="el" href="Text_8cpp_source.html#l00060">subst()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 {
<a name="l00040"></a>00040     <span class="keywordtype">char</span>    c;
<a name="l00041"></a>00041     <span class="keywordtype">int</span>     i=0, ilast = model.length()-1;
<a name="l00042"></a>00042     <span class="keywordtype">string</span>  result;
<a name="l00043"></a>00043 
<a name="l00044"></a>00044     <span class="keywordflow">while</span> (i &lt; ilast) {
<a name="l00045"></a>00045         c = model[i++];
<a name="l00046"></a>00046         <span class="keywordflow">if</span> (c != <span class="charliteral">&#39;$&#39;</span>) {
<a name="l00047"></a>00047             result += c;
<a name="l00048"></a>00048         } <span class="keywordflow">else</span> {
<a name="l00049"></a>00049             c = model[i++];
<a name="l00050"></a>00050             <span class="keywordflow">if</span> (c &gt;= <span class="charliteral">&#39;0&#39;</span> &amp;&amp; c &lt;= <span class="charliteral">&#39;9&#39;</span>) {
<a name="l00051"></a>00051                 result += args[c - <span class="charliteral">&#39;0&#39;</span>];
<a name="l00052"></a>00052             } <span class="keywordflow">else</span> {
<a name="l00053"></a>00053                 result += c;
<a name="l00054"></a>00054             }
<a name="l00055"></a>00055         }
<a name="l00056"></a>00056     }
<a name="l00057"></a>00057     <span class="keywordflow">if</span> (i == ilast) result += model[i];
<a name="l00058"></a>00058     <span class="keywordflow">return</span> result;
<a name="l00059"></a>00059 }
</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="aadf74ab39851b618822e60d57be71924"></a><!-- doxytag: member="Text.cpp::T" ref="aadf74ab39851b618822e60d57be71924" args="(double n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string T </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>n</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a trailing f when converting double-precision numbers to text if single-precision is required. </p>

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00185">185</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>References <a class="el" href="floats_8cpp_source.html#l00044">inumix()</a>, and <a class="el" href="Text_8cpp_source.html#l00153">zdel()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00186"></a>00186 {
<a name="l00187"></a>00187     <span class="keywordtype">char</span> c[64];
<a name="l00188"></a>00188     <span class="keywordflow">if</span>  (n &lt;  0.1 &amp;&amp; n &gt; -0.1 &amp;&amp; n != 0.0) {
<a name="l00189"></a>00189         snprintf(c, 63, <span class="stringliteral">&quot;%e%s&quot;</span>, n, <a class="code" href="floats_8cpp.html#a8d72e44e22d1ea45a1f90aaf8e0c683f" title="suffix for numeric constants">inumix</a>());
<a name="l00190"></a>00190     } <span class="keywordflow">else</span> {
<a name="l00191"></a>00191         snprintf(c, 63, <span class="stringliteral">&quot;%f%s&quot;</span>, n, <a class="code" href="floats_8cpp.html#a8d72e44e22d1ea45a1f90aaf8e0c683f" title="suffix for numeric constants">inumix</a>());
<a name="l00192"></a>00192         <a class="code" href="Text_8cpp.html#a1ab363a003080b60a8e1dbb926a4a0c0" title="Suppress trailing zero in a string representating a floating point number.">zdel</a>(c);
<a name="l00193"></a>00193     }
<a name="l00194"></a>00194     <span class="keywordflow">return</span> string(c);
<a name="l00195"></a>00195 }
</pre></div></p>

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

</div>
</div>
<a class="anchor" id="a2c4b0c4694367bb2718dcd9fca5318d9"></a><!-- doxytag: member="Text.cpp::T" ref="a2c4b0c4694367bb2718dcd9fca5318d9" args="(long n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string T </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>n</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00165">165</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00165"></a>00165 { <span class="keywordtype">char</span> c[64]; snprintf(c, 63, <span class="stringliteral">&quot;%ld&quot;</span>,n); <span class="keywordflow">return</span> string(c); }
</pre></div></p>

</div>
</div>
<a class="anchor" id="ae02811f314d1cd4cb822943b355559bc"></a><!-- doxytag: member="Text.cpp::T" ref="ae02811f314d1cd4cb822943b355559bc" args="(int n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string T </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00164">164</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00164"></a>00164 { <span class="keywordtype">char</span> c[64]; snprintf(c, 63, <span class="stringliteral">&quot;%d&quot;</span>,n);  <span class="keywordflow">return</span> string(c); }
</pre></div></p>

</div>
</div>
<a class="anchor" id="a16bacb907294be37af81cdf9aff4449a"></a><!-- doxytag: member="Text.cpp::T" ref="a16bacb907294be37af81cdf9aff4449a" args="(char *c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string T </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00163">163</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>Referenced by <a class="el" href="description_8cpp_source.html#l00210">Description::addGroup()</a>, <a class="el" href="description_8cpp_source.html#l00247">Description::addWidget()</a>, <a class="el" href="klass_8cpp_source.html#l00285">Klass::buildTasksList()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00032">VectorCompiler::compileMultiSignal()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00129">ScalarCompiler::compileMultiSignal()</a>, <a class="el" href="delayline_8cpp_source.html#l00051">dlineLoop()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00227">ScalarCompiler::generateCode()</a>, <a class="el" href="compile__scal_8cpp_source.html#l01199">ScalarCompiler::generateDelayLine()</a>, <a class="el" href="compile__scal_8cpp_source.html#l01151">ScalarCompiler::generateDelayVecNoTemp()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00749">DocCompiler::generateDocConstantTbl()</a>, <a class="el" href="doc__compile_8cpp_source.html#l00814">DocCompiler::generateDocWriteTbl()</a>, <a class="el" href="compile__vect_8cpp_source.html#l00288">VectorCompiler::generateFixDelay()</a>, <a class="el" href="compile__scal_8cpp_source.html#l01098">ScalarCompiler::generateFixDelay()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00526">ScalarCompiler::generateHSlider()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00847">ScalarCompiler::generateIota()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00535">ScalarCompiler::generateNumEntry()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00674">ScalarCompiler::generateStaticTable()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00638">ScalarCompiler::generateTable()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00517">ScalarCompiler::generateVSlider()</a>, <a class="el" href="compile_8cpp_source.html#l00327">Compiler::generateWidgetCode()</a>, <a class="el" href="compile_8cpp_source.html#l00450">Compiler::generateWidgetMacro()</a>, <a class="el" href="compile__scal_8cpp_source.html#l00081">ScalarCompiler::getFreshID()</a>, <a class="el" href="sigtyperules_8cpp_source.html#l00601">infereFFType()</a>, <a class="el" href="sigtyperules_8cpp_source.html#l00577">infereRecType()</a>, <a class="el" href="sigtyperules_8cpp_source.html#l00275">infereSigType()</a>, <a class="el" href="sigtyperules_8cpp_source.html#l00654">infereXType()</a>, <a class="el" href="smartpointer_8hh_source.html#l00068">P&lt; T &gt;::operator=()</a>, <a class="el" href="klass_8cpp_source.html#l00579">Klass::printOneLoopScheduler()</a>, <a class="el" href="names_8cpp_source.html#l00134">setSigListNickName()</a>, and <a class="el" href="delayline_8cpp_source.html#l00025">vectorLoop()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00163"></a>00163 { <span class="keywordflow">return</span> string(c); }
</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="a43603e937810ca498bdad7f930938491"></a><!-- doxytag: member="Text.cpp::unquote" ref="a43603e937810ca498bdad7f930938491" args="(const string &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string unquote </td>
          <td>(</td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>remove quotes from a string </p>

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00220">220</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>Referenced by <a class="el" href="doc_8cpp_source.html#l00287">printdocheader()</a>, and <a class="el" href="faustparser_8cpp_source.html#l01621">yyparse()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00221"></a>00221 {
<a name="l00222"></a>00222     assert(s.size() &gt;= 2);
<a name="l00223"></a>00223     assert(s[0] == <span class="charliteral">&#39;&quot;&#39;</span>);
<a name="l00224"></a>00224     assert(s[s.size()-1] == <span class="charliteral">&#39;&quot;&#39;</span>);
<a name="l00225"></a>00225     <span class="keywordflow">return</span> s.substr(1, s.size()-2);
<a name="l00226"></a>00226 }
</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="a1ab363a003080b60a8e1dbb926a4a0c0"></a><!-- doxytag: member="Text.cpp::zdel" ref="a1ab363a003080b60a8e1dbb926a4a0c0" args="(char *c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void zdel </td>
          <td>(</td>
          <td class="paramtype">char *&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Suppress trailing zero in a string representating a floating point number. </p>
<p>example : 1.00000 -&gt; 1.0 example : 1.00000f -&gt; 1.0f </p>

<p>Definition at line <a class="el" href="Text_8cpp_source.html#l00153">153</a> of file <a class="el" href="Text_8cpp_source.html">Text.cpp</a>.</p>

<p>Referenced by <a class="el" href="Text_8cpp_source.html#l00185">T()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00154"></a>00154 {
<a name="l00155"></a>00155     <span class="keywordtype">int</span>     l = strlen(c) - 1;
<a name="l00156"></a>00156     <span class="keywordtype">bool</span>    f = (c[l] == <span class="charliteral">&#39;f&#39;</span>);
<a name="l00157"></a>00157 
<a name="l00158"></a>00158     <span class="keywordflow">if</span> (f) c[l--] = 0;      <span class="comment">// remove trailing if any f</span>
<a name="l00159"></a>00159     <span class="keywordflow">while</span> ( l&gt;1 &amp;&amp; c[l-1] != <span class="charliteral">&#39;.&#39;</span> &amp;&amp; c[l] == <span class="charliteral">&#39;0&#39;</span>)  c[l--] = 0;
<a name="l00160"></a>00160     <span class="keywordflow">if</span> (f) c[++l] = <span class="charliteral">&#39;f&#39;</span>;    <span class="comment">// restaure trailing f if needed</span>
<a name="l00161"></a>00161 }
</pre></div></p>

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

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a9189feb409ffc639ae0bd0a809974123"></a><!-- doxytag: member="Text.cpp::gInternDoubleSwitch" ref="a9189feb409ffc639ae0bd0a809974123" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="Text_8cpp.html#a9189feb409ffc639ae0bd0a809974123">gInternDoubleSwitch</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:16 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>