ALPSCore reference
Public Types | Public Member Functions | Static Public Member Functions | List of all members
alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B > Struct Template Reference

#include <max_num_binning.hpp>

Inheritance diagram for alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >:
Inheritance graph
Collaboration diagram for alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >:
Collaboration graph

Public Types

typedef alps::accumulators::max_num_binning_type< B >::type max_num_binning_type
 
typedef Result< T, max_num_binning_tag, typename B::result_type > result_type
 

Public Member Functions

 Accumulator ()
 
 Accumulator (Accumulator const &arg)
 
template<typename ArgumentPack >
 Accumulator (ArgumentPack const &args, typename std::enable_if<!is_accumulator< ArgumentPack >::value, int >::type=0)
 
max_num_binning_type const max_num_binning () const
 
template<typename OP >
void transform (OP)
 
template<typename U , typename OP >
void transform (U const &, OP)
 
void operator() (T const &val)
 
template<typename S >
void print (S &os, bool terse=false) const
 
void save (hdf5::archive &ar) const
 
void load (hdf5::archive &ar)
 
void reset ()
 
template<typename A >
void merge (const A &rhs)
 Merge the bins of the given accumulator of type A into this accumulator. More...
 

Static Public Member Functions

static std::size_t rank ()
 
static bool can_load (hdf5::archive &ar)
 

Detailed Description

template<typename T, typename B>
struct alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >

Definition at line 146 of file max_num_binning.hpp.

Member Typedef Documentation

template<typename T , typename B >
typedef alps::accumulators::max_num_binning_type<B>::type alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::max_num_binning_type

Definition at line 149 of file max_num_binning.hpp.

template<typename T , typename B >
typedef Result<T, max_num_binning_tag, typename B::result_type> alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::result_type

Definition at line 150 of file max_num_binning.hpp.

Constructor & Destructor Documentation

template<typename T , typename B >
alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::Accumulator ( )

Definition at line 25 of file max_num_binning.cpp.

template<typename T , typename B >
alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::Accumulator ( Accumulator< T, max_num_binning_tag, B > const &  arg)

Definition at line 34 of file max_num_binning.cpp.

template<typename T , typename B >
template<typename ArgumentPack >
alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::Accumulator ( ArgumentPack const &  args,
typename std::enable_if<!is_accumulator< ArgumentPack >::value, int >::type  = 0 
)
inline

Definition at line 155 of file max_num_binning.hpp.

Member Function Documentation

template<typename T , typename B >
bool alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::can_load ( hdf5::archive ar)
static

Definition at line 110 of file max_num_binning.cpp.

template<typename T , typename B >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::load ( hdf5::archive ar)

Definition at line 98 of file max_num_binning.cpp.

template<typename T , typename B >
max_num_binning_type const alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::max_num_binning ( ) const
inline

Definition at line 163 of file max_num_binning.hpp.

template<typename T , typename B >
template<typename A >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::merge ( const A &  rhs)
inline

Merge the bins of the given accumulator of type A into this accumulator.

Parameters
rhsAccumulator to merge
Warning
: FIXME: Incomplete, therefore always throws.

Definition at line 208 of file max_num_binning.hpp.

template<typename T , typename B >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::operator() ( T const &  val)

Definition at line 44 of file max_num_binning.cpp.

template<typename T , typename B >
template<typename S >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::print ( S &  os,
bool  terse = false 
) const
inline

Definition at line 178 of file max_num_binning.hpp.

template<typename T , typename B >
static std::size_t alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::rank ( )
inlinestatic

Definition at line 199 of file max_num_binning.hpp.

template<typename T , typename B >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::reset ( )

Definition at line 128 of file max_num_binning.cpp.

template<typename T , typename B >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::save ( hdf5::archive ar) const

Definition at line 84 of file max_num_binning.cpp.

template<typename T , typename B >
template<typename OP >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::transform ( OP  )
inline

Definition at line 167 of file max_num_binning.hpp.

template<typename T , typename B >
template<typename U , typename OP >
void alps::accumulators::impl::Accumulator< T, max_num_binning_tag, B >::transform ( U const &  ,
OP   
)
inline

Definition at line 171 of file max_num_binning.hpp.


The documentation for this struct was generated from the following files: