ALPSCore reference
Classes | Public Types | Public Member Functions | Protected Types | List of all members
alps::accumulators::base_wrapper< T > Class Template Referenceabstract

#include <weight.hpp>

Inheritance diagram for alps::accumulators::base_wrapper< T >:
Inheritance graph
Collaboration diagram for alps::accumulators::base_wrapper< T >:
Collaboration graph

Public Types

typedef detail::value_wrapper< T >::value_type value_type
 

Public Member Functions

virtual ~base_wrapper ()
 
virtual void operator() (value_type const &value)=0
 
virtual void save (hdf5::archive &ar) const =0
 
virtual void load (hdf5::archive &ar)=0
 
virtual void print (std::ostream &os, bool terse) const =0
 
virtual void reset ()=0
 
virtual void merge (const base_wrapper< T > &)=0
 merge accumulators (defined in the derived classes) More...
 
virtual base_wrapperclone () const =0
 
virtual base_wrapperresult () const =0
 
template<typename A >
A & extract ()
 
template<typename A >
A const & extract () const
 
virtual void operator+= (base_wrapper const &)=0
 
virtual void operator-= (base_wrapper const &)=0
 
virtual void operator*= (base_wrapper const &)=0
 
virtual void operator/= (base_wrapper const &)=0
 
virtual void operator+= (wrapped_scalar_value_type)=0
 
virtual void operator-= (wrapped_scalar_value_type)=0
 
virtual void operator*= (wrapped_scalar_value_type)=0
 
virtual void operator/= (wrapped_scalar_value_type)=0
 
virtual void operator+= (long double)=0
 
virtual void operator-= (long double)=0
 
virtual void operator*= (long double)=0
 
virtual void operator/= (long double)=0
 
virtual void negate ()=0
 
virtual void inverse ()=0
 
virtual void sin ()=0
 
virtual void cos ()=0
 
virtual void tan ()=0
 
virtual void sinh ()=0
 
virtual void cosh ()=0
 
virtual void tanh ()=0
 
virtual void asin ()=0
 
virtual void acos ()=0
 
virtual void atan ()=0
 
virtual void abs ()=0
 
virtual void sqrt ()=0
 
virtual void log ()=0
 
virtual void sq ()=0
 
virtual void cb ()=0
 
virtual void cbrt ()=0
 

Protected Types

typedef wrap_value_type< T >::type wrapped_scalar_value_type
 Either wrapped scalar<T>::type or unwrapped void*, depending on T. More...
 

Detailed Description

template<typename T>
class alps::accumulators::base_wrapper< T >

Definition at line 25 of file weight.hpp.

Member Typedef Documentation

template<typename T>
typedef detail::value_wrapper<T>::value_type alps::accumulators::base_wrapper< T >::value_type

Definition at line 49 of file wrappers.hpp.

template<typename T>
typedef wrap_value_type<T>::type alps::accumulators::base_wrapper< T >::wrapped_scalar_value_type
protected

Either wrapped scalar<T>::type or unwrapped void*, depending on T.

Definition at line 90 of file wrappers.hpp.

Constructor & Destructor Documentation

template<typename T>
virtual alps::accumulators::base_wrapper< T >::~base_wrapper ( )
inlinevirtual

Definition at line 51 of file wrappers.hpp.

Member Function Documentation

template<typename T>
virtual void alps::accumulators::base_wrapper< T >::abs ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::acos ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::asin ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::atan ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::cb ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::cbrt ( )
pure virtual
template<typename T>
virtual base_wrapper* alps::accumulators::base_wrapper< T >::clone ( ) const
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::cos ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::cosh ( )
pure virtual
template<typename T>
template<typename A >
A& alps::accumulators::base_wrapper< T >::extract ( )
inline

Definition at line 71 of file wrappers.hpp.

template<typename T>
template<typename A >
A const& alps::accumulators::base_wrapper< T >::extract ( ) const
inline

Definition at line 74 of file wrappers.hpp.

template<typename T>
virtual void alps::accumulators::base_wrapper< T >::inverse ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::load ( hdf5::archive ar)
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::log ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::merge ( const base_wrapper< T > &  )
pure virtual

merge accumulators (defined in the derived classes)

template<typename T>
virtual void alps::accumulators::base_wrapper< T >::negate ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator() ( value_type const &  value)
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator*= ( base_wrapper< T > const &  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator*= ( wrapped_scalar_value_type  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator*= ( long  double)
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator+= ( base_wrapper< T > const &  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator+= ( wrapped_scalar_value_type  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator+= ( long  double)
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator-= ( base_wrapper< T > const &  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator-= ( wrapped_scalar_value_type  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator-= ( long  double)
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator/= ( base_wrapper< T > const &  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator/= ( wrapped_scalar_value_type  )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::operator/= ( long  double)
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::print ( std::ostream &  os,
bool  terse 
) const
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::reset ( )
pure virtual
template<typename T>
virtual base_wrapper* alps::accumulators::base_wrapper< T >::result ( ) const
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::save ( hdf5::archive ar) const
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::sin ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::sinh ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::sq ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::sqrt ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::tan ( )
pure virtual
template<typename T>
virtual void alps::accumulators::base_wrapper< T >::tanh ( )
pure virtual

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