CMS 3D CMS Logo

Classes | Functions
L1GctUnsignedInt.h File Reference
#include <boost/cstdint.hpp>
#include <ostream>

Go to the source code of this file.

Classes

class  L1GctUnsignedInt< nBits >
 Definition of unsigned integer types with overflow. More...
 

Functions

template<int nBits>
std::ostream & operator<< (std::ostream &s, const L1GctUnsignedInt< nBits > &data)
 

Function Documentation

template<int nBits>
std::ostream & operator<< ( std::ostream &  s,
const L1GctUnsignedInt< nBits > &  data 
)

Definition at line 166 of file L1GctUnsignedInt.h.

References data, and alignCSCRings::s.

166  {
167 
168  s << "L1GctUnsignedInt value : " << data.value();
169  if (data.overFlow()) { s << " Overflow set! "; }
170 
171  return s;
172 
173 }
unsigned value() const
access value as unsigned
bool overFlow() const
access overflow