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
void add(const std::string &data)
data_iterator dataBegin() const
link_iterator linkBegin() const
link_iterator linkEnd() const
~DTKeyedConfig() override
std::vector< int > linkList
Definition: DTKeyedConfig.h:64
std::vector< std::string > dataList
Definition: DTKeyedConfig.h:63
std::vector< int >::const_iterator link_iterator
Definition: DTKeyedConfig.h:55
#define COND_SERIALIZABLE
Definition: Serializable.h:38
void setId(int id)
int getId() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
std::vector< std::string >::const_iterator data_iterator
Definition: DTKeyedConfig.h:54
data_iterator dataEnd() const