Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4Accumulable.hh>
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 |
T | GetValue () const |
G4MergeMode | GetMergeMode () const |
Public Member Functions inherited from G4VAccumulable | |
G4VAccumulable (const G4String &name="") | |
G4VAccumulable (const G4VAccumulable &rhs) | |
virtual | ~G4VAccumulable () |
G4VAccumulable & | operator= (const G4VAccumulable &rhs) |
virtual void | Merge (const G4VAccumulable &other)=0 |
virtual void | Reset ()=0 |
G4String | GetName () const |
Additional Inherited Members | |
Protected Attributes inherited from G4VAccumulable | |
G4String | fName |
Definition at line 40 of file G4Accumulable.hh.
G4Accumulable< T >::G4Accumulable | ( | const G4String & | name, |
T | initValue, | ||
G4MergeMode | mergeMode = G4MergeMode::kAddition |
||
) |
G4Accumulable< T >::G4Accumulable | ( | T | initValue, |
G4MergeMode | mergeMode = G4MergeMode::kAddition |
||
) |
G4Accumulable< T >::G4Accumulable | ( | const G4Accumulable< T > & | rhs | ) |
|
delete |
|
virtual |
G4MergeMode G4Accumulable< T >::GetMergeMode | ( | ) | const |
T G4Accumulable< T >::GetValue | ( | ) | const |
|
finalvirtual |
Implements G4VAccumulable.
G4Accumulable< T > & G4Accumulable< T >::operator*= | ( | const G4Accumulable< T > & | rhs | ) |
G4Accumulable< T > & G4Accumulable< T >::operator*= | ( | const T & | rhs | ) |
G4Accumulable< T > & G4Accumulable< T >::operator++ | ( | ) |
G4Accumulable< T > G4Accumulable< T >::operator++ | ( | int | ) |
G4Accumulable< T > & G4Accumulable< T >::operator+= | ( | const G4Accumulable< T > & | rhs | ) |
G4Accumulable< T > & G4Accumulable< T >::operator+= | ( | const T & | rhs | ) |
G4Accumulable< T > & G4Accumulable< T >::operator= | ( | const G4Accumulable< T > & | rhs | ) |
G4Accumulable< T > & G4Accumulable< T >::operator= | ( | const T & | rhs | ) |
|
finalvirtual |
Implements G4VAccumulable.