Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4Accumulable< T > Class Template Reference

#include <G4Accumulable.hh>

Inheritance diagram for G4Accumulable< T >:
Collaboration diagram for G4Accumulable< T >:

Public Member Functions

 G4Accumulable (const G4String &name, T initValue, G4MergeMode mergeMode=G4MergeMode::kAddition)
 
 G4Accumulable (T initValue, G4MergeMode mergeMode=G4MergeMode::kAddition)
 
 G4Accumulable (const G4Accumulable &rhs)
 
 G4Accumulable ()=delete
 
virtual ~G4Accumulable ()
 
G4Accumulable< T > & operator= (const G4Accumulable< T > &rhs)
 
G4Accumulable< T > & operator+= (const G4Accumulable< T > &rhs)
 
G4Accumulable< T > & operator*= (const G4Accumulable< T > &rhs)
 
G4Accumulable< T > operator++ (int)
 
G4Accumulable< T > & operator++ ()
 
G4Accumulable< T > & operator= (const T &rhs)
 
G4Accumulable< T > & operator+= (const T &rhs)
 
G4Accumulable< T > & operator*= (const T &rhs)
 
virtual void Merge (const G4VAccumulable &other) final
 
virtual void Reset () final
 
GetValue () const
 
G4MergeMode GetMergeMode () const
 
- Public Member Functions inherited from G4VAccumulable
 G4VAccumulable (const G4String &name="")
 
 G4VAccumulable (const G4VAccumulable &rhs)
 
virtual ~G4VAccumulable ()
 
G4VAccumulableoperator= (const G4VAccumulable &rhs)
 
G4String GetName () const
 

Additional Inherited Members

- Protected Attributes inherited from G4VAccumulable
G4String fName
 

Detailed Description

template<typename T>
class G4Accumulable< T >

Definition at line 41 of file G4Accumulable.hh.

Constructor & Destructor Documentation

template<typename T>
G4Accumulable< T >::G4Accumulable ( const G4String name,
initValue,
G4MergeMode  mergeMode = G4MergeMode::kAddition 
)
template<typename T>
G4Accumulable< T >::G4Accumulable ( initValue,
G4MergeMode  mergeMode = G4MergeMode::kAddition 
)
template<typename T>
G4Accumulable< T >::G4Accumulable ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable< T >::G4Accumulable ( )
delete
template<typename T>
virtual G4Accumulable< T >::~G4Accumulable ( )
virtual

Member Function Documentation

template<typename T>
G4MergeMode G4Accumulable< T >::GetMergeMode ( ) const
template<typename T>
T G4Accumulable< T >::GetValue ( ) const
template<typename T>
virtual void G4Accumulable< T >::Merge ( const G4VAccumulable other)
finalvirtual

Implements G4VAccumulable.

template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator*= ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator*= ( const T &  rhs)
template<typename T>
G4Accumulable<T> G4Accumulable< T >::operator++ ( int  )
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator++ ( )
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator+= ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator+= ( const T &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator= ( const G4Accumulable< T > &  rhs)
template<typename T>
G4Accumulable<T>& G4Accumulable< T >::operator= ( const T &  rhs)
template<typename T>
virtual void G4Accumulable< T >::Reset ( )
finalvirtual

Implements G4VAccumulable.


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