4 // Author: I. Hrivnacova
8 // The map container for integer numbers associated with names.
18 typedef G4std::map<G4String, G4int, G4std::less<G4String> > Map;
19 typedef Map:: iterator MapIterator;
20 typedef Map:: const_iterator MapConstIterator;
25 // TG4IntMap(const TG4IntMap& right);
29 G4bool Add(const G4String& first, G4int second);
30 G4int GetSecond(const G4String& name, G4bool warn = true);
31 void PrintAll() const;
35 TG4IntMap(const TG4IntMap& right);
38 TG4IntMap& operator=(const TG4IntMap& right);
41 G4bool IsDefined(const G4String& first);
44 Map fMap; //map container
47 #endif //TG4_NAME_MAP_H