Jpp
Namespaces | Functions
JVectorize.hh File Reference
#include <vector>
#include "JLang/JSTDTypes.hh"
#include "JLang/JClass.hh"

Go to the source code of this file.

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 std::vector< JValue_t > JLANG::make_array (const JValue_t(&array)[N])
 Method to create array of values. More...
 
template<class T , class JType_t , class JValue_t >
const std::vector< JValue_t > & JLANG::make_array (T __begin, T __end, JValue_t JType_t::*value)
 Method to create array of values of data member. More...
 
template<class T , class JType_t , class JValue_t >
const std::vector< JValue_t > & JLANG::make_array (T __begin, T __end, const JValue_t JType_t::*value)
 Method to create array of values of data member. More...
 
template<class T , class JType_t , class JValue_t >
const std::vector< JValue_t > & 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 std::vector< 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 std::vector< 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 >
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.