CMS 3D CMS Logo

DTKeyedConfig.h
Go to the documentation of this file.
1 #ifndef DTKeyedConfig_H
2 #define DTKeyedConfig_H
3 
14 //----------------------
15 // Base Class Headers --
16 //----------------------
18 
20 
21 //------------------------------------
22 // Collaborating Class Declarations --
23 //------------------------------------
24 
25 //---------------
26 // C++ Headers --
27 //---------------
28 #include <string>
29 #include <vector>
30 
31 // ---------------------
32 // -- Class Interface --
33 // ---------------------
34 
36 public:
39  DTKeyedConfig();
41 
44  ~DTKeyedConfig() override;
45 
48  int getId() const;
50  void setId(int id);
51  void add(const std::string& data);
52  void add(int id);
53 
54  typedef std::vector<std::string>::const_iterator data_iterator;
55  typedef std::vector<int>::const_iterator link_iterator;
56  data_iterator dataBegin() const;
57  data_iterator dataEnd() const;
58  link_iterator linkBegin() const;
59  link_iterator linkEnd() const;
60 
61 private:
62  int cfgId;
63  std::vector<std::string> dataList;
64  std::vector<int> linkList;
65 
67 };
68 
69 #endif // DTKeyedConfig_H
DTKeyedConfig::linkBegin
link_iterator linkBegin() const
Definition: DTKeyedConfig.cc:65
DTKeyedConfig::data_iterator
std::vector< std::string >::const_iterator data_iterator
Definition: DTKeyedConfig.h:54
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
BaseKeyed.h
DTKeyedConfig::add
void add(const std::string &data)
Definition: DTKeyedConfig.cc:57
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
DTKeyedConfig::setId
void setId(int id)
Definition: DTKeyedConfig.cc:55
DTKeyedConfig::dataList
std::vector< std::string > dataList
Definition: DTKeyedConfig.h:63
DTKeyedConfig::getId
int getId() const
Definition: DTKeyedConfig.cc:53
DTKeyedConfig::linkEnd
link_iterator linkEnd() const
Definition: DTKeyedConfig.cc:67
DTKeyedConfig::cfgId
int cfgId
Definition: DTKeyedConfig.h:62
Serializable.h
DTKeyedConfig::DTKeyedConfig
DTKeyedConfig()
Definition: DTKeyedConfig.cc:31
DTKeyedConfig
Definition: DTKeyedConfig.h:35
DTKeyedConfig::linkList
std::vector< int > linkList
Definition: DTKeyedConfig.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
DTKeyedConfig::dataBegin
data_iterator dataBegin() const
Definition: DTKeyedConfig.cc:61
DTKeyedConfig::~DTKeyedConfig
~DTKeyedConfig() override
Definition: DTKeyedConfig.cc:48
DTKeyedConfig::dataEnd
data_iterator dataEnd() const
Definition: DTKeyedConfig.cc:63
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
DTKeyedConfig::link_iterator
std::vector< int >::const_iterator link_iterator
Definition: DTKeyedConfig.h:55
cond::BaseKeyed
Definition: BaseKeyed.h:14