Sophie

Sophie

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

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: sourcereader.hh Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>sourcereader.hh</h1><a href="sourcereader_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __SOURCEREADER__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __SOURCEREADER__</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &quot;<a class="code" href="boxes_8hh.html">boxes.hh</a>&quot;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;set&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;vector&gt;</span>
<a name="l00008"></a>00008 
<a name="l00009"></a>00009 <span class="keyword">using namespace </span>std;
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> <a class="code" href="sourcereader_8cpp.html#ad90fd80d84dccb47005b13106ed15368" title="Formats a list of raw definitions represented by triplets &amp;lt;name,arglist,body&amp;gt;...">formatDefinitions</a>(<a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> rldef);
<a name="l00012"></a>00012 <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> <a class="code" href="sourcereader_8cpp.html#a4486672428ae166d8426da654feeb466">checkRulelist</a> (<a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> lrules);
<a name="l00013"></a>00013 <span class="keywordtype">void</span> <a class="code" href="sourcereader_8cpp.html#acc24bbca610e76ca8b8da1c62c50d449">declareMetadata</a>(<a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> key, <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> value);
<a name="l00014"></a>00014 <span class="keywordtype">void</span> <a class="code" href="sourcereader_8cpp.html#a7cd651735195e5651ebee01a3f6e914c">declareDoc</a>(<a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> t);
<a name="l00015"></a>00015 
<a name="l00016"></a><a class="code" href="classSourceReader.html">00016</a> <span class="keyword">class </span><a class="code" href="classSourceReader.html">SourceReader</a> 
<a name="l00017"></a>00017 {
<a name="l00018"></a><a class="code" href="classSourceReader.html#a753ead89e2f4443dae6f6e07ea6c97d6">00018</a>     map&lt;string, Tree&gt;   <a class="code" href="classSourceReader.html#a753ead89e2f4443dae6f6e07ea6c97d6">fFileCache</a>;
<a name="l00019"></a><a class="code" href="classSourceReader.html#a651efb442eece4b5e9ef1c4babc56197">00019</a>     vector&lt;string&gt;      <a class="code" href="classSourceReader.html#a651efb442eece4b5e9ef1c4babc56197">fFilePathnames</a>;
<a name="l00020"></a>00020     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> <a class="code" href="classSourceReader.html#afed53e57be12e2a35cc96137d48b068d" title="Parse a single faust source file.">parse</a>(<span class="keywordtype">string</span> fname);
<a name="l00021"></a>00021     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> <a class="code" href="classSourceReader.html#aabf8441cf5e36e14ff480ae384139ec1">expandrec</a>(<a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> ldef, set&lt;string&gt;&amp; visited, <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> lresult);
<a name="l00022"></a>00022     
<a name="l00023"></a>00023 <span class="keyword">public</span>:
<a name="l00024"></a>00024     <span class="keywordtype">bool</span> <a class="code" href="classSourceReader.html#a40383c73e84a9960cd3bc158744f8ae5" title="Check if a file as been read and is in the &amp;quot;cache&amp;quot;.">cached</a>(<span class="keywordtype">string</span> fname);
<a name="l00025"></a>00025     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> <a class="code" href="classSourceReader.html#a74a22bf0b47f7c6684999ad82f72b713" title="Return the list of definitions file contains.">getlist</a>(<span class="keywordtype">string</span> fname);
<a name="l00026"></a>00026     <a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> <a class="code" href="classSourceReader.html#a5c9ca766c1efb427ffdd419517775f44" title="Return the list of definitions where all imports have been expanded.">expandlist</a>(<a class="code" href="classCTree.html" title="A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches...">Tree</a> ldef);
<a name="l00027"></a>00027     vector&lt;string&gt;  <a class="code" href="classSourceReader.html#a02d4fe696337e6e327b14620ed76b626" title="Return a vector of pathnames representing the list of all the source files that have...">listSrcFiles</a>();
<a name="l00028"></a>00028 };
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 
<a name="l00031"></a>00031 <span class="preprocessor">#endif </span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Apr 28 23:59:59 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>