Sophie

Sophie

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

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: topSchema Class 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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>topSchema Class Reference</h1><!-- doxytag: class="topSchema" --><!-- doxytag: inherits="schema" -->
<p>A <a class="el" href="classtopSchema.html" title="A topSchema is a schema surrounded by a dashed rectangle with a label on the top...">topSchema</a> is a schema surrounded by a dashed rectangle with a label on the top left.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="topSchema_8h_source.html">topSchema.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="classschema.html">schema</a>.</p>
<div class="dynheader">
Collaboration diagram for topSchema:</div>
<div class="dynsection">
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classtopSchema-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a6ef0fb2d0035596facab9fbde3f96a08">place</a> (double ox, double oy, int orientation)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Define the graphic position of the schema.  <a href="#a6ef0fb2d0035596facab9fbde3f96a08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#ac99869d101915e488f9f1a92ee6eaec6">draw</a> (<a class="el" href="classdevice.html">device</a> &amp;dev)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Draw the enlarged schema.  <a href="#ac99869d101915e488f9f1a92ee6eaec6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structpoint.html">point</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#aa8c28c1b93458ae37590f4df35820d84">inputPoint</a> (unsigned int i) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Top schema has no input.  <a href="#aa8c28c1b93458ae37590f4df35820d84"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="structpoint.html">point</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#af7d3db4768800adee1d0ae9c3d88a8e3">outputPoint</a> (unsigned int i) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Top schema has no output.  <a href="#af7d3db4768800adee1d0ae9c3d88a8e3"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a3f288fac65964fb99220b475e3f651a8">topSchema</a> (<a class="el" href="classschema.html">schema</a> *s1, double margin, const string &amp;text, const string &amp;link)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A <a class="el" href="classtopSchema.html" title="A topSchema is a schema surrounded by a dashed rectangle with a label on the top...">topSchema</a> is a schema surrounded by a dashed rectangle with a label on the top left.  <a href="#a3f288fac65964fb99220b475e3f651a8"></a><br/></td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classschema.html">schema</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">fSchema</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">fMargin</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a559ed33953fc6a5f64bb2160788e387f">fText</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a3cea83bab67ac414e65bdc719c066a5b">fLink</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">vector&lt; <a class="el" href="structpoint.html">point</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a6edb8914d7545e193d3236fa91302b2d">fInputPoint</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">vector&lt; <a class="el" href="structpoint.html">point</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a94fe32d797cef7a16d0e8d1b853027d5">fOutputPoint</a></td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classschema.html">schema</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classtopSchema.html#a85e8617377baa0b45432805a8c9a8065">makeTopSchema</a> (<a class="el" href="classschema.html">schema</a> *s1, double margin, const string &amp;text, const string &amp;link)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new top schema.  <a href="#a85e8617377baa0b45432805a8c9a8065"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>A <a class="el" href="classtopSchema.html" title="A topSchema is a schema surrounded by a dashed rectangle with a label on the top...">topSchema</a> is a schema surrounded by a dashed rectangle with a label on the top left. </p>
<p>The rectangle is placed at half the margin parameter. Arrows are added to all the outputs </p>

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00034">34</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3f288fac65964fb99220b475e3f651a8"></a><!-- doxytag: member="topSchema::topSchema" ref="a3f288fac65964fb99220b475e3f651a8" args="(schema *s1, double margin, const string &amp;text, const string &amp;link)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">topSchema::topSchema </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classschema.html">schema</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>link</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>A <a class="el" href="classtopSchema.html" title="A topSchema is a schema surrounded by a dashed rectangle with a label on the top...">topSchema</a> is a schema surrounded by a dashed rectangle with a label on the top left. </p>
<p>The rectangle is placed at half the margin parameter. Arrows are added to the outputs. The constructor is made private to enforce the usage of makeTopSchema. </p>

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

<p><div class="fragment"><pre class="fragment"><a name="l00046"></a>00046     :   <a class="code" href="classschema.html#a05b1cb48791b70b1ae5706e9a29020c9">schema</a>(0, 0, s-&gt;<a class="code" href="classschema.html#aa598f06d50f5cee518892c572453cf67">width</a>()+2*margin, s-&gt;<a class="code" href="classschema.html#acd72d5b630acd4eadf3f856aa6176c99">height</a>()+2*margin),
<a name="l00047"></a>00047         <a class="code" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">fSchema</a>(s),
<a name="l00048"></a>00048         <a class="code" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">fMargin</a>(margin),
<a name="l00049"></a>00049         <a class="code" href="classtopSchema.html#a559ed33953fc6a5f64bb2160788e387f">fText</a>(text),
<a name="l00050"></a>00050         <a class="code" href="classtopSchema.html#a3cea83bab67ac414e65bdc719c066a5b">fLink</a>(link)
<a name="l00051"></a>00051 {
<a name="l00052"></a>00052 }
</pre></div></p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ac99869d101915e488f9f1a92ee6eaec6"></a><!-- doxytag: member="topSchema::draw" ref="ac99869d101915e488f9f1a92ee6eaec6" args="(device &amp;dev)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void topSchema::draw </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdevice.html">device</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dev</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Draw the enlarged schema. </p>
<p>This methos can only be called after the block have been placed </p>

