classfv_1_1MaxIndex.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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::MaxIndex&lt; T &gt; Class Template 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_1MaxIndex.html">MaxIndex</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="classfv_1_1MaxIndex-members.html">List of all members</a> </div>
  67. <div class="headertitle">
  68. <div class="title">fv::MaxIndex&lt; T &gt; Class Template Reference</div> </div>
  69. </div><!--header-->
  70. <div class="contents">
  71. <p>Find and return the maximum value of a vector and its index.
  72. <a href="classfv_1_1MaxIndex.html#details">More...</a></p>
  73. <p><code>#include &lt;<a class="el" href="value_8hpp_source.html">value.hpp</a>&gt;</code></p>
  74. <div class="dynheader">
  75. Inheritance diagram for fv::MaxIndex&lt; T &gt;:</div>
  76. <div class="dyncontent">
  77. <div class="center"><img src="classfv_1_1MaxIndex__inherit__graph.png" border="0" usemap="#fv_1_1MaxIndex_3_01T_01_4_inherit__map" alt="Inheritance graph"/></div>
  78. <map name="fv_1_1MaxIndex_3_01T_01_4_inherit__map" id="fv_1_1MaxIndex_3_01T_01_4_inherit__map">
  79. <area shape="rect" id="node2" href="classfv_1_1ReduceIndex.html" title="Similar to Reduce, but returns a pair of a T and an int. " alt="" coords="6,184,169,211"/>
  80. <area shape="rect" id="node3" href="classfv_1_1DerivedValue.html" title="fv::DerivedValue\&lt; std\l::pair\&lt; T, int \&gt; \&gt;" alt="" coords="5,95,169,136"/>
  81. <area shape="rect" id="node4" href="classfv_1_1Value.html" title="fv::Value\&lt; std::pair\l\&lt; T, int \&gt; \&gt;" alt="" coords="14,5,161,47"/>
  82. </map>
  83. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  84. <div class="dynheader">
  85. Collaboration diagram for fv::MaxIndex&lt; T &gt;:</div>
  86. <div class="dyncontent">
  87. <div class="center"><img src="classfv_1_1MaxIndex__coll__graph.png" border="0" usemap="#fv_1_1MaxIndex_3_01T_01_4_coll__map" alt="Collaboration graph"/></div>
  88. <map name="fv_1_1MaxIndex_3_01T_01_4_coll__map" id="fv_1_1MaxIndex_3_01T_01_4_coll__map">
  89. <area shape="rect" id="node2" href="classfv_1_1ReduceIndex.html" title="Similar to Reduce, but returns a pair of a T and an int. " alt="" coords="99,200,262,227"/>
  90. <area shape="rect" id="node3" href="classfv_1_1DerivedValue.html" title="fv::DerivedValue\&lt; std\l::pair\&lt; T, int \&gt; \&gt;" alt="" coords="5,96,169,137"/>
  91. <area shape="rect" id="node4" href="classfv_1_1Value.html" title="fv::Value\&lt; std::pair\l\&lt; T, int \&gt; \&gt;" alt="" coords="14,5,161,47"/>
  92. <area shape="rect" id="node5" href="classfv_1_1Value.html" title="fv::Value\&lt; std::vector\l\&lt; T \&gt; \&gt;" alt="" coords="194,96,357,137"/>
  93. </map>
  94. <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
  95. <table class="memberdecls">
  96. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  97. Public Member Functions</h2></td></tr>
  98. <tr class="memitem:a1b927acb13a8393ce3c998cab354a90d"><td class="memItemLeft" align="right" valign="top"><a id="a1b927acb13a8393ce3c998cab354a90d"></a>
  99. &#160;</td><td class="memItemRight" valign="bottom"><b>MaxIndex</b> (<a class="el" href="classfv_1_1Value.html">Value</a>&lt; std::vector&lt; T &gt;&gt; *v, const std::string alias=&quot;&quot;)</td></tr>
  100. <tr class="separator:a1b927acb13a8393ce3c998cab354a90d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="inherit_header pub_methods_classfv_1_1ReduceIndex"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1ReduceIndex')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1ReduceIndex.html">fv::ReduceIndex&lt; T &gt;</a></td></tr>
  102. <tr class="memitem:ad118a68262cfa9519bb7030502115ca9 inherit pub_methods_classfv_1_1ReduceIndex"><td class="memItemLeft" align="right" valign="top"><a id="ad118a68262cfa9519bb7030502115ca9"></a>
  103. &#160;</td><td class="memItemRight" valign="bottom"><b>ReduceIndex</b> (Function&lt; std::pair&lt; T, int &gt;(std::vector&lt; T &gt;)&gt; &amp;reduce, <a class="el" href="classfv_1_1Value.html">Value</a>&lt; std::vector&lt; T &gt; &gt; *v, const std::string alias=&quot;&quot;)</td></tr>
  104. <tr class="separator:ad118a68262cfa9519bb7030502115ca9 inherit pub_methods_classfv_1_1ReduceIndex"><td class="memSeparator" colspan="2">&#160;</td></tr>
  105. <tr class="inherit_header pub_methods_classfv_1_1DerivedValue"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1DerivedValue')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1DerivedValue.html">fv::DerivedValue&lt; std::pair&lt; T, int &gt; &gt;</a></td></tr>
  106. <tr class="memitem:a00219a17112600afdc060d67d6f95b21 inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a00219a17112600afdc060d67d6f95b21"></a>
  107. &#160;</td><td class="memItemRight" valign="bottom"><b>DerivedValue</b> (const std::string &amp;name, const std::string &amp;alias=&quot;&quot;)</td></tr>
  108. <tr class="separator:a00219a17112600afdc060d67d6f95b21 inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  109. <tr class="memitem:a7ac6d7f0a92fb9753f7c0bfcf26b6b0d inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a7ac6d7f0a92fb9753f7c0bfcf26b6b0d"></a>
  110. void&#160;</td><td class="memItemRight" valign="bottom"><b>log</b> ()</td></tr>
  111. <tr class="separator:a7ac6d7f0a92fb9753f7c0bfcf26b6b0d inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="a39970158aa8f6eb062a28037df6e2128"></a>
  113. std::pair&lt; T, int &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>get_value</b> ()</td></tr>
  114. <tr class="memdesc:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate, if necessary, and return the value held by this object. <br /></td></tr>
  115. <tr class="separator:a39970158aa8f6eb062a28037df6e2128 inherit pub_methods_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="inherit_header pub_methods_classfv_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classfv_1_1Value')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classfv_1_1Value.html">fv::Value&lt; std::pair&lt; T, int &gt; &gt;</a></td></tr>
  117. <tr class="memitem:afded92c24f946c1551c1f1b005f31091 inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="afded92c24f946c1551c1f1b005f31091"></a>
  118. &#160;</td><td class="memItemRight" valign="bottom"><b>Value</b> (const std::string &amp;name, const std::string &amp;alias=&quot;&quot;)</td></tr>
  119. <tr class="separator:afded92c24f946c1551c1f1b005f31091 inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a477ab6275568b0c5afbcf92901cc3a6e inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="a477ab6275568b0c5afbcf92901cc3a6e"></a>
  121. void&#160;</td><td class="memItemRight" valign="bottom"><b>enable_logging</b> (const std::function&lt; std::string(std::pair&lt; T, int &gt;)&gt; &amp;value_to_string=[](std::pair&lt; T, int &gt;){return &quot;&quot;;})</td></tr>
  122. <tr class="separator:a477ab6275568b0c5afbcf92901cc3a6e inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  123. <tr class="memitem:a8a3517fdba15dcb2c141dbd58fc232b1 inherit pub_methods_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="a8a3517fdba15dcb2c141dbd58fc232b1"></a>
  124. void&#160;</td><td class="memItemRight" valign="bottom"><b>disable_logging</b> ()</td></tr>
  125. <tr class="separator:a8a3517fdba15dcb2c141dbd58fc232b1 inherit pub_methods_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. </table><table class="memberdecls">
  127. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
  128. Additional Inherited Members</h2></td></tr>
  129. <tr class="inherit_header pro_attribs_classfv_1_1DerivedValue"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfv_1_1DerivedValue')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfv_1_1DerivedValue.html">fv::DerivedValue&lt; std::pair&lt; T, int &gt; &gt;</a></td></tr>
  130. <tr class="memitem:aeb7ff5d17ad44b2040fc9930bbcc2c7a inherit pro_attribs_classfv_1_1DerivedValue"><td class="memItemLeft" align="right" valign="top"><a id="aeb7ff5d17ad44b2040fc9930bbcc2c7a"></a>
  131. std::pair&lt; T, int &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>value</b></td></tr>
  132. <tr class="separator:aeb7ff5d17ad44b2040fc9930bbcc2c7a inherit pro_attribs_classfv_1_1DerivedValue"><td class="memSeparator" colspan="2">&#160;</td></tr>
  133. <tr class="inherit_header pro_attribs_classfv_1_1Value"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classfv_1_1Value')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classfv_1_1Value.html">fv::Value&lt; std::pair&lt; T, int &gt; &gt;</a></td></tr>
  134. <tr class="memitem:aa0269699348665b8e978c1e848e74abe inherit pro_attribs_classfv_1_1Value"><td class="memItemLeft" align="right" valign="top"><a id="aa0269699348665b8e978c1e848e74abe"></a>
  135. std::function&lt; std::string(std::pair&lt; T, int &gt;)&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>value_to_string</b></td></tr>
  136. <tr class="separator:aa0269699348665b8e978c1e848e74abe inherit pro_attribs_classfv_1_1Value"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. </table>
  138. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  139. <div class="textblock"><h3>template&lt;typename T&gt;<br />
  140. class fv::MaxIndex&lt; T &gt;</h3>
  141. <p>Find and return the maximum value of a vector and its index. </p>
  142. </div><hr/>The documentation for this class was generated from the following file:<ul>
  143. <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="value_8hpp_source.html">value.hpp</a></li>
  144. </ul>
  145. </div><!-- contents -->
  146. <!-- start footer part -->
  147. <hr class="footer"/><address class="footer"><small>
  148. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  149. <img class="footer" src="doxygen.png" alt="doxygen"/>
  150. </a> 1.8.13
  151. </small></address>
  152. </body>
  153. </html>