StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
EvtSymTable.hh
1 //--------------------------------------------------------------------------
2 //
3 // Environment:
4 // This software is part of the EvtGen package developed jointly
5 // for the BaBar and CLEO collaborations. If you use all or part
6 // of it, please give an appropriate acknowledgement.
7 //
8 // Copyright Information: See EvtGen/COPYRIGHT
9 // Copyright (C) 1998 Caltech, UCSB
10 //
11 // Module: EvtGen/EvtSymTable.hh
12 //
13 // Description: Class to hold the symbols that are defined
14 // in the DECAY files.
15 //
16 // Modification history:
17 //
18 // RYD May 8, 1998 Module created
19 //
20 //------------------------------------------------------------------------
21 
22 #ifndef EVTSYMTABLE_HH
23 #define EVTSYMTABLE_HH
24 
25 #include <string>
26 #include <map>
27 
28 class EvtSymTable {
29 
30 public:
31 
32  EvtSymTable();
33  ~EvtSymTable();
34 
35  static void define(const std::string& name,std::string d);
36 
37  static std::string get(const std::string& name,int &ierr);
38 
39 private:
40 
41  static std::map<std::string,std::string> _symMap;
42 
43 };
44 
45 #endif
46 
47 
48 
49 
50 
51