CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 AlCaHLTBitMon_QueryRunRegistry::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