CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
DTEnums.h File Reference
#include <ostream>

Go to the source code of this file.

Namespaces

 DTEnums
 

Functions

std::ostream & operator<< (std::ostream &s, DTEnums::DTCellSide p)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
DTEnums::DTCellSide  p 
)

Definition at line 12 of file DTEnums.cc.

References DTEnums::Left, DTEnums::Right, alignCSCRings::s, and DTEnums::undefLR.

12  {
13  switch(p) {
14  case DTEnums::undefLR:
15  return s << "undefined";
16  case DTEnums::Right:
17  return s << "Right";
18  case DTEnums::Left:
19  return s << "Left";
20  }
21  return s;
22 }