ALPSCore reference
|
#include <count.hpp>
Public Types | |
typedef count_type< T >::type | count_type |
typedef Result< T, count_tag, typename B::result_type > | result_type |
Public Member Functions | |
Accumulator () | |
Accumulator (Accumulator const &arg) | |
template<typename ArgumentPack > | |
Accumulator (ArgumentPack const &, typename std::enable_if<!is_accumulator< ArgumentPack >::value, int >::type=0) | |
count_type | count () const |
void | operator() (T const &) |
template<typename W > | |
void | operator() (T const &, W) |
template<typename S > | |
void | print (S &os, bool=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 counter of the given accumulator of type A into this counter. More... | |
Static Public Member Functions | |
static std::size_t | rank () |
static bool | can_load (const hdf5::archive &ar) |
typedef count_type<T>::type alps::accumulators::impl::Accumulator< T, count_tag, B >::count_type |
typedef Result<T, count_tag, typename B::result_type> alps::accumulators::impl::Accumulator< T, count_tag, B >::result_type |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
void alps::accumulators::impl::Accumulator< T, count_tag, B >::load | ( | hdf5::archive & | ar | ) |
|
inline |
Merge the counter of the given accumulator of type A into this counter.
rhs | Accumulator to merge |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
void alps::accumulators::impl::Accumulator< T, count_tag, B >::save | ( | hdf5::archive & | ar | ) | const |