test
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 
20 
21 //------------------------------------
22 // Collaborating Class Declarations --
23 //------------------------------------
24 
25 
26 //---------------
27 // C++ Headers --
28 //---------------
29 #include <string>
30 #include <vector>
31 
32 
33 // ---------------------
34 // -- Class Interface --
35 // ---------------------
36 
38 
39  public:
40 
43  DTKeyedConfig();
45 
48  virtual ~DTKeyedConfig();
49 
52  int getId() const;
54  void setId( int id );
55  void add( const std::string& data );
56  void add( int id );
57 
58  typedef std::vector<std::string>::const_iterator data_iterator;
59  typedef std::vector< int>::const_iterator link_iterator;
60  data_iterator dataBegin() const;
61  data_iterator dataEnd() const;
62  link_iterator linkBegin() const;
63  link_iterator linkEnd() const;
64 
65  private:
66 
67  int cfgId;
68  std::vector<std::string> dataList;
69  std::vector<int> linkList;
70 
71 
73 };
74 
75 
76 #endif // DTKeyedConfig_H
77 
78 
79 
80 
81 
82 
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:59
std::vector< int > linkList
Definition: DTKeyedConfig.h:69
std::vector< std::string > dataList
Definition: DTKeyedConfig.h:68
#define COND_SERIALIZABLE
Definition: Serializable.h:37
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:58
data_iterator dataEnd() const