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 10 of file DTEnums.cc.

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

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