<p>Implements <a class="el" href="classschema.html#a6b8ab062669efb5f96e45d4e40f123b0">schema</a>.</p>

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

<p>References <a class="el" href="classschema.html#a6b8ab062669efb5f96e45d4e40f123b0">schema::draw()</a>, <a class="el" href="classdevice.html#ae9ee5d3dfc45b2816828430cf8b4f19c">device::fleche()</a>, <a class="el" href="topSchema_8h_source.html#l00039">fLink</a>, <a class="el" href="topSchema_8h_source.html#l00037">fMargin</a>, <a class="el" href="topSchema_8h_source.html#l00036">fSchema</a>, <a class="el" href="topSchema_8h_source.html#l00038">fText</a>, <a class="el" href="schema_8h_source.html#l00086">schema::height()</a>, <a class="el" href="classdevice.html#af10cdf9ab7e69b8a823b52d12fff8967">device::label()</a>, <a class="el" href="schema_8h_source.html#l00099">schema::orientation()</a>, <a class="el" href="classschema.html#a9521bca5db264dfdd0f523e1c3c03263">schema::outputPoint()</a>, <a class="el" href="schema_8h_source.html#l00088">schema::outputs()</a>, <a class="el" href="schema_8h_source.html#l00096">schema::placed()</a>, <a class="el" href="classdevice.html#af5bf15228fed032fe21c0692153be25a">device::rect()</a>, <a class="el" href="schema_8h_source.html#l00085">schema::width()</a>, <a class="el" href="schema_8h_source.html#l00041">point::x</a>, <a class="el" href="schema_8h_source.html#l00097">schema::x()</a>, <a class="el" href="schema_8h_source.html#l00042">point::y</a>, and <a class="el" href="schema_8h_source.html#l00098">schema::y()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00093"></a>00093 {
<a name="l00094"></a>00094     assert(<a class="code" href="classschema.html#a8c432179c626462d041ce2d8c68ef875">placed</a>());
<a name="l00095"></a>00095 
<a name="l00096"></a>00096     <span class="comment">// draw a background white rectangle</span>
<a name="l00097"></a>00097     dev.<a class="code" href="classdevice.html#af5bf15228fed032fe21c0692153be25a">rect</a>(<a class="code" href="classschema.html#a120e106abe224a0e9170565edffa106a">x</a>(), <a class="code" href="classschema.html#a82c4e6b273c7e48607f3bbf44d5b2c27">y</a>(), <a class="code" href="classschema.html#aa598f06d50f5cee518892c572453cf67">width</a>()-1, <a class="code" href="classschema.html#acd72d5b630acd4eadf3f856aa6176c99">height</a>()-1, <span class="stringliteral">&quot;#ffffff&quot;</span>, <a class="code" href="classtopSchema.html#a3cea83bab67ac414e65bdc719c066a5b">fLink</a>.c_str());
<a name="l00098"></a>00098 
<a name="l00099"></a>00099     <span class="comment">// draw the label</span>
<a name="l00100"></a>00100     dev.<a class="code" href="classdevice.html#af10cdf9ab7e69b8a823b52d12fff8967">label</a>(<a class="code" href="classschema.html#a120e106abe224a0e9170565edffa106a">x</a>()+<a class="code" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">fMargin</a>, <a class="code" href="classschema.html#a82c4e6b273c7e48607f3bbf44d5b2c27">y</a>()+<a class="code" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">fMargin</a>/2, <a class="code" href="classtopSchema.html#a559ed33953fc6a5f64bb2160788e387f">fText</a>.c_str());
<a name="l00101"></a>00101 
<a name="l00102"></a>00102     <a class="code" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">fSchema</a>-&gt;<a class="code" href="classschema.html#a6b8ab062669efb5f96e45d4e40f123b0">draw</a>(dev);
<a name="l00103"></a>00103 
<a name="l00104"></a>00104     <span class="comment">// draw arrows at output points of schema</span>
<a name="l00105"></a>00105     <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i=0; i&lt;<a class="code" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">fSchema</a>-&gt;<a class="code" href="classschema.html#a217dc5df9996203d3ea0521c84c38567">outputs</a>(); i++) {
<a name="l00106"></a>00106         <a class="code" href="structpoint.html">point</a> p = <a class="code" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">fSchema</a>-&gt;<a class="code" href="classschema.html#a9521bca5db264dfdd0f523e1c3c03263">outputPoint</a>(i);
<a name="l00107"></a>00107         dev.<a class="code" href="classdevice.html#ae9ee5d3dfc45b2816828430cf8b4f19c">fleche</a>(p.<a class="code" href="structpoint.html#a9c6b34deaf4900ad4193c17935fd384a">x</a>, p.<a class="code" href="structpoint.html#a613f8f0d7352731638b0094e1b958b87">y</a>, 0, <a class="code" href="classschema.html#a929b2d9ad9fabd5f41623cbfce72c1d3">orientation</a>());
<a name="l00108"></a>00108     }
<a name="l00109"></a>00109 }
</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="aa8c28c1b93458ae37590f4df35820d84"></a><!-- doxytag: member="topSchema::inputPoint" ref="aa8c28c1b93458ae37590f4df35820d84" args="(unsigned int i) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structpoint.html">point</a> topSchema::inputPoint </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Top schema has no input. </p>

