ALPSCore reference
Classes | Namespaces | Macros | Typedefs | Functions
accumulators_.hpp File Reference
#include <alps/config.hpp>
#include <alps/hdf5/vector.hpp>
#include <alps/hdf5/archive.hpp>
#include <alps/accumulators/wrapper_set.hpp>
#include <boost/preprocessor/tuple/to_seq.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <string>
#include <iostream>
#include <typeinfo>
#include <stdexcept>
Include dependency graph for accumulators_.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  alps::accumulators::wrapped::virtual_result_wrapper< accumulator_type >
 
class  alps::accumulators::wrapped::virtual_accumulator_wrapper
 
struct  alps::MeanAccumulator< T >
 
struct  alps::NoBinningAccumulator< T >
 
struct  alps::LogBinningAccumulator< T >
 
struct  alps::FullBinningAccumulator< T >
 

Namespaces

 alps
 
 alps::accumulators
 
 alps::accumulators::wrapped
 

Macros

#define ALPS_ACCUMULATOR_VALUE_TYPES_SEQ   BOOST_PP_TUPLE_TO_SEQ(ALPS_ACCUMULATOR_VALUE_TYPES_SIZE, (ALPS_ACCUMULATOR_VALUE_TYPES))
 
#define ALPS_ACCUMULATOR_MEAN_IMPL(r, data, T)   T mean_impl(T) const;
 
#define ALPS_ACCUMULATOR_ERROR_IMPL(r, data, T)   T error_impl(T) const;
 
#define ALPS_ACCUMULATOR_OPERATOR_CALL(r, data, T)
 
#define ALPS_ACCUMULATOR_MEAN_IMPL(r, data, T)   T mean_impl(T) const;
 
#define ALPS_ACCUMULATOR_ERROR_IMPL(r, data, T)   T error_impl(T) const;
 
#define ALPS_ACCUMULATOR_ADD_ACCUMULATOR(r, data, T)
 

Typedefs

typedef accumulators::impl::wrapper_set< accumulators::wrapped::virtual_accumulator_wrapper > alps::accumulator_set
 
typedef accumulators::impl::wrapper_set< accumulators::wrapped::virtual_result_wrapper< accumulators::wrapped::virtual_accumulator_wrapper > > alps::result_set
 

Functions

std::ostream & alps::accumulators::wrapped::operator<< (std::ostream &os, const virtual_accumulator_wrapper &arg)
 
void alps::accumulators::wrapped::reset (virtual_accumulator_wrapper &arg)
 

Macro Definition Documentation

#define ALPS_ACCUMULATOR_ADD_ACCUMULATOR (   r,
  data,
 
)
Value:
accumulator_set & operator<<(accumulator_set & set, const MeanAccumulator< T > & arg); \
accumulator_set & operator<<(accumulator_set & set, const NoBinningAccumulator< T > & arg); \
accumulator_set & operator<<(accumulator_set & set, const LogBinningAccumulator< T > & arg); \
accumulator_set & operator<<(accumulator_set & set, const FullBinningAccumulator< T > & arg);
accumulators::impl::wrapper_set< accumulators::wrapped::virtual_accumulator_wrapper > accumulator_set

Definition at line 231 of file accumulators_.hpp.

#define ALPS_ACCUMULATOR_ERROR_IMPL (   r,
  data,
 
)    T error_impl(T) const;

Definition at line 140 of file accumulators_.hpp.

#define ALPS_ACCUMULATOR_ERROR_IMPL (   r,
  data,
 
)    T error_impl(T) const;

Definition at line 140 of file accumulators_.hpp.

#define ALPS_ACCUMULATOR_MEAN_IMPL (   r,
  data,
 
)    T mean_impl(T) const;

Definition at line 135 of file accumulators_.hpp.

#define ALPS_ACCUMULATOR_MEAN_IMPL (   r,
  data,
 
)    T mean_impl(T) const;

Definition at line 135 of file accumulators_.hpp.

#define ALPS_ACCUMULATOR_OPERATOR_CALL (   r,
  data,
 
)
Value:
virtual_accumulator_wrapper & operator()(T const & value); \
virtual_accumulator_wrapper & operator<<(T const & value) { \
(*this)(value); \
return (*this); \
}
std::ostream & operator<<(std::ostream &os, const virtual_accumulator_wrapper &arg)

Definition at line 116 of file accumulators_.hpp.

#define ALPS_ACCUMULATOR_VALUE_TYPES_SEQ   BOOST_PP_TUPLE_TO_SEQ(ALPS_ACCUMULATOR_VALUE_TYPES_SIZE, (ALPS_ACCUMULATOR_VALUE_TYPES))

Definition at line 29 of file accumulators_.hpp.