ALPSCore reference
|
#include <accumulator.hpp>
Public Member Functions | |
accumulator_wrapper () | |
default constructor More... | |
template<typename T > | |
accumulator_wrapper (T arg) | |
constructor from raw accumulator More... | |
accumulator_wrapper (accumulator_wrapper const &rhs) | |
accumulator_wrapper (hdf5::archive &ar) | |
template<typename T > | |
void | operator() (T const &value) |
template<typename T > | |
accumulator_wrapper & | operator<< (T const &value) |
void | merge (const accumulator_wrapper &rhs_acc) |
Merge another accumulator into this one. More... | |
accumulator_wrapper | clone () const |
Returns a copy with the wrapped accumulator cloned. More... | |
accumulator_wrapper * | new_clone () const |
Returns a pointer to a new-allocated copy with the wrapped accumulator cloned. More... | |
accumulator_wrapper & | operator= (std::shared_ptr< accumulator_wrapper > const &rhs) |
boost::uint64_t | count () const |
template<typename T > | |
base_wrapper< T > & | get () |
template<typename A > | |
A & | extract () |
template<typename T > | |
mean_type< base_wrapper< T > >::type | mean () const |
template<typename T > | |
error_type< base_wrapper< T > >::type | error () const |
void | save (hdf5::archive &ar) const |
void | load (hdf5::archive &ar) |
void | reset () const |
std::shared_ptr< result_wrapper > | result () const |
void | print (std::ostream &os, bool terse=false) const |
Definition at line 392 of file accumulator.hpp.
alps::accumulators::accumulator_wrapper::accumulator_wrapper | ( | ) |
default constructor
Definition at line 17 of file accumulator_wrapper.cpp.
|
inline |
constructor from raw accumulator
Definition at line 411 of file accumulator.hpp.
alps::accumulators::accumulator_wrapper::accumulator_wrapper | ( | accumulator_wrapper const & | rhs | ) |
copy constructor
Definition at line 21 of file accumulator_wrapper.cpp.
alps::accumulators::accumulator_wrapper::accumulator_wrapper | ( | hdf5::archive & | ar | ) |
Definition at line 25 of file accumulator_wrapper.cpp.
accumulator_wrapper alps::accumulators::accumulator_wrapper::clone | ( | ) | const |
Returns a copy with the wrapped accumulator cloned.
Definition at line 71 of file accumulator_wrapper.cpp.
boost::uint64_t alps::accumulators::accumulator_wrapper::count | ( | ) | const |
Definition at line 112 of file accumulator_wrapper.cpp.
|
inline |
Definition at line 530 of file accumulator.hpp.
|
inline |
Definition at line 498 of file accumulator.hpp.
|
inline |
Definition at line 485 of file accumulator.hpp.
void alps::accumulators::accumulator_wrapper::load | ( | hdf5::archive & | ar | ) |
Definition at line 145 of file accumulator_wrapper.cpp.
|
inline |
Definition at line 529 of file accumulator.hpp.
void alps::accumulators::accumulator_wrapper::merge | ( | const accumulator_wrapper & | rhs_acc | ) |
Merge another accumulator into this one.
rhs_acc | accumulator to merge. |
Definition at line 52 of file accumulator_wrapper.cpp.
accumulator_wrapper * alps::accumulators::accumulator_wrapper::new_clone | ( | ) | const |
Returns a pointer to a new-allocated copy with the wrapped accumulator cloned.
Definition at line 78 of file accumulator_wrapper.cpp.
|
inline |
Definition at line 445 of file accumulator.hpp.
|
inline |
Definition at line 449 of file accumulator.hpp.
accumulator_wrapper & alps::accumulators::accumulator_wrapper::operator= | ( | std::shared_ptr< accumulator_wrapper > const & | rhs | ) |
Definition at line 97 of file accumulator_wrapper.cpp.
void alps::accumulators::accumulator_wrapper::print | ( | std::ostream & | os, |
bool | terse = false |
||
) | const |
Definition at line 193 of file accumulator_wrapper.cpp.
void alps::accumulators::accumulator_wrapper::reset | ( | ) | const |
Definition at line 159 of file accumulator_wrapper.cpp.
std::shared_ptr< result_wrapper > alps::accumulators::accumulator_wrapper::result | ( | ) | const |
Definition at line 174 of file accumulator_wrapper.cpp.
void alps::accumulators::accumulator_wrapper::save | ( | hdf5::archive & | ar | ) | const |
Definition at line 129 of file accumulator_wrapper.cpp.