Jpp  18.0.0-rc.4
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions
JVectorize.hh File Reference

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 <iterator>
#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...
 

Detailed Description

Auxiliary methods to convert data members or return values of member methods of a set of objects to a single vector.

Author
mdejong

Definition in file JVectorize.hh.