ALPSCore reference
Public Types | Public Member Functions | Static Public Member Functions | List of all members
alps::accumulators::impl::wrapper_set< T > Class Template Reference

#include <wrapper_set.hpp>

Collaboration diagram for alps::accumulators::impl::wrapper_set< T >:
Collaboration graph

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...
 

Detailed Description

template<typename T>
class alps::accumulators::impl::wrapper_set< T >

Definition at line 27 of file wrapper_set.hpp.

Member Typedef Documentation

template<typename T>
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.

template<typename T>
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.

template<typename T>
typedef T alps::accumulators::impl::wrapper_set< T >::value_type

Definition at line 30 of file wrapper_set.hpp.

Constructor & Destructor Documentation

template<typename T>
template<typename U >
alps::accumulators::impl::wrapper_set< T >::wrapper_set ( wrapper_set< U > const &  arg)
inline

Definition at line 36 of file wrapper_set.hpp.

template<typename T >
alps::accumulators::impl::wrapper_set< T >::wrapper_set ( )

Definition at line 20 of file wrapper_set.cpp.

template<typename T>
alps::accumulators::impl::wrapper_set< T >::wrapper_set ( wrapper_set< T > const &  )
inline

Definition at line 42 of file wrapper_set.hpp.

Member Function Documentation

template<typename T>
iterator alps::accumulators::impl::wrapper_set< T >::begin ( )
inline

Definition at line 65 of file wrapper_set.hpp.

template<typename T>
const_iterator alps::accumulators::impl::wrapper_set< T >::begin ( ) const
inline

Definition at line 68 of file wrapper_set.hpp.

template<typename T>
void alps::accumulators::impl::wrapper_set< T >::clear ( )
inline

Definition at line 71 of file wrapper_set.hpp.

template<typename T>
iterator alps::accumulators::impl::wrapper_set< T >::end ( )
inline

Definition at line 66 of file wrapper_set.hpp.

template<typename T>
const_iterator alps::accumulators::impl::wrapper_set< T >::end ( ) const
inline

Definition at line 69 of file wrapper_set.hpp.

template<typename T >
bool alps::accumulators::impl::wrapper_set< T >::has ( std::string const &  name) const

Definition at line 42 of file wrapper_set.cpp.

template<typename T >
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<typename T >
template void alps::accumulators::impl::wrapper_set< T >::load ( hdf5::archive ar)

Definition at line 93 of file wrapper_set_hdf5.cpp.

template<typename T>
template<typename U = T>
std::enable_if<std::is_same<U, accumulator_wrapper>::value>::type alps::accumulators::impl::wrapper_set< T >::merge ( wrapper_set< T > const &  rhs)
inline

Merge another accumulator/result set into this one.

Parameters
rhsthe set to merge.

Definition at line 80 of file wrapper_set.hpp.

template<typename T >
T & alps::accumulators::impl::wrapper_set< T >::operator[] ( std::string const &  name)

Definition at line 28 of file wrapper_set.cpp.

template<typename T >
T const & alps::accumulators::impl::wrapper_set< T >::operator[] ( std::string const &  name) const

Definition at line 35 of file wrapper_set.cpp.

template<typename T >
void alps::accumulators::impl::wrapper_set< T >::print ( std::ostream &  os) const

Definition at line 54 of file wrapper_set.cpp.

template<typename T >
template<typename A >
void alps::accumulators::impl::wrapper_set< T >::register_serializable_type ( )
static

Register a user-defined serializable type.

Definition at line 54 of file wrapper_set_hdf5.cpp.

template<typename T >
template<typename A >
void alps::accumulators::impl::wrapper_set< T >::register_serializable_type_nolock ( )
static

Register a serializable type, without locking.

Definition at line 47 of file wrapper_set_hdf5.cpp.

template<typename T>
template<typename U = T>
std::enable_if<std::is_same<U, accumulator_wrapper>::value>::type alps::accumulators::impl::wrapper_set< T >::reset ( )
inline

Definition at line 91 of file wrapper_set.hpp.

template<typename T >
template void alps::accumulators::impl::wrapper_set< T >::save ( hdf5::archive ar) const

Definition at line 83 of file wrapper_set_hdf5.cpp.

template<typename T>
std::size_t alps::accumulators::impl::wrapper_set< T >::size ( ) const
inline

Definition at line 51 of file wrapper_set.hpp.


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