TTTT Analysis  0.1
Classes | Typedefs | Enumerations | Functions
fv Namespace Reference

The namespace containing all filval classes and functions. More...

Classes

class  Apply< Ret(ArgTypes...)>
 Applies a function to a tuple of values and returns a value. More...
 
class  BoundValue
 A generic value owning only a function object. More...
 
class  CartProduct
 Calculate the cartesian product of two input vectors. More...
 
class  Combinations
 Find combinations of items from an input vector. More...
 
class  ConstantValue
 A Value which always returns the same value, supplied in the constructor. More...
 
class  Container
 A class that is used to "hold" values. More...
 
class  ContainerMean
 Calculate the Mean of a Value over a series of observations. More...
 
class  Count
 Returns the count of elements in the input vector passing a test function. More...
 
class  DerivedValue
 A Value derived from some other Values, not directly from the dataset. More...
 
class  DeTup
 Gets the Nth element from a tuple value. More...
 
class  DeTupVector
 Creates a vector of extracting the Nth value from each entry in a vector of tuples. More...
 
class  ElementOf
 Extract the element at a specific index from a vector. More...
 
class  Filter
 Returns the elements in a vector that pass a test function. More...
 
class  Function< R(ArgTypes...)>
 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. More...
 
class  GenContainer
 Generic, untyped parent class of Container. More...
 
class  GenFunction
 Parent class to all Function classes. More...
 
class  Map< Ret(ArgTypes...)>
 Maps a function over an input vector. More...
 
class  Max
 Find and return the maximum value of a vector. More...
 
class  MaxIndex
 Find and return the maximum value of a vector and its index. More...
 
class  Mean
 Calculate the mean value of a vector. More...
 
class  Min
 Find and return the minimum value of a vector. More...
 
class  MinIndex
 Find and return the minimum value of a vector and its index. More...
 
class  ObservedValue
 A value supplied by the dataset, not derived. More...
 
class  Pair
 Creates a std::pair type from a two other Value objects. More...
 
class  PointerValue
 A Value of a pointer. More...
 
class  Range
 Calculate the range of the values in a vector. More...
 
class  Reduce
 Reduce a Value of type vector<T> to just a T. More...
 
class  ReduceIndex
 Similar to Reduce, but returns a pair of a T and an int. More...
 
class  TupFilter
 Returns the elements in a vector that pass a test function. More...
 
class  Tuple
 Takes a series of Value objects and bundles them together into a std::tuple object. More...
 
class  Value
 A templated value. More...
 
class  WrapperVector
 A std::vector wrapper around a C-style array. More...
 
class  Zip
 Zips a series of vectors together. More...
 

Typedefs

typedef std::map< std::string, GenContainer * > ContainerSet
 
typedef std::map< std::string, GenValue * > ValueSet
 

Enumerations

enum  SaveOption { PNG = 0, PDF = 1, ROOT = 2 }
 Enumeration of different options that can be used to save Containers. More...
 

Functions

template<typename T >
Value< T > * lookup (const std::string &name)
 
template<typename T >
bool check_exists (const std::string name)
 
ObsFilter * lookup_obs_filter (const std::string &name)
 
template<typename T >
decltype(auto) wrapper_vector (Value< int > *size, Value< T *> *data, const std::string &alias="")
 
template<typename... ArgTypes>
decltype(auto) zip (Value< std::vector< ArgTypes >> *... args, const std::string &alias="")
 
template<typename Ret , typename... ArgTypes>
decltype(auto) map (Function< Ret(ArgTypes...)> &fn, Value< std::vector< std::tuple< ArgTypes... >>> *arg, const std::string &alias="")
 
template<typename... ArgTypes>
decltype(auto) tuple (Value< ArgTypes > *... args)
 
template<size_t N, typename... ArgTypes>
decltype(auto) detup (Value< std::tuple< ArgTypes... >> *tup, const std::string &alias="")
 
