CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
19 //------------------------------------
20 // Collaborating Class Declarations --
21 //------------------------------------
22 
23 
24 //---------------
25 // C++ Headers --
26 //---------------
27 #include <string>
28 #include <vector>
29 
30 
31 // ---------------------
32 // -- Class Interface --
33 // ---------------------
34 
36 
37  public:
38 
41  DTKeyedConfig();
43 
46  virtual ~DTKeyedConfig();
47 
50  int getId() const;
52  void setId( int id );
53  void add( const std::string& data );
54  void add( int id );
55 
56  typedef std::vector<std::string>::const_iterator data_iterator;
57  typedef std::vector< int>::const_iterator link_iterator;
58  data_iterator dataBegin() const;
59  data_iterator dataEnd() const;
60  link_iterator linkBegin() const;
61  link_iterator linkEnd() const;
62 
63  private:
64 
65  int cfgId;
66  std::vector<std::string> dataList;
67  std::vector<int> linkList;
68 
69 };
70 
71 
72 #endif // DTKeyedConfig_H
73 
74 
75 
76 
77 
78 
virtual ~DTKeyedConfig()
void add(const std::string &data)
data_iterator dataBegin() const
link_iterator linkBegin() const
link_iterator linkEnd() const
std::vector< int >::const_iterator link_iterator
Definition: DTKeyedConfig.h:57
std::vector< int > linkList
Definition: DTKeyedConfig.h:67
std::vector< std::string > dataList
Definition: DTKeyedConfig.h:66
void setId(int id)
int getId() const
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
std::vector< std::string >::const_iterator data_iterator
Definition: DTKeyedConfig.h:56
data_iterator dataEnd() const