CMS 3D CMS Logo

FileFormat.cc
Go to the documentation of this file.
1 
3 
4 #include <ostream>
5 
6 namespace l1t::demo {
7 
8  std::ostream& operator<<(std::ostream& os, FileFormat format) {
9  switch (format) {
10  case FileFormat::APx:
11  os << "APx";
12  break;
13  case FileFormat::EMP:
14  os << "EMP";
15  break;
16  case FileFormat::X20:
17  os << "X20";
18  }
19  return os;
20  }
21 
22 } // namespace l1t::demo
std::ostream & operator<<(std::ostream &, FileFormat)
Definition: FileFormat.cc:8