32 #ifndef G4AccumulableManager_h
33 #define G4AccumulableManager_h 1
92 std::vector<G4VAccumulable*>::iterator
Begin();
93 std::vector<G4VAccumulable*>::iterator
End();
94 std::vector<G4VAccumulable*>::const_iterator
BeginConst()
const;
95 std::vector<G4VAccumulable*>::const_iterator
EndConst()
const;
111 template <
typename T>
115 const G4String kBaseName =
"accumulable";
122 std::vector<G4VAccumulable*> fVector;
123 std::map<G4String, G4VAccumulable*> fMap;
124 std::vector<G4VAccumulable*> fAccumulablesToDelete;
127 #include "G4AccumulableManager.icc"
G4Accumulable< T > * GetAccumulable(const G4String &name, G4bool warn=true) const
std::vector< G4VAccumulable * >::const_iterator EndConst() const
std::vector< G4VAccumulable * >::iterator Begin()
static G4AccumulableManager * Instance()
G4int GetNofAccumulables() const
G4bool RegisterAccumulable(G4Accumulable< T > &accumulable)
const XML_Char int const XML_Char * value
virtual ~G4AccumulableManager()
std::vector< G4VAccumulable * >::iterator End()
G4Accumulable< T > * CreateAccumulable(const G4String &name, T value, G4MergeMode mergeMode=G4MergeMode::kAddition)
std::vector< G4VAccumulable * >::const_iterator BeginConst() const