classfv_1_1GenFunction.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.13"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>TTTT Analysis: fv::GenFunction Class Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectalign" style="padding-left: 0.5em;">
  24. <div id="projectname">TTTT Analysis
  25. &#160;<span id="projectnumber">0.1</span>
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.13 -->
  34. <script type="text/javascript">
  35. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  36. </script>
  37. <script type="text/javascript" src="menudata.js"></script>
  38. <script type="text/javascript" src="menu.js"></script>
  39. <script type="text/javascript">
  40. $(function() {
  41. initMenu('',true,false,'search.php','Search');
  42. $(document).ready(function() { init_search(); });
  43. });
  44. </script>
  45. <div id="main-nav"></div>
  46. <!-- window showing the filter options -->
  47. <div id="MSearchSelectWindow"
  48. onmouseover="return searchBox.OnSearchSelectShow()"
  49. onmouseout="return searchBox.OnSearchSelectHide()"
  50. onkeydown="return searchBox.OnSearchSelectKey(event)">
  51. </div>
  52. <!-- iframe showing the search results (closed by default) -->
  53. <div id="MSearchResultsWindow">
  54. <iframe src="javascript:void(0)" frameborder="0"
  55. name="MSearchResults" id="MSearchResults">
  56. </iframe>
  57. </div>
  58. <div id="nav-path" class="navpath">
  59. <ul>
  60. <li class="navelem"><a class="el" href="namespacefv.html">fv</a></li><li class="navelem"><a class="el" href="classfv_1_1GenFunction.html">GenFunction</a></li> </ul>
  61. </div>
  62. </div><!-- top -->
  63. <div class="header">
  64. <div class="summary">
  65. <a href="#pub-methods">Public Member Functions</a> &#124;
  66. <a href="#pub-static-methods">Static Public Member Functions</a> &#124;
  67. <a href="#pub-static-attribs">Static Public Attributes</a> &#124;
  68. <a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
  69. <a href="#pri-attribs">Private Attributes</a> &#124;
  70. <a href="classfv_1_1GenFunction-members.html">List of all members</a> </div>
  71. <div class="headertitle">
  72. <div class="title">fv::GenFunction Class Reference</div> </div>
  73. </div><!--header-->
  74. <div class="contents">
  75. <p>Parent class to all Function classes.
  76. <a href="classfv_1_1GenFunction.html#details">More...</a></p>
  77. <p><code>#include &lt;<a class="el" href="value_8hpp_source.html">value.hpp</a>&gt;</code></p>
  78. <div class="dynheader">
  79. Inheritance diagram for fv::GenFunction:</div>
  80. <div class="dyncontent">
  81. <div class="center"><img src="classfv_1_1GenFunction__inherit__graph.png" border="0" usemap="#fv_1_1GenFunction_inherit__map" alt="Inheritance graph"/></div>
  82. <map name="fv_1_1GenFunction_inherit__map" id="fv_1_1GenFunction_inherit__map">
  83. <area shape="rect" id="node2" href="classfv_1_1Function_3_01R_07ArgTypes_8_8_8_08_4.html" title="In order to enable proper provenance tracking, and at the same time keep the ability to embed functio..." alt="" coords="5,80,217,107"/>
  84. </map>
  85. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  86. <table class="memberdecls">
  87. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  88. Public Member Functions</h2></td></tr>
  89. <tr class="memitem:a1a4622c277f0a4645cc597ac7e8ffad3"><td class="memItemLeft" align="right" valign="top"><a id="a1a4622c277f0a4645cc597ac7e8ffad3"></a>
  90. &#160;</td><td class="memItemRight" valign="bottom"><b>GenFunction</b> (const std::string &amp;name, const std::string &amp;impl)</td></tr>
  91. <tr class="separator:a1a4622c277f0a4645cc597ac7e8ffad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:ac821bad86421d773af1ba36f67174eb1"><td class="memItemLeft" align="right" valign="top"><a id="ac821bad86421d773af1ba36f67174eb1"></a>
  93. std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>get_name</b> ()</td></tr>
  94. <tr class="separator:ac821bad86421d773af1ba36f67174eb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. </table><table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
  97. Static Public Member Functions</h2></td></tr>
  98. <tr class="memitem:aecc1187b5bb9c551c104eb8478bdb567"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1GenFunction.html#aecc1187b5bb9c551c104eb8478bdb567">format_code</a> (const std::string &amp;code)</td></tr>
  99. <tr class="memdesc:aecc1187b5bb9c551c104eb8478bdb567"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to invoke clang-format for the purpose of printing out nicely formatted functions to the log file. <a href="#aecc1187b5bb9c551c104eb8478bdb567">More...</a><br /></td></tr>
  100. <tr class="separator:aecc1187b5bb9c551c104eb8478bdb567"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:a1882aa29a5de803a366ed1e87770a4e2"><td class="memItemLeft" align="right" valign="top"><a id="a1882aa29a5de803a366ed1e87770a4e2"></a>
  102. static std::string&#160;</td><td class="memItemRight" valign="bottom"><b>summary</b> ()</td></tr>
  103. <tr class="separator:a1882aa29a5de803a366ed1e87770a4e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a2635f33d1ef39f00c07bde754c98cc6f"><td class="memTemplParams" colspan="2"><a id="a2635f33d1ef39f00c07bde754c98cc6f"></a>
  105. template&lt;typename T &gt; </td></tr>
  106. <tr class="memitem:a2635f33d1ef39f00c07bde754c98cc6f"><td class="memTemplItemLeft" align="right" valign="top">static Function&lt; T &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><b>register_function</b> (const std::string &amp;name, std::function&lt; T &gt; f, const std::string &amp;impl)</td></tr>
  107. <tr class="separator:a2635f33d1ef39f00c07bde754c98cc6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:ad2ff572dc8ba3059f2679cb450b719d3"><td class="memTemplParams" colspan="2"><a id="ad2ff572dc8ba3059f2679cb450b719d3"></a>
  109. template&lt;typename T &gt; </td></tr>
  110. <tr class="memitem:ad2ff572dc8ba3059f2679cb450b719d3"><td class="memTemplItemLeft" align="right" valign="top">static Function&lt; T &gt; &amp;&#160;</td><td class="memTemplItemRight" valign="bottom"><b>lookup_function</b> (const std::string &amp;name)</td></tr>
  111. <tr class="separator:ad2ff572dc8ba3059f2679cb450b719d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. </table><table class="memberdecls">
  113. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
  114. Static Public Attributes</h2></td></tr>
  115. <tr class="memitem:a62f52779bd4aa60fefbd842f557b1f7d"><td class="memItemLeft" align="right" valign="top"><a id="a62f52779bd4aa60fefbd842f557b1f7d"></a>
  116. static std::map&lt; const std::string, <a class="el" href="classfv_1_1GenFunction.html">GenFunction</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1GenFunction.html#a62f52779bd4aa60fefbd842f557b1f7d">function_registry</a></td></tr>
  117. <tr class="memdesc:a62f52779bd4aa60fefbd842f557b1f7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Static mapping of functions from their name to the object wrapper of the function. <br /></td></tr>
  118. <tr class="separator:a62f52779bd4aa60fefbd842f557b1f7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. </table><table class="memberdecls">
  120. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
  121. Static Protected Attributes</h2></td></tr>
  122. <tr class="memitem:a8d8c682bb591126b6396eaf78dbf3157"><td class="memItemLeft" align="right" valign="top"><a id="a8d8c682bb591126b6396eaf78dbf3157"></a>
  123. static bool&#160;</td><td class="memItemRight" valign="bottom"><b>in_register_function</b> =false</td></tr>
  124. <tr class="separator:a8d8c682bb591126b6396eaf78dbf3157"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. </table><table class="memberdecls">
  126. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
  127. Private Attributes</h2></td></tr>
  128. <tr class="memitem:a1ebce4419daac987081baf73bb8de795"><td class="memItemLeft" align="right" valign="top"><a id="a1ebce4419daac987081baf73bb8de795"></a>
  129. std::string&#160;</td><td class="memItemRight" valign="bottom"><b>name</b></td></tr>
  130. <tr class="separator:a1ebce4419daac987081baf73bb8de795"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:adafc97b5aa9684e027988bbfb5a8514b"><td class="memItemLeft" align="right" valign="top"><a id="adafc97b5aa9684e027988bbfb5a8514b"></a>
  132. std::string&#160;</td><td class="memItemRight" valign="bottom"><b>impl</b></td></tr>
  133. <tr class="separator:adafc97b5aa9684e027988bbfb5a8514b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. </table>
  135. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  136. <div class="textblock"><p>Parent class to all Function classes. </p>
  137. <p>Holds a class-level collection of all created function objects. </p>
  138. </div><h2 class="groupheader">Member Function Documentation</h2>
  139. <a id="aecc1187b5bb9c551c104eb8478bdb567"></a>
  140. <h2 class="memtitle"><span class="permalink"><a href="#aecc1187b5bb9c551c104eb8478bdb567">&#9670;&nbsp;</a></span>format_code()</h2>
  141. <div class="memitem">
  142. <div class="memproto">
  143. <table class="mlabels">
  144. <tr>
  145. <td class="mlabels-left">
  146. <table class="memname">
  147. <tr>
  148. <td class="memname">static std::string fv::GenFunction::format_code </td>
  149. <td>(</td>
  150. <td class="paramtype">const std::string &amp;&#160;</td>
  151. <td class="paramname"><em>code</em></td><td>)</td>
  152. <td></td>
  153. </tr>
  154. </table>
  155. </td>
  156. <td class="mlabels-right">
  157. <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
  158. </tr>
  159. </table>
  160. </div><div class="memdoc">
  161. <p>Attempt to invoke clang-format for the purpose of printing out nicely formatted functions to the log file. </p>
  162. <p>If clang-format is not present, this function just passes through the code unmodified. </p>
  163. </div>
  164. </div>
  165. <hr/>The documentation for this class was generated from the following file:<ul>
  166. <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="value_8hpp_source.html">value.hpp</a></li>
  167. </ul>
  168. </div><!-- contents -->
  169. <!-- start footer part -->
  170. <hr class="footer"/><address class="footer"><small>
  171. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  172. <img class="footer" src="doxygen.png" alt="doxygen"/>
  173. </a> 1.8.13
  174. </small></address>
  175. </body>
  176. </html>