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
link_iterator linkBegin() const
data_iterator dataBegin() const
void add(const std::string &data)
link_iterator linkEnd() const
~DTKeyedConfig() override
data_iterator dataEnd() const
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:39
void setId(int id)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
std::vector< std::string >::const_iterator data_iterator
Definition: DTKeyedConfig.h:54
int getId() const