<!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: parSchema.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 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>parSchema.cpp File Reference</h1><code>#include "<a class="el" href="parSchema_8cpp_source.html">parSchema.h</a>"</code><br/> <code>#include "<a class="el" href="schema_8h_source.html">schema.h</a>"</code><br/> <code>#include <assert.h></code><br/> <code>#include <iostream></code><br/> <div class="dynheader"> Include dependency graph for parSchema.cpp:</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="parSchema_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"><a class="el" href="classschema.html">schema</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="parSchema_8cpp.html#aedc4f34e04691a4368884450608b5721">makeParSchema</a> (<a class="el" href="classschema.html">schema</a> *s1, <a class="el" href="classschema.html">schema</a> *s2)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="aedc4f34e04691a4368884450608b5721"></a><!-- doxytag: member="parSchema.cpp::makeParSchema" ref="aedc4f34e04691a4368884450608b5721" args="(schema *s1, schema *s2)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classschema.html">schema</a>* makeParSchema </td> <td>(</td> <td class="paramtype"><a class="el" href="classschema.html">schema</a> * </td> <td class="paramname"> <em>s1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classschema.html">schema</a> * </td> <td class="paramname"> <em>s2</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="parSchema_8cpp_source.html#l00028">28</a> of file <a class="el" href="parSchema_8cpp_source.html">parSchema.cpp</a>.</p> <p>References <a class="el" href="enlargedSchema_8cpp_source.html#l00032">makeEnlargedSchema()</a>, and <a class="el" href="schema_8h_source.html#l00085">schema::width()</a>.</p> <p>Referenced by <a class="el" href="drawschema_8cpp_source.html#l00491">generateAbstractionSchema()</a>, <a class="el" href="drawschema_8cpp_source.html#l00358">generateInsideSchema()</a>, and <a class="el" href="seqSchema_8cpp_source.html#l00043">makeSeqSchema()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00029"></a>00029 { <a name="l00030"></a>00030 <span class="comment">// make sure s1 and s2 have same width</span> <a name="l00031"></a>00031 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classparSchema.html" title="place two schemi in parallel">parSchema</a>( <a class="code" href="enlargedSchema_8cpp.html#ad4c51900edaa024a3c81e55060902d2a" title="Returns an enlarged schema, but only if really needed that is if the requiered width...">makeEnlargedSchema</a>(s1, s2-><a class="code" href="classschema.html#aa598f06d50f5cee518892c572453cf67">width</a>()), <a name="l00032"></a>00032 <a class="code" href="enlargedSchema_8cpp.html#ad4c51900edaa024a3c81e55060902d2a" title="Returns an enlarged schema, but only if really needed that is if the requiered width...">makeEnlargedSchema</a>(s2, s1-><a class="code" href="classschema.html#aa598f06d50f5cee518892c572453cf67">width</a>()) ); <a name="l00033"></a>00033 } </pre></div></p> <p><div class="dynheader"> Here is the call graph for this function:</div> <div class="dynsection"> </div> </p> <p><div class="dynheader"> Here is the caller graph for this function:</div> <div class="dynsection"> </div> </p> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:09 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>