CMS 3D CMS Logo

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;
64  ColumnMap m_columns;
65 };
66 
67 
68 #endif /*GlobalTriggerAnalyzer_L1GtPatternLine_h*/
void print(std::ostream &out) const
std::string nextName(const std::string &prefix)
bool has(const std::string &colname) const
Definition: value.py:1
std::map< std::string, boost::uint32_t > ColumnMap
void push(const std::string &prefix, boost::uint32_t value)
std::string name(const std::string &prefix, unsigned int i) const
ColumnMap m_columns