CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtPatternLine.h
Go to the documentation of this file.
1 #ifndef GlobalTriggerAnalyzer_L1GtPatternLine_h
2 #define GlobalTriggerAnalyzer_L1GtPatternLine_h
3 
19 #include <string>
20 #include <map>
21 #include <boost/cstdint.hpp>
22 
29 {
30 public:
36  void push(const std::string& prefix, boost::uint32_t value);
37 
42  void set(const std::string& name, boost::uint32_t value);
43 
45  void print(std::ostream& out) const;
46 
51  bool has(const std::string& colname) const;
52 
54  std::string nextName(const std::string& prefix);
55 
57  std::string name(const std::string& prefix, unsigned int i) const;
58 
60  boost::uint32_t get(const std::string& name) const;
61 
62 private:
63  typedef std::map<std::string, boost::uint32_t> ColumnMap;
65 };
66 
67 
68 #endif /*GlobalTriggerAnalyzer_L1GtPatternLine_h*/
int i
Definition: DBlmapReader.cc:9
void print(std::ostream &out) const
std::string nextName(const std::string &prefix)
bool has(const std::string &colname) const
std::map< std::string, boost::uint32_t > ColumnMap
void set(const std::string &name, boost::uint32_t value)
tuple out
Definition: dbtoconf.py:99
void push(const std::string &prefix, boost::uint32_t value)
std::string name(const std::string &prefix, unsigned int i) const
ColumnMap m_columns