CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTriggerKey.h
Go to the documentation of this file.
1 #ifndef HCALConfigDBTools_XMLTools_HcalTriggerKey_h
2 #define HCALConfigDBTools_XMLTools_HcalTriggerKey_h
3 // -*- C++ -*-
4 //
5 // Package: XMLTools
6 // Class : HcalTriggerKey
7 //
16 //
17 // Original Author: Gena Kukartsev, kukarzev@fnal.gov
18 // Created: Tue Nov 06 14:30:33 CDT 2007
19 // $Id: HcalTriggerKey.h,v 1.4 2010/08/06 20:24:09 wmtan Exp $
20 //
21 
22 #include <map>
23 
26 
28 {
29 
30  public:
31 
33  virtual ~HcalTriggerKey();
34 
35  int init(void);
36  int add_data( std::string id, std::string type, std::string value);
37  // fills the XML document with the key. Returns number of configs in the key
38  int fill_key( std::string key_id, std::map<std::string, std::string> & key);
39  int compose_key_dialogue( void );
40 
41  protected:
42 
43  MemBufInputSource * _root; // a container for the XML template;
44  MemBufInputSource * _data; // a container for the XML template;
45 
46  private:
47  HcalTriggerKey(const HcalTriggerKey&); // stop default
48  const HcalTriggerKey& operator=(const HcalTriggerKey&); // stop default
49 
50 
51 };
52 
53 #endif
type
Definition: HCALResponse.h:22
const HcalTriggerKey & operator=(const HcalTriggerKey &)
int fill_key(std::string key_id, std::map< std::string, std::string > &key)
list key
Definition: combine.py:13
MemBufInputSource * _data
int add_data(std::string id, std::string type, std::string value)
virtual ~HcalTriggerKey()
MemBufInputSource * _root
int compose_key_dialogue(void)