LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
OutputFileStatus.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_OutputFileStatus_h
2 #define art_Framework_Core_OutputFileStatus_h
3 
5 #include <ostream>
6 
7 namespace art {
9 
10  inline std::ostream&
11  operator<<(std::ostream& os, OutputFileStatus const ofs)
12  {
13  switch (ofs) {
15  return os << "Open";
17  return os << "Switching";
19  return os << "Closed";
20  default:
22  "Unknown output file status."};
23  }
24  }
25 }
26 
27 #endif /* art_Framework_Core_OutputFileStatus_h */
28 
29 // Local variables:
30 // mode: c++
31 // End:
std::ostream & operator<<(std::ostream &os, EDAnalyzer::Table< T > const &t)
Definition: EDAnalyzer.h:184
OutputFileStatus
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
Definition: Exception.h:66
HLT enums.