<p>Implements <a class="el" href="classschema.html#a6b533651c7b65aeec424762c42777bd8">schema</a>.</p>

<p>Definition at line <a class="el" href="topSchema_8cpp_source.html#l00071">71</a> of file <a class="el" href="topSchema_8cpp_source.html">topSchema.cpp</a>.</p>

<p>References <a class="el" href="schema_8h_source.html#l00087">schema::inputs()</a>, and <a class="el" href="schema_8h_source.html#l00096">schema::placed()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00072"></a>00072 {
<a name="l00073"></a>00073     assert (<a class="code" href="classschema.html#a8c432179c626462d041ce2d8c68ef875">placed</a>());
<a name="l00074"></a>00074     assert (i &lt; <a class="code" href="classschema.html#ac0d35106760b7d113718e9ee9d02e108">inputs</a>());
<a name="l00075"></a>00075     exit(1);
<a name="l00076"></a>00076 }
</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="af7d3db4768800adee1d0ae9c3d88a8e3"></a><!-- doxytag: member="topSchema::outputPoint" ref="af7d3db4768800adee1d0ae9c3d88a8e3" args="(unsigned int i) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structpoint.html">point</a> topSchema::outputPoint </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>i</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Top schema has no output. </p>

<p>Implements <a class="el" href="classschema.html#a9521bca5db264dfdd0f523e1c3c03263">schema</a>.</p>

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

<p>References <a class="el" href="schema_8h_source.html#l00088">schema::outputs()</a>, and <a class="el" href="schema_8h_source.html#l00096">schema::placed()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00082"></a>00082 {
<a name="l00083"></a>00083     assert (<a class="code" href="classschema.html#a8c432179c626462d041ce2d8c68ef875">placed</a>());
<a name="l00084"></a>00084     assert (i &lt; <a class="code" href="classschema.html#a217dc5df9996203d3ea0521c84c38567">outputs</a>());
<a name="l00085"></a>00085     exit(1);
<a name="l00086"></a>00086 }
</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="a6ef0fb2d0035596facab9fbde3f96a08"></a><!-- doxytag: member="topSchema::place" ref="a6ef0fb2d0035596facab9fbde3f96a08" args="(double ox, double oy, int orientation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void topSchema::place </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>ox</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>oy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>orientation</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Define the graphic position of the schema. </p>
<p>Computes the graphic position of all the elements, in particular the inputs and outputs. This method must be called before <a class="el" href="classtopSchema.html#ac99869d101915e488f9f1a92ee6eaec6" title="Draw the enlarged schema.">draw()</a>, otherwise draw is not allowed </p>

<p>Implements <a class="el" href="classschema.html#aa3ef082636956bead276445f203259a4">schema</a>.</p>

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

<p>References <a class="el" href="schema_8h_source.html#l00091">schema::beginPlace()</a>, <a class="el" href="schema_8h_source.html#l00093">schema::endPlace()</a>, <a class="el" href="topSchema_8h_source.html#l00037">fMargin</a>, <a class="el" href="topSchema_8h_source.html#l00036">fSchema</a>, and <a class="el" href="classschema.html#aa3ef082636956bead276445f203259a4">schema::place()</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00061"></a>00061 {
<a name="l00062"></a>00062     <a class="code" href="classschema.html#a84e7eb74cb2a656495a93985db7d5c9d">beginPlace</a>(ox, oy, <a class="code" href="classschema.html#a929b2d9ad9fabd5f41623cbfce72c1d3">orientation</a>);
<a name="l00063"></a>00063 
<a name="l00064"></a>00064     <a class="code" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">fSchema</a>-&gt;<a class="code" href="classschema.html#aa3ef082636956bead276445f203259a4">place</a>(ox+<a class="code" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">fMargin</a>, oy+<a class="code" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">fMargin</a>, <a class="code" href="classschema.html#a929b2d9ad9fabd5f41623cbfce72c1d3">orientation</a>);
<a name="l00065"></a>00065     <a class="code" href="classschema.html#ad579c7aebc79bfbed5f73b35c399ff83">endPlace</a>();
<a name="l00066"></a>00066 }
</pre></div></p>

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

