ALPSCore reference
|
#include <wrapper_set.hpp>
Public Types | |
typedef T | value_type |
typedef std::map< std::string, std::shared_ptr< T > >::iterator | iterator |
typedef std::map< std::string, std::shared_ptr< T > >::const_iterator | const_iterator |
Public Member Functions | |
template<typename U > | |
wrapper_set (wrapper_set< U > const &arg) | |
wrapper_set () | |
wrapper_set (wrapper_set const &) | |
T & | operator[] (std::string const &name) |
T const & | operator[] (std::string const &name) const |
bool | has (std::string const &name) const |
void | insert (std::string const &name, std::shared_ptr< T > ptr) |
std::size_t | size () const |
void | save (hdf5::archive &ar) const |
void | load (hdf5::archive &ar) |
void | print (std::ostream &os) const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
void | clear () |
template<typename U = T> | |
std::enable_if< std::is_same< U, accumulator_wrapper >::value >::type | merge (wrapper_set const &rhs) |
Merge another accumulator/result set into this one. More... | |
template<typename U = T> | |
std::enable_if< std::is_same< U, accumulator_wrapper >::value >::type | reset () |
Static Public Member Functions | |
template<typename A > | |
static void | register_serializable_type_nolock () |
Register a serializable type, without locking. More... | |
template<typename A > | |
static void | register_serializable_type () |
Register a user-defined serializable type. More... | |
Definition at line 27 of file wrapper_set.hpp.
typedef std::map<std::string, std::shared_ptr<T> >::const_iterator alps::accumulators::impl::wrapper_set< T >::const_iterator |
Definition at line 33 of file wrapper_set.hpp.
typedef std::map<std::string, std::shared_ptr<T> >::iterator alps::accumulators::impl::wrapper_set< T >::iterator |
Definition at line 32 of file wrapper_set.hpp.
typedef T alps::accumulators::impl::wrapper_set< T >::value_type |
Definition at line 30 of file wrapper_set.hpp.
|
inline |
Definition at line 36 of file wrapper_set.hpp.
alps::accumulators::impl::wrapper_set< T >::wrapper_set | ( | ) |
Definition at line 20 of file wrapper_set.cpp.
|
inline |
Definition at line 42 of file wrapper_set.hpp.
|
inline |
Definition at line 65 of file wrapper_set.hpp.
|
inline |
Definition at line 68 of file wrapper_set.hpp.
|
inline |
Definition at line 71 of file wrapper_set.hpp.
|
inline |
Definition at line 66 of file wrapper_set.hpp.
|
inline |
Definition at line 69 of file wrapper_set.hpp.
bool alps::accumulators::impl::wrapper_set< T >::has | ( | std::string const & | name | ) | const |
Definition at line 42 of file wrapper_set.cpp.
void alps::accumulators::impl::wrapper_set< T >::insert | ( | std::string const & | name, |
std::shared_ptr< T > | ptr | ||
) |
Definition at line 47 of file wrapper_set.cpp.
template void alps::accumulators::impl::wrapper_set< T >::load | ( | hdf5::archive & | ar | ) |
Definition at line 93 of file wrapper_set_hdf5.cpp.
|
inline |
Merge another accumulator/result set into this one.
rhs | the set to merge. |
Definition at line 80 of file wrapper_set.hpp.
T & alps::accumulators::impl::wrapper_set< T >::operator[] | ( | std::string const & | name | ) |
Definition at line 28 of file wrapper_set.cpp.
T const & alps::accumulators::impl::wrapper_set< T >::operator[] | ( | std::string const & | name | ) | const |
Definition at line 35 of file wrapper_set.cpp.
void alps::accumulators::impl::wrapper_set< T >::print | ( | std::ostream & | os | ) | const |
Definition at line 54 of file wrapper_set.cpp.
|
static |
Register a user-defined serializable type.
Definition at line 54 of file wrapper_set_hdf5.cpp.
|
static |
Register a serializable type, without locking.
Definition at line 47 of file wrapper_set_hdf5.cpp.
|
inline |
Definition at line 91 of file wrapper_set.hpp.
template void alps::accumulators::impl::wrapper_set< T >::save | ( | hdf5::archive & | ar | ) | const |
Definition at line 83 of file wrapper_set_hdf5.cpp.
|
inline |
Definition at line 51 of file wrapper_set.hpp.