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 
21 #include <string>
22 #include <map>
23 #include <boost/cstdint.hpp>
24 
31 {
32 public:
38  void push(const std::string& prefix, boost::uint32_t value);
39 
44  void set(const std::string& name, boost::uint32_t value);
45 
47  void print(std::ostream& out) const;
48 
53  bool has(const std::string& colname) const;
54 
56  std::string nextName(const std::string& prefix);
57 
59  std::string name(const std::string& prefix, unsigned int i) const;
60 
62  boost::uint32_t get(const std::string& name) const;
63 
64 private:
65  typedef std::map<std::string, boost::uint32_t> ColumnMap;
67 };
68 
69 
70 #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