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

#include <count.hpp>

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

Public Types

typedef count_type< T >::type count_type
 
typedef detail::make_scalar_result_type< impl::Result, T, count_tag, B >::type scalar_result_type
 

Public Member Functions

 Result ()
 
template<typename A >
 Result (A const &acc)
 
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)
 
template<typename U >
void operator+= (U const &arg)
 
template<typename U >
void operator-= (U const &arg)
 
template<typename U >
void operator*= (U const &arg)
 
template<typename U >
void operator/= (U const &arg)
 
void reset ()
 

Static Public Member Functions

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

Detailed Description

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

Definition at line 62 of file count.hpp.

Member Typedef Documentation

template<typename T , typename B >
typedef count_type<T>::type alps::accumulators::impl::Result< T, count_tag, B >::count_type

Definition at line 65 of file count.hpp.

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

Definition at line 66 of file count.hpp.

Constructor & Destructor Documentation

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

Definition at line 68 of file count.hpp.

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

Definition at line 72 of file count.hpp.

Member Function Documentation

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

Definition at line 49 of file count.cpp.

template<typename T , typename B >
count_type alps::accumulators::impl::Result< T, count_tag, B >::count ( ) const
inline

Definition at line 76 of file count.hpp.

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

Definition at line 38 of file count.cpp.

template<typename T , typename B >
void alps::accumulators::impl::Result< T, count_tag, B >::operator() ( T const &  )

Definition at line 25 of file count.cpp.

template<typename T , typename B >
template<typename W >
void alps::accumulators::impl::Result< T, count_tag, B >::operator() ( T const &  ,
 
)
inline

Definition at line 82 of file count.hpp.

template<typename T , typename B >
template<typename U >
void alps::accumulators::impl::Result< T, count_tag, B >::operator*= ( U const &  arg)
inline

Definition at line 98 of file count.hpp.

template<typename T , typename B >
template<typename U >
void alps::accumulators::impl::Result< T, count_tag, B >::operator+= ( U const &  arg)
inline

Definition at line 96 of file count.hpp.

template<typename T , typename B >
template<typename U >
void alps::accumulators::impl::Result< T, count_tag, B >::operator-= ( U const &  arg)
inline

Definition at line 97 of file count.hpp.

template<typename T , typename B >
template<typename U >
void alps::accumulators::impl::Result< T, count_tag, B >::operator/= ( U const &  arg)
inline

Definition at line 99 of file count.hpp.

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

Definition at line 86 of file count.hpp.

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

Definition at line 93 of file count.hpp.

template<typename T , typename B >
void alps::accumulators::impl::Result< T, count_tag, B >::reset ( )

Definition at line 54 of file count.cpp.

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

Definition at line 30 of file count.cpp.


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