<!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: doc_lang.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>doc_lang.hh File Reference</h1><code>#include <iostream></code><br/> <code>#include <fstream></code><br/> <code>#include <sstream></code><br/> <code>#include <map></code><br/> <code>#include <string></code><br/> <div class="dynheader"> Include dependency graph for doc_lang.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="doc__lang_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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="doc__lang_8hh.html#abc3498b3fe2b5d2aed70c4ace6f4b7a5">loadTranslationFile</a> (const string &lang)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="abc3498b3fe2b5d2aed70c4ace6f4b7a5"></a><!-- doxytag: member="doc_lang.hh::loadTranslationFile" ref="abc3498b3fe2b5d2aed70c4ace6f4b7a5" args="(const string &lang)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void loadTranslationFile </td> <td>(</td> <td class="paramtype">const string & </td> <td class="paramname"> <em>lang</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p><p>First ensure that the default file is loaded a least.</p> <p>Then try and load the target file. </p> </p> <p>Definition at line <a class="el" href="doc__lang_8cpp_source.html#l00076">76</a> of file <a class="el" href="doc__lang_8cpp_source.html">doc_lang.cpp</a>.</p> <p>References <a class="el" href="doc__lang_8cpp_source.html#l00053">gDocTextsDefaultFile</a>, <a class="el" href="doc__lang_8cpp_source.html#l00113">importDocStrings()</a>, <a class="el" href="doc__autodoc_8cpp_source.html#l00097">initDocAutodoc()</a>, <a class="el" href="lateq_8cpp_source.html#l00307">initDocMath()</a>, <a class="el" href="doc__metadatas_8cpp_source.html#l00051">initDocMetadatas()</a>, and <a class="el" href="doc__notice_8cpp_source.html#l00140">initDocNotice()</a>.</p> <p>Referenced by <a class="el" href="doc_8cpp_source.html#l00216">printDoc()</a>.</p> <p><div class="fragment"><pre class="fragment"><a name="l00077"></a>00077 { <a name="l00078"></a>00078 <a class="code" href="lateq_8cpp.html#abf16eac31f0df5e1897f78d6b9b7cc84" title="Dispatch initialization of autodoc container.">initDocMath</a>(); <a name="l00079"></a>00079 <a class="code" href="doc__notice_8cpp.html#a430123b40ce396d8bc67baa386aefd5c" title="Dispatch initialization of notice containers, after default notice file loading.">initDocNotice</a>(); <a name="l00080"></a>00080 <a class="code" href="doc__autodoc_8cpp.html#a1d778042564fea9d2d42bed09c836f13" title="Dispatch initialization of autodoc container.">initDocAutodoc</a>(); <a name="l00081"></a>00081 <a class="code" href="doc__metadatas_8cpp.html#a8c3cb0daee97e4ed408ec0c1bbd323cc" title="Dispatch initialization of metadatas container.">initDocMetadatas</a>(); <a name="l00082"></a>00082 <a name="l00084"></a>00084 <a class="code" href="doc__lang_8cpp.html#add3201215f3173ccb0a97c6493597118" title="Feed the content of doc texts maps from a file.">importDocStrings</a>(<a class="code" href="doc__lang_8cpp.html#af0598983981bf28f04f29275c753ec39">gDocTextsDefaultFile</a>); <a name="l00085"></a>00085 <a name="l00087"></a>00087 <span class="keywordflow">if</span> ( ! lang.empty() ) { <a name="l00088"></a>00088 <a class="code" href="doc__lang_8cpp.html#add3201215f3173ccb0a97c6493597118" title="Feed the content of doc texts maps from a file.">importDocStrings</a>( <span class="stringliteral">"mathdoctexts-"</span> + lang + <span class="stringliteral">".txt"</span> ); <a name="l00089"></a>00089 } <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> <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:04 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>