<!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.hh 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>Text.hh File Reference</h1><code>#include <string></code><br/> <code>#include <vector></code><br/> <div class="dynheader"> Include dependency graph for Text.hh:</div> <div class="dynsection"> </div> <div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dynsection"> </div> <p><a href="Text_8hh_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">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a67bc647ffbdad27d362f06d0f0b3a505">subst</a> (const string &m, const string &a0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a97ca823381676483a2adf03535946540">subst</a> (const string &m, const vector< string > &vargs)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a091ecdd96942891aa7efc25071b54561">subst</a> (const string &m, const string &a0, const string &a1)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#af39eb7bf42e79764c88f8a5f3df1b730">subst</a> (const string &m, const string &a0, const string &a1, const string &a2)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#aaec57668d028437800a3e8fab82be84c">subst</a> (const string &model, const string &a0, const string &a1, const string &a2, const string &a3)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a9d1ef747ba547bfd48666714ef330f68">subst</a> (const string &model, const string &a0, const string &a1, const string &a2, const string &a3, const string &a4)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#ae23f332a101a5b3a24a403a15b9955bb">subst</a> (const string &model, const string &a0, const string &a1, const string &a2, const string &a3, const string &a4, const string &a5)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#aa6a098b57263e4f143448e8a0655e442">subst</a> (const string &model, const string &a0, const string &a1, const string &a2, const string &a3, const string &a4, const string &a5, const string &a6)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a16bacb907294be37af81cdf9aff4449a">T</a> (char *c)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#ae02811f314d1cd4cb822943b355559bc">T</a> (int n)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a2c4b0c4694367bb2718dcd9fca5318d9">T</a> (long n)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#aadf74ab39851b618822e60d57be71924">T</a> (double n)</td></tr> <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a43603e937810ca498bdad7f930938491">unquote</a> (const string &s)</td></tr> <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="Text_8hh.html#a43eb5ec85f1ae5ea9a5120ab51446e80">quote</a> (const string &s)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">add quotes to a string <a href="#a43eb5ec85f1ae5ea9a5120ab51446e80"></a><br/></td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a43eb5ec85f1ae5ea9a5120ab51446e80"></a><!-- doxytag: member="Text.hh::quote" ref="a43eb5ec85f1ae5ea9a5120ab51446e80" args="(const string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string quote </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>s</em></td> <td> ) </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">"\""</span>); <a name="l00235"></a>00235 q += s; <a name="l00236"></a>00236 q += <span class="stringliteral">"\""</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.hh::subst" ref="aa6a098b57263e4f143448e8a0655e442" args="(const string &model, const string &a0, const string &a1, const string &a2, const string &a3, const string &a4, const string &a5, const string &a6)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a3</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a4</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a5</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a6</em></td><td> </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<string> 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.hh::subst" ref="ae23f332a101a5b3a24a403a15b9955bb" args="(const string &model, const string &a0, const string &a1, const string &a2, const string &a3, const string &a4, const string &a5)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a3</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a4</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a5</em></td><td> </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<string> 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.hh::subst" ref="a9d1ef747ba547bfd48666714ef330f68" args="(const string &model, const string &a0, const string &a1, const string &a2, const string &a3, const string &a4)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a3</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a4</em></td><td> </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<string> 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.hh::subst" ref="aaec57668d028437800a3e8fab82be84c" args="(const string &model, const string &a0, const string &a1, const string &a2, const string &a3)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>model</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a3</em></td><td> </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<string> 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="af39eb7bf42e79764c88f8a5f3df1b730"></a><!-- doxytag: member="Text.hh::subst" ref="af39eb7bf42e79764c88f8a5f3df1b730" args="(const string &m, const string &a0, const string &a1, const string &a2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>m</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a2</em></td><td> </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<string> 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="a091ecdd96942891aa7efc25071b54561"></a><!-- doxytag: member="Text.hh::subst" ref="a091ecdd96942891aa7efc25071b54561" args="(const string &m, const string &a0, const string &a1)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>m</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a1</em></td><td> </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<string> 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="a97ca823381676483a2adf03535946540"></a><!-- doxytag: member="Text.hh::subst" ref="a97ca823381676483a2adf03535946540" args="(const string &m, const vector< string > &vargs)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>m</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const vector< string > & </td> <td class="paramname"> <em>vargs</em></td><td> </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="a67bc647ffbdad27d362f06d0f0b3a505"></a><!-- doxytag: member="Text.hh::subst" ref="a67bc647ffbdad27d362f06d0f0b3a505" args="(const string &m, const string &a0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string subst </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>m</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const string & </td> <td class="paramname"> <em>a0</em></td><td> </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<string> 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="aadf74ab39851b618822e60d57be71924"></a><!-- doxytag: member="Text.hh::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 </td> <td class="paramname"> <em>n</em></td> <td> ) </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 < 0.1 && n > -0.1 && n != 0.0) { <a name="l00189"></a>00189 snprintf(c, 63, <span class="stringliteral">"%e%s"</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">"%f%s"</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.hh::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 </td> <td class="paramname"> <em>n</em></td> <td> ) </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">"%ld"</span>,n); <span class="keywordflow">return</span> string(c); } </pre></div></p> </div> </div> <a class="anchor" id="ae02811f314d1cd4cb822943b355559bc"></a><!-- doxytag: member="Text.hh::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 </td> <td class="paramname"> <em>n</em></td> <td> ) </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">"%d"</span>,n); <span class="keywordflow">return</span> string(c); } </pre></div></p> </div> </div> <a class="anchor" id="a16bacb907294be37af81cdf9aff4449a"></a><!-- doxytag: member="Text.hh::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 * </td> <td class="paramname"> <em>c</em></td> <td> ) </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< T >::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.hh::unquote" ref="a43603e937810ca498bdad7f930938491" args="(const string &s)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">string unquote </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>s</em></td> <td> ) </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() >= 2); <a name="l00223"></a>00223 assert(s[0] == <span class="charliteral">'"'</span>); <a name="l00224"></a>00224 assert(s[s.size()-1] == <span class="charliteral">'"'</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> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:16 2010 for FAUST compiler by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>