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::EMPv1:
14  os << "EMPv1";
15  break;
16  case FileFormat::EMPv2:
17  os << "EMPv2";
18  break;
19  case FileFormat::X2O:
20  os << "X2O";
21  }
22  return os;
23  }
24 
25 } // namespace l1t::demo
std::ostream & operator<<(std::ostream &, FileFormat)
Definition: FileFormat.cc:8