</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="a85e8617377baa0b45432805a8c9a8065"></a><!-- doxytag: member="topSchema::makeTopSchema" ref="a85e8617377baa0b45432805a8c9a8065" args="(schema *s1, double margin, const string &amp;text, const string &amp;link)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classschema.html">schema</a>* makeTopSchema </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classschema.html">schema</a> *&nbsp;</td>
          <td class="paramname"> <em>s1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>margin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const string &amp;&nbsp;</td>
          <td class="paramname"> <em>link</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a new top schema. </p>

<p>Definition at line <a class="el" href="topSchema_8cpp_source.html#l00033">33</a> of file <a class="el" href="topSchema_8cpp_source.html">topSchema.cpp</a>.</p>

<p><div class="fragment"><pre class="fragment"><a name="l00034"></a>00034 {
<a name="l00035"></a>00035     <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classtopSchema.html#a3f288fac65964fb99220b475e3f651a8" title="A topSchema is a schema surrounded by a dashed rectangle with a label on the top...">topSchema</a> (<a class="code" href="decorateSchema_8cpp.html#a81275d91bf8e76c149e885abab4be60a" title="Creates a new decorated schema.">makeDecorateSchema</a>(s, margin/2, text), margin/2, <span class="stringliteral">&quot;&quot;</span>, link);
<a name="l00036"></a>00036 }
</pre></div></p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a6edb8914d7545e193d3236fa91302b2d"></a><!-- doxytag: member="topSchema::fInputPoint" ref="a6edb8914d7545e193d3236fa91302b2d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vector&lt;<a class="el" href="structpoint.html">point</a>&gt; <a class="el" href="classtopSchema.html#a6edb8914d7545e193d3236fa91302b2d">topSchema::fInputPoint</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00040">40</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3cea83bab67ac414e65bdc719c066a5b"></a><!-- doxytag: member="topSchema::fLink" ref="a3cea83bab67ac414e65bdc719c066a5b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classtopSchema.html#a3cea83bab67ac414e65bdc719c066a5b">topSchema::fLink</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00039">39</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>

<p>Referenced by <a class="el" href="topSchema_8cpp_source.html#l00092">draw()</a>.</p>

</div>
</div>
<a class="anchor" id="a37517edb2f193d220d6210dae83ff4a9"></a><!-- doxytag: member="topSchema::fMargin" ref="a37517edb2f193d220d6210dae83ff4a9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classtopSchema.html#a37517edb2f193d220d6210dae83ff4a9">topSchema::fMargin</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00037">37</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>

<p>Referenced by <a class="el" href="topSchema_8cpp_source.html#l00092">draw()</a>, and <a class="el" href="topSchema_8cpp_source.html#l00060">place()</a>.</p>

</div>
</div>
<a class="anchor" id="a94fe32d797cef7a16d0e8d1b853027d5"></a><!-- doxytag: member="topSchema::fOutputPoint" ref="a94fe32d797cef7a16d0e8d1b853027d5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vector&lt;<a class="el" href="structpoint.html">point</a>&gt; <a class="el" href="classtopSchema.html#a94fe32d797cef7a16d0e8d1b853027d5">topSchema::fOutputPoint</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00041">41</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8a1f5de62bc4364b76c30a8d6bebddaa"></a><!-- doxytag: member="topSchema::fSchema" ref="a8a1f5de62bc4364b76c30a8d6bebddaa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classschema.html">schema</a>* <a class="el" href="classtopSchema.html#a8a1f5de62bc4364b76c30a8d6bebddaa">topSchema::fSchema</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00036">36</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>

<p>Referenced by <a class="el" href="topSchema_8cpp_source.html#l00092">draw()</a>, and <a class="el" href="topSchema_8cpp_source.html#l00060">place()</a>.</p>

</div>
</div>
<a class="anchor" id="a559ed33953fc6a5f64bb2160788e387f"></a><!-- doxytag: member="topSchema::fText" ref="a559ed33953fc6a5f64bb2160788e387f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">string <a class="el" href="classtopSchema.html#a559ed33953fc6a5f64bb2160788e387f">topSchema::fText</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="topSchema_8h_source.html#l00038">38</a> of file <a class="el" href="topSchema_8h_source.html">topSchema.h</a>.</p>

<p>Referenced by <a class="el" href="topSchema_8cpp_source.html#l00092">draw()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="topSchema_8h_source.html">topSchema.h</a></li>
<li><a class="el" href="topSchema_8cpp_source.html">topSchema.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Apr 29 00:00:24 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>