CMS 3D CMS Logo

ESInputTag.h
Go to the documentation of this file.
1 #ifndef FWCore_Utilities_ESInputTag_h
2 #define FWCore_Utilities_ESInputTag_h
3 // -*- C++ -*-
4 //
5 // Package: Utilities
6 // Class : ESInputTag
7 //
74 //
75 // Original Author: Chris Jones
76 // Created: Thu Feb 19 13:01:38 CST 2009
77 //
78 
79 // system include files
80 #include <iosfwd>
81 #include <string>
82 
83 // user include files
84 
85 // forward declarations
86 namespace edm {
87  class ESInputTag {
88  public:
89  explicit ESInputTag();
90  explicit ESInputTag(const std::string& iModuleLabel, const std::string& iDataLabel);
91  explicit ESInputTag(const std::string& iEncodedValue);
92 
93  // ---------- const member functions ---------------------
94 
99  const std::string& module() const { return module_; }
100 
104  const std::string& data() const { return data_; }
105 
106  bool operator==(const edm::ESInputTag& iRHS) const;
107 
108  std::string encode() const;
109 
110  private:
111  // ---------- member data --------------------------------
114  };
115 
116  std::ostream& operator<<(std::ostream&, ESInputTag const&);
117 } // namespace edm
118 
119 #endif
std::string data_
Definition: ESInputTag.h:113
const std::string & data() const
Definition: ESInputTag.h:104
std::string encode() const
Definition: ESInputTag.cc:50
std::string module_
Definition: ESInputTag.h:112
HLT enums.
const std::string & module() const
Definition: ESInputTag.h:99
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
bool operator==(const edm::ESInputTag &iRHS) const
Definition: ESInputTag.cc:46