Jpp
master_rocky-40-g5f0272dcd
the software that should make you happy
|
Auxiliary methods to convert data members or return values of member methods of a set of objects to a single vector. More...
#include <ostream>
#include <vector>
#include <functional>
#include "JLang/JSTDTypes.hh"
#include "JLang/JClass.hh"
Go to the source code of this file.
Classes | |
struct | JLANG::array_type< JElement_t, JAllocator_t > |
Auxiliary data structure for return type of make methods. More... | |
Namespaces | |
JLANG | |
Auxiliary classes and methods for language specific functionality. | |
JPP | |
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES). | |
Functions | |
template<class JValue_t , size_t N> | |
const array_type< JValue_t > & | JLANG::make_array (const JValue_t(&array)[N]) |
Method to create array of values. More... | |
template<class T > | |
const array_type< typename std::iterator_traits< T >::value_type > & | JLANG::make_array (T __begin, T __end) |
Method to create array of values. More... | |
template<class T , class JType_t , class JValue_t > | |
const array_type< typename JClass< JValue_t >::value_type > & | JLANG::make_array (T __begin, T __end, JValue_t const JType_t::*value) |
Method to create array of values of data member. More... | |
template<class T , class JType_t , class JValue_t > | |
const array_type< typename JClass< JValue_t >::value_type > & | JLANG::make_array (T __begin, T __end, JValue_t(JType_t::*function)() const) |
Method to create array of return values of member method. More... | |
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t > | |
const array_type< JKey_t > & | JLANG::get_keys (const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data) |
Method to create array of keys of map. More... | |
template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t > | |
const array_type< JValue_t > & | JLANG::get_values (const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data) |
Method to create array of values of map. More... | |
template<class T , class JResult_t , class JComparator_t > | |
T | JLANG::make_set (T __begin, T __end, JResult_t std::iterator_traits< T >::value_type::*value, const JComparator_t &comparator) |
Method to exclude outliers from already sorted data. More... | |
template<class T > | |
T | JLANG::getMaximum (const array_type< T > &buffer, const T value) |
Get maximum of values. More... | |
template<class T > | |
T | JLANG::getMinimum (const array_type< T > &buffer, const T value) |
Get minimum of values. More... | |
template<class T , class JCompare_t > | |
size_t | JLANG::getCount (const array_type< T > &buffer, const JCompare_t &compare) |
Count number of unique values. More... | |
template<class T > | |
size_t | JLANG::getCount (const array_type< T > &buffer) |
Count number of unique values. More... | |
Auxiliary methods to convert data members or return values of member methods of a set of objects to a single vector.
Definition in file JVectorize.hh.