LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
OutputFileInfo.h
Go to the documentation of this file.
1 #ifndef art_Utilities_OutputFileInfo_h
2 #define art_Utilities_OutputFileInfo_h
3 
4 #include <string>
5 
6 namespace art {
7  class OutputFileInfo;
8 }
9 
11 public:
12  OutputFileInfo(std::string const& moduleLabel, std::string const& fileName);
13  std::string const& moduleLabel() const;
14  std::string const& fileName() const;
15 
16 private:
17  std::string const& moduleLabel_;
18  std::string const& fileName_;
19 };
20 
22  std::string const& fileName)
23  : moduleLabel_(moduleLabel), fileName_(fileName)
24 {}
25 
26 inline std::string const&
28 {
29  return moduleLabel_;
30 }
31 
32 inline std::string const&
34 {
35  return fileName_;
36 }
37 
38 #endif /* art_Utilities_OutputFileInfo_h */
39 
40 // Local Variables:
41 // mode: c++
42 // End:
std::string const & moduleLabel() const
std::string const & fileName() const
std::string const & moduleLabel_
OutputFileInfo(std::string const &moduleLabel, std::string const &fileName)
Definition: MVAAlg.h:12
std::string const & fileName_