123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317 |
- <!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"/>
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta name="generator" content="Doxygen 1.8.13"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>TTTT Analysis: /home/caleb/Sources/TTTT/filval/value.hpp File Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="jquery.js"></script>
- <script type="text/javascript" src="dynsections.js"></script>
- <link href="search/search.css" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="search/searchdata.js"></script>
- <script type="text/javascript" src="search/search.js"></script>
- <link href="doxygen.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
- <div id="titlearea">
- <table cellspacing="0" cellpadding="0">
- <tbody>
- <tr style="height: 56px;">
- <td id="projectalign" style="padding-left: 0.5em;">
- <div id="projectname">TTTT Analysis
-  <span id="projectnumber">0.1</span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.13 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <script type="text/javascript" src="menudata.js"></script>
- <script type="text/javascript" src="menu.js"></script>
- <script type="text/javascript">
- $(function() {
- initMenu('',true,false,'search.php','Search');
- $(document).ready(function() { init_search(); });
- });
- </script>
- <div id="main-nav"></div>
- <!-- window showing the filter options -->
- <div id="MSearchSelectWindow"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- onkeydown="return searchBox.OnSearchSelectKey(event)">
- </div>
- <!-- iframe showing the search results (closed by default) -->
- <div id="MSearchResultsWindow">
- <iframe src="javascript:void(0)" frameborder="0"
- name="MSearchResults" id="MSearchResults">
- </iframe>
- </div>
- <div id="nav-path" class="navpath">
- <ul>
- <li class="navelem"><a class="el" href="dir_b2e1228fdb7fe80fc606210a4045f658.html">filval</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#nested-classes">Classes</a> |
- <a href="#namespaces">Namespaces</a> |
- <a href="#define-members">Macros</a> |
- <a href="#typedef-members">Typedefs</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">value.hpp File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="textblock"><code>#include <algorithm></code><br />
- <code>#include <functional></code><br />
- <code>#include <initializer_list></code><br />
- <code>#include <iomanip></code><br />
- <code>#include <iostream></code><br />
- <code>#include <limits></code><br />
- <code>#include <map></code><br />
- <code>#include <sstream></code><br />
- <code>#include <tuple></code><br />
- <code>#include <typeindex></code><br />
- <code>#include <utility></code><br />
- <code>#include <vector></code><br />
- <code>#include "<a class="el" href="log_8hpp_source.html">log.hpp</a>"</code><br />
- </div><div class="textblock"><div class="dynheader">
- Include dependency graph for value.hpp:</div>
- <div class="dyncontent">
- <div class="center"><img src="value_8hpp__incl.png" border="0" usemap="#_2home_2caleb_2Sources_2TTTT_2filval_2value_8hpp" alt=""/></div>
- <map name="_2home_2caleb_2Sources_2TTTT_2filval_2value_8hpp" id="_2home_2caleb_2Sources_2TTTT_2filval_2value_8hpp">
- <area shape="rect" id="node14" href="log_8hpp.html" title="log.hpp" alt="" coords="562,95,633,121"/>
- </map>
- </div>
- </div><div class="textblock"><div class="dynheader">
- This graph shows which files directly or indirectly include this file:</div>
- <div class="dyncontent">
- <div class="center"><img src="value_8hpp__dep__incl.png" border="0" usemap="#_2home_2caleb_2Sources_2TTTT_2filval_2value_8hppdep" alt=""/></div>
- <map name="_2home_2caleb_2Sources_2TTTT_2filval_2value_8hppdep" id="_2home_2caleb_2Sources_2TTTT_2filval_2value_8hppdep">
- <area shape="rect" id="node2" href="api_8hpp.html" title="/home/caleb/Sources\l/TTTT/filval/api.hpp" alt="" coords="709,184,867,225"/>
- <area shape="rect" id="node3" href="filval_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval/filval.hpp" alt="" coords="290,370,449,411"/>
- <area shape="rect" id="node13" href="container_8hpp.html" title="/home/caleb/Sources\l/TTTT/filval/container.hpp" alt="" coords="420,184,607,225"/>
- <area shape="rect" id="node14" href="dataset_8hpp.html" title="/home/caleb/Sources\l/TTTT/filval/dataset.hpp" alt="" coords="282,273,457,315"/>
- <area shape="rect" id="node16" href="filter_8hpp.html" title="/home/caleb/Sources\l/TTTT/filval/filter.hpp" alt="" coords="203,95,360,136"/>
- <area shape="rect" id="node17" href="root_2value_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/value.hpp" alt="" coords="957,184,1152,225"/>
- <area shape="rect" id="node11" href="root_2api_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/api.hpp" alt="" coords="825,273,1004,315"/>
- <area shape="rect" id="node4" href="example1_8cpp.html" title="/home/caleb/Sources\l/TTTT/filval/examples\l/example1.cpp" alt="" coords="169,467,332,523"/>
- <area shape="rect" id="node5" href="example2_8cpp_source.html" title="/home/caleb/Sources\l/TTTT/filval/examples\l/example2.cpp" alt="" coords="5,571,168,627"/>
- <area shape="rect" id="node6" href="example3_8cpp_source.html" title="/home/caleb/Sources\l/TTTT/filval/examples\l/example3.cpp" alt="" coords="200,571,363,627"/>
- <area shape="rect" id="node7" href="MiniTreeDataSet_8hpp.html" title="/home/caleb/Sources\l/TTTT/analysis/MiniTreeData\lSet.hpp" alt="" coords="407,467,612,523"/>
- <area shape="rect" id="node8" href="MVA__Creation_8cpp.html" title="/home/caleb/Sources\l/TTTT/analysis/MVA_Creation.cpp" alt="" coords="391,578,628,619"/>
- <area shape="rect" id="node9" href="TTTT__Analysis_8cpp.html" title="/home/caleb/Sources\l/TTTT/analysis/TTTT\l_Analysis.cpp" alt="" coords="681,571,839,627"/>
- <area shape="rect" id="node10" href="selection_8hpp.html" title="/home/caleb/Sources\l/TTTT/analysis/selection.hpp" alt="" coords="687,474,894,515"/>
- <area shape="rect" id="node12" href="filval__root_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/filval\l_root.hpp" alt="" coords="833,363,996,419"/>
- <area shape="rect" id="node15" href="root_2container_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/container.hpp" alt="" coords="532,273,751,315"/>
- <area shape="rect" id="node18" href="root_2filter_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/filter.hpp" alt="" coords="1029,273,1217,315"/>
- </map>
- </div>
- </div>
- <p><a href="value_8hpp_source.html">Go to the source code of this file.</a></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
- Classes</h2></td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1GenFunction.html">fv::GenFunction</a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Parent class to all Function classes. <a href="classfv_1_1GenFunction.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Function_3_01R_07ArgTypes_8_8_8_08_4.html">fv::Function< R(ArgTypes...)></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">In order to enable proper provenance tracking, and at the same time keep the ability to embed functions into values, the Function class should be used. <a href="classfv_1_1Function_3_01R_07ArgTypes_8_8_8_08_4.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Value.html">fv::Value< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A templated value. <a href="classfv_1_1Value.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Value.html">fv::Value< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A templated value. <a href="classfv_1_1Value.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1ObservedValue.html">fv::ObservedValue< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A value supplied by the dataset, not derived. <a href="classfv_1_1ObservedValue.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1DerivedValue.html">fv::DerivedValue< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classfv_1_1Value.html" title="A templated value. ">Value</a> derived from some other Values, not directly from the dataset. <a href="classfv_1_1DerivedValue.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1WrapperVector.html">fv::WrapperVector< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A std::vector wrapper around a C-style array. <a href="classfv_1_1WrapperVector.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Pair.html">fv::Pair< T1, T2 ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Creates a std::pair type from a two other <a class="el" href="classfv_1_1Value.html" title="A templated value. ">Value</a> objects. <a href="classfv_1_1Pair.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Zip.html">fv::Zip< ArgTypes ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Zips a series of vectors together. <a href="classfv_1_1Zip.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Map_3_01Ret_07ArgTypes_8_8_8_08_4.html">fv::Map< Ret(ArgTypes...)></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Maps a function over an input vector. <a href="classfv_1_1Map_3_01Ret_07ArgTypes_8_8_8_08_4.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Tuple.html">fv::Tuple< ArgTypes ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Takes a series of <a class="el" href="classfv_1_1Value.html" title="A templated value. ">Value</a> objects and bundles them together into a std::tuple object. <a href="classfv_1_1Tuple.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1DeTup.html">fv::DeTup< N, ArgTypes ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Gets the Nth element from a tuple value. <a href="classfv_1_1DeTup.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1DeTupVector.html">fv::DeTupVector< N, ArgTypes ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Creates a vector of extracting the Nth value from each entry in a vector of tuples. <a href="classfv_1_1DeTupVector.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Apply_3_01Ret_07ArgTypes_8_8_8_08_4.html">fv::Apply< Ret(ArgTypes...)></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Applies a function to a tuple of values and returns a value. <a href="classfv_1_1Apply_3_01Ret_07ArgTypes_8_8_8_08_4.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Count.html">fv::Count< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Returns the count of elements in the input vector passing a test function. <a href="classfv_1_1Count.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Filter.html">fv::Filter< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Returns the elements in a vector that pass a test function. <a href="classfv_1_1Filter.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1TupFilter.html">fv::TupFilter< ArgTypes ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Returns the elements in a vector that pass a test function. <a href="classfv_1_1TupFilter.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Reduce.html">fv::Reduce< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classfv_1_1Reduce.html" title="Reduce a Value of type vector<T> to just a T. ">Reduce</a> a <a class="el" href="classfv_1_1Value.html" title="A templated value. ">Value</a> of type vector<T> to just a T. <a href="classfv_1_1Reduce.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Max.html">fv::Max< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Find and return the maximum value of a vector. <a href="classfv_1_1Max.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Min.html">fv::Min< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Find and return the minimum value of a vector. <a href="classfv_1_1Min.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Mean.html">fv::Mean< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the mean value of a vector. <a href="classfv_1_1Mean.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Range.html">fv::Range< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the range of the values in a vector. <a href="classfv_1_1Range.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1ElementOf.html">fv::ElementOf< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Extract the element at a specific index from a vector. <a href="classfv_1_1ElementOf.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1ReduceIndex.html">fv::ReduceIndex< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Similar to <a class="el" href="classfv_1_1Reduce.html" title="Reduce a Value of type vector<T> to just a T. ">Reduce</a>, but returns a pair of a T and an int. <a href="classfv_1_1ReduceIndex.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1MaxIndex.html">fv::MaxIndex< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Find and return the maximum value of a vector and its index. <a href="classfv_1_1MaxIndex.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1MinIndex.html">fv::MinIndex< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Find and return the minimum value of a vector and its index. <a href="classfv_1_1MinIndex.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1Combinations.html">fv::Combinations< T, Size ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Find combinations of items from an input vector. <a href="classfv_1_1Combinations.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1CartProduct.html">fv::CartProduct< FST, SND ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Calculate the cartesian product of two input vectors. <a href="classfv_1_1CartProduct.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1BoundValue.html">fv::BoundValue< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A generic value owning only a function object. <a href="classfv_1_1BoundValue.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1PointerValue.html">fv::PointerValue< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classfv_1_1Value.html" title="A templated value. ">Value</a> of a pointer. <a href="classfv_1_1PointerValue.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1ConstantValue.html">fv::ConstantValue< T ></a></td></tr>
- <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classfv_1_1Value.html" title="A templated value. ">Value</a> which always returns the same value, supplied in the constructor. <a href="classfv_1_1ConstantValue.html#details">More...</a><br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
- Namespaces</h2></td></tr>
- <tr class="memitem:namespacefv"><td class="memItemLeft" align="right" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacefv.html">fv</a></td></tr>
- <tr class="memdesc:namespacefv"><td class="mdescLeft"> </td><td class="mdescRight">The namespace containing all filval classes and functions. <br /></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
- Macros</h2></td></tr>
- <tr class="memitem:abda9672baa08af6eea0eba8b7f2b025d"><td class="memItemLeft" align="right" valign="top"><a id="abda9672baa08af6eea0eba8b7f2b025d"></a>
- #define </td><td class="memItemRight" valign="bottom"><b>FUNC</b>(f)   f, #f</td></tr>
- <tr class="separator:abda9672baa08af6eea0eba8b7f2b025d"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
- Typedefs</h2></td></tr>
- <tr class="memitem:acc10056e9b78553b6a5b2110e63456e9"><td class="memItemLeft" align="right" valign="top"><a id="acc10056e9b78553b6a5b2110e63456e9"></a>
- typedef std::map< std::string, GenValue * > </td><td class="memItemRight" valign="bottom"><b>fv::ValueSet</b></td></tr>
- <tr class="separator:acc10056e9b78553b6a5b2110e63456e9"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></td></tr>
- <tr class="memitem:aa5415e54f934f66b83fa647309478a07"><td class="memTemplParams" colspan="2"><a id="aa5415e54f934f66b83fa647309478a07"></a>
- template<typename Array , std::size_t... I> </td></tr>
- <tr class="memitem:aa5415e54f934f66b83fa647309478a07"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) </td><td class="memTemplItemRight" valign="bottom"><b>fv::detail::a2t_impl</b> (const Array &a, std::index_sequence< I... >)</td></tr>
- <tr class="separator:aa5415e54f934f66b83fa647309478a07"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6f29b37e1d794f52bdb07602096ca21c"><td class="memTemplParams" colspan="2"><a id="a6f29b37e1d794f52bdb07602096ca21c"></a>
- template<typename T , std::size_t N, typename Indices = std::make_index_sequence<N>> </td></tr>
- <tr class="memitem:a6f29b37e1d794f52bdb07602096ca21c"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacefv.html#a6f29b37e1d794f52bdb07602096ca21c">fv::a2t</a> (const std::array< T, N > &a)</td></tr>
- <tr class="memdesc:a6f29b37e1d794f52bdb07602096ca21c"><td class="mdescLeft"> </td><td class="mdescRight">Converts a std::array to a std::tuple. <br /></td></tr>
- <tr class="separator:a6f29b37e1d794f52bdb07602096ca21c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a20c3a4428b182ed8e1652f76d80af349"><td class="memTemplParams" colspan="2"><a id="a20c3a4428b182ed8e1652f76d80af349"></a>
- template<typename R , typename Tuple , std::size_t... Is> </td></tr>
- <tr class="memitem:a20c3a4428b182ed8e1652f76d80af349"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) </td><td class="memTemplItemRight" valign="bottom"><b>fv::detail::t2v_impl</b> (const Tuple &t, std::index_sequence< Is... >)</td></tr>
- <tr class="separator:a20c3a4428b182ed8e1652f76d80af349"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9b2e09e8c179833ef2963c3d3348c942"><td class="memTemplParams" colspan="2"><a id="a9b2e09e8c179833ef2963c3d3348c942"></a>
- template<typename R , typename... ArgTypes> </td></tr>
- <tr class="memitem:a9b2e09e8c179833ef2963c3d3348c942"><td class="memTemplItemLeft" align="right" valign="top">std::vector< R > </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacefv.html#a9b2e09e8c179833ef2963c3d3348c942">fv::t2v</a> (const std::tuple< ArgTypes... > &t)</td></tr>
- <tr class="memdesc:a9b2e09e8c179833ef2963c3d3348c942"><td class="mdescLeft"> </td><td class="mdescRight">Converts a std::tuple to a std::vector. <br /></td></tr>
- <tr class="separator:a9b2e09e8c179833ef2963c3d3348c942"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad9e6b31d78187ba1926a90e52d46e6be"><td class="memTemplParams" colspan="2"><a id="ad9e6b31d78187ba1926a90e52d46e6be"></a>
- template<class F , class Tuple , std::size_t... I> </td></tr>
- <tr class="memitem:ad9e6b31d78187ba1926a90e52d46e6be"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) constexpr </td><td class="memTemplItemRight" valign="bottom"><b>fv::detail::call_impl</b> (F &&f, Tuple &&t, std::index_sequence< I... >)</td></tr>
- <tr class="separator:ad9e6b31d78187ba1926a90e52d46e6be"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9a4442455b76c1cbe8951b593f06309c"><td class="memTemplParams" colspan="2"><a id="a9a4442455b76c1cbe8951b593f06309c"></a>
- template<class F , class Tuple > </td></tr>
- <tr class="memitem:a9a4442455b76c1cbe8951b593f06309c"><td class="memTemplItemLeft" align="right" valign="top">decltype(auto) constexpr </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespacefv.html#a9a4442455b76c1cbe8951b593f06309c">fv::call</a> (F &&f, Tuple &&t)</td></tr>
- <tr class="memdesc:a9a4442455b76c1cbe8951b593f06309c"><td class="mdescLeft"> </td><td class="mdescRight">Call a function f with the elements of the tuple t as arguments. <br /></td></tr>
- <tr class="separator:a9a4442455b76c1cbe8951b593f06309c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a12225ad5af727a02b469015810b7f83f"><td class="memItemLeft" align="right" valign="top"><a id="a12225ad5af727a02b469015810b7f83f"></a>
- std::ostream & </td><td class="memItemRight" valign="bottom"><b>fv::operator<<</b> (std::ostream &os, GenValue &gv)</td></tr>
- <tr class="separator:a12225ad5af727a02b469015810b7f83f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6c28ce535104c3b9b1e502fc5f22303c"><td class="memItemLeft" align="right" valign="top"><a id="a6c28ce535104c3b9b1e502fc5f22303c"></a>
- std::string </td><td class="memItemRight" valign="bottom"><b>fv::impl::zip_fmt_name</b> ()</td></tr>
- <tr class="separator:a6c28ce535104c3b9b1e502fc5f22303c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:aaea96e3281c8872e0baf8e8b5bd70bfa"><td class="memTemplParams" colspan="2"><a id="aaea96e3281c8872e0baf8e8b5bd70bfa"></a>
- template<typename Head > </td></tr>
- <tr class="memitem:aaea96e3281c8872e0baf8e8b5bd70bfa"><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><b>fv::impl::zip_fmt_name</b> (Value< std::vector< Head >> *head)</td></tr>
- <tr class="separator:aaea96e3281c8872e0baf8e8b5bd70bfa"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a8a7ea9e3af6cb8f530beebeb810f731f"><td class="memTemplParams" colspan="2"><a id="a8a7ea9e3af6cb8f530beebeb810f731f"></a>
- template<typename Head1 , typename Head2 , typename... Tail> </td></tr>
- <tr class="memitem:a8a7ea9e3af6cb8f530beebeb810f731f"><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><b>fv::impl::zip_fmt_name</b> (Value< std::vector< Head1 >> *head1, Value< std::vector< Head2 >> *head2, Value< std::vector< Tail >> *... tail)</td></tr>
- <tr class="separator:a8a7ea9e3af6cb8f530beebeb810f731f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1c49ec3956538e60f2f352e1da5b59e5"><td class="memItemLeft" align="right" valign="top"><a id="a1c49ec3956538e60f2f352e1da5b59e5"></a>
- std::string </td><td class="memItemRight" valign="bottom"><b>fv::impl::tuple_fmt_name</b> ()</td></tr>
- <tr class="separator:a1c49ec3956538e60f2f352e1da5b59e5"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:adf18bfec60b9556b3c51e1a75dd35424"><td class="memTemplParams" colspan="2"><a id="adf18bfec60b9556b3c51e1a75dd35424"></a>
- template<typename Head > </td></tr>
- <tr class="memitem:adf18bfec60b9556b3c51e1a75dd35424"><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><b>fv::impl::tuple_fmt_name</b> (Value< Head > *head)</td></tr>
- <tr class="separator:adf18bfec60b9556b3c51e1a75dd35424"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a729ee9556c2bad65161abba818939cb4"><td class="memTemplParams" colspan="2"><a id="a729ee9556c2bad65161abba818939cb4"></a>
- template<typename Head1 , typename Head2 , typename... Tail> </td></tr>
- <tr class="memitem:a729ee9556c2bad65161abba818939cb4"><td class="memTemplItemLeft" align="right" valign="top">std::string </td><td class="memTemplItemRight" valign="bottom"><b>fv::impl::tuple_fmt_name</b> (Value< Head1 > *head1, Value< Head2 > *head2, Value< Tail > *... tail)</td></tr>
- <tr class="separator:a729ee9556c2bad65161abba818939cb4"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><dl class="section author"><dt>Author</dt><dd>Caleb Fangmeier <a href="#" onclick="location.href='mai'+'lto:'+'cal'+'eb'+'@fa'+'ng'+'mei'+'er'+'.te'+'ch'; return false;">caleb<span style="display: none;">.nosp@m.</span>@fan<span style="display: none;">.nosp@m.</span>gmeie<span style="display: none;">.nosp@m.</span>r.te<span style="display: none;">.nosp@m.</span>ch</a> </dd></dl>
- <dl class="section version"><dt>Version</dt><dd>0.1</dd></dl>
- <h1><a class="anchor" id="LICENSE"></a>
- LICENSE</h1>
- <p>MIT License</p>
- <p>Copyright (c) 2017 Caleb Fangmeier</p>
- <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
- <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
- <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
- <h1><a class="anchor" id="DESCRIPTION"></a>
- DESCRIPTION</h1>
- <p>This header defines a set of generic classes that wrap up "values". In essence, a Value<T> object is just something that contains a value of type T and can provide it when requested. The usefulness stems from composing values together with calculations. This enables very clear dependency mapping and a way to know clearly how every value was arrived at. This could be used to, for example, automatically generate commentary for plots that explain the exect calculation used to create it. Or easily making a series of plots contrasting different values that have been composed slightly differently. </p>
- <p class="definition">Definition in file <a class="el" href="value_8hpp_source.html">value.hpp</a>.</p>
- </div></div><!-- contents -->
- <!-- start footer part -->
- <hr class="footer"/><address class="footer"><small>
- Generated by  <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/>
- </a> 1.8.13
- </small></address>
- </body>
- </html>
|