ALPSCore reference
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
alps::accumulators::impl::Result< T, weight_holder_tag< W >, B > Class Template Reference

#include <weight_holder.hpp>

Inheritance diagram for alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >:
Inheritance graph
Collaboration diagram for alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >:
Collaboration graph

Public Types

typedef W weight_type
 
typedef detail::make_scalar_result_type< impl::Result, T, weight_holder_tag< W >, B >::type scalar_result_type
 

Public Member Functions

 Result ()
 
template<typename A >
 Result (A const &acc)
 
base_wrapper< typename value_type< weight_type >::type > const * weight () const
 
template<typename S >
void print (S &os, bool terse=false) const
 
void save (hdf5::archive &ar) const
 
void load (hdf5::archive &ar)
 

Static Public Member Functions

static std::size_t rank ()
 
static bool can_load (hdf5::archive &ar)
 

Protected Attributes

bool m_owner
 
std::shared_ptr< ::alps::accumulators::base_wrapper< typename value_type< weight_type >::type > > m_weight
 

Detailed Description

template<typename T, typename W, typename B>
class alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >

Definition at line 143 of file weight_holder.hpp.

Member Typedef Documentation

template<typename T , typename W , typename B >
typedef detail::make_scalar_result_type<impl::Result,T,weight_holder_tag<W>,B>::type alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::scalar_result_type

Definition at line 147 of file weight_holder.hpp.

template<typename T , typename W , typename B >
typedef W alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::weight_type

Definition at line 146 of file weight_holder.hpp.

Constructor & Destructor Documentation

template<typename T , typename W , typename B >
alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::Result ( )
inline

Definition at line 149 of file weight_holder.hpp.

template<typename T , typename W , typename B >
template<typename A >
alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::Result ( A const &  acc)
inline

Definition at line 155 of file weight_holder.hpp.

Member Function Documentation

template<typename T , typename W , typename B >
static bool alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::can_load ( hdf5::archive ar)
inlinestatic

Definition at line 183 of file weight_holder.hpp.

template<typename T , typename W , typename B >
void alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::load ( hdf5::archive ar)
inline

Definition at line 177 of file weight_holder.hpp.

template<typename T , typename W , typename B >
template<typename S >
void alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::print ( S &  os,
bool  terse = false 
) const
inline

Definition at line 166 of file weight_holder.hpp.

template<typename T , typename W , typename B >
static std::size_t alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::rank ( )
inlinestatic

Definition at line 182 of file weight_holder.hpp.

template<typename T , typename W , typename B >
void alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::save ( hdf5::archive ar) const
inline

Definition at line 172 of file weight_holder.hpp.

template<typename T , typename W , typename B >
base_wrapper<typename value_type<weight_type>::type> const* alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::weight ( ) const
inline

Definition at line 162 of file weight_holder.hpp.

Member Data Documentation

template<typename T , typename W , typename B >
bool alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::m_owner
protected

Definition at line 194 of file weight_holder.hpp.

template<typename T , typename W , typename B >
std::shared_ptr< ::alps::accumulators::base_wrapper<typename value_type<weight_type>::type> > alps::accumulators::impl::Result< T, weight_holder_tag< W >, B >::m_weight
protected

Definition at line 195 of file weight_holder.hpp.


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