template<size_t N, typename... ArgTypes>
decltype(auto) detup_vec (Value< std::vector< std::tuple< ArgTypes... >>> *tup, const std::string &alias="")
 
template<typename Ret , typename... ArgTypes>
decltype(auto) apply (Function< Ret(ArgTypes...)> &fn, Value< std::tuple< ArgTypes... >> *arg, const std::string &alias="")
 
template<typename T1 , typename T2 >
decltype(auto) pair (Value< T1 > *val1, Value< T2 > *val2, const std::string &alias="")
 
template<typename T1 , typename T2 >
decltype(auto) pair (const std::string &name1, const std::string &name2, const std::string &alias="")
 
template<typename T >
decltype(auto) max (Value< std::vector< T >> *v, const std::string &alias="")
 
template<typename T >
decltype(auto) max (const std::string &v_name, const std::string &alias="")
 
template<typename T >
decltype(auto) min (Value< std::vector< T >> *v, const std::string &alias="")
 
template<typename T >
decltype(auto) min (const std::string &v_name, const std::string &alias="")
 
template<typename T >
decltype(auto) range (Value< std::vector< T >> *v, const std::string &alias="")
 
template<typename T >
decltype(auto) range (const std::string &v_name, const std::string &alias="")
 
template<typename T >
decltype(auto) mean (Value< std::vector< T >> *v, const std::string &alias="")
 
template<typename T >
decltype(auto) mean (const std::string &v_name, const std::string &alias="")
 
template<typename T >
decltype(auto) count (Function< bool(T)> &selector, Value< std::vector< T >> *v, const std::string &alias="")
 
template<typename T >
decltype(auto) count (Function< bool(T)> &selector, const std::string &v_name, const std::string &alias="")
 
template<typename FST , typename SND >
decltype(auto) cart_product (Value< std::vector< FST >> *val1, Value< std::vector< SND >> *val2, const std::string &alias="")
 
template<typename FST , typename SND >
decltype(auto) cart_product (const std::string &val1_name, const std::string &val2_name, const std::string &alias="")
 
template<typename T , int Size>
decltype(auto) combinations (Value< std::vector< T >> *val, const std::string &alias="")
 
template<typename T , int Size>
decltype(auto) combinations (const std::string &val_name, const std::string alias="")
 
template<typename T >
decltype(auto) constant (const std::string name, T const_value, const std::string alias="")
 
template<typename T >
decltype(auto) bound (Function< T()> &f, const std::string alias="")
 
template<typename T >
decltype(auto) filter (Function< bool(T)> &filter, Value< std::vector< T >> *val, const std::string alias="")
 
template<typename T >
decltype(auto) filter (Function< bool(T)> &filter_func, const std::string &val_name, const std::string alias="")
 
template<typename... ArgTypes>
decltype(auto) tup_filter (Function< bool(ArgTypes...)> &filter, Value< std::vector< std::tuple< ArgTypes... >>> *val, const std::string alias="")
 
template<typename... ArgTypes>
decltype(auto) tup_filter (Function< bool(ArgTypes...)> &filter, const std::string &val_name, const std::string alias="")
 
ObsFilter * obs_filter (const std::string &name, std::function< bool()> filter_function, const std::string &impl="")
 
template<typename T , std::size_t N, typename Indices = std::make_index_sequence<N>>
decltype(auto) a2t (const std::array< T, N > &a)
 Converts a std::array to a std::tuple.
 
template<typename R , typename... ArgTypes>
std::vector< R > t2v (const std::tuple< ArgTypes... > &t)
 Converts a std::tuple to a std::vector.
 
template<class F , class Tuple >
decltype(auto) constexpr call (F &&f, Tuple &&t)
 Call a function f with the elements of the tuple t as arguments.
 
std::ostream & operator<< (std::ostream &os, GenValue &gv)
 

Detailed Description

The namespace containing all filval classes and functions.

Enumeration Type Documentation

◆ SaveOption

Enumeration of different options that can be used to save Containers.

Not all options are allowed for all Containers.

Definition at line 69 of file container.hpp.