CMS 3D CMS Logo

L1GctTwosComplement.h File Reference

#include <boost/cstdint.hpp>
#include <ostream>

Go to the source code of this file.

Classes

class  L1GctTwosComplement< nBits >
 Definition of signed integer types with overflow. More...

Functions

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


Function Documentation

template<int nBits>
std::ostream & operator<< ( std::ostream &  s,
const L1GctTwosComplement< nBits > &  data 
) [inline]

Definition at line 241 of file L1GctTwosComplement.h.

References data, and s.

00241                                                                               {
00242 
00243   s << "L1GctTwosComplement raw : " << data.raw() << ", " << "value : " << data.value();
00244   if (data.overFlow()) { s << " Overflow set! "; }
00245 
00246   return s;
00247 
00248 }


Generated on Tue Jun 9 17:54:37 2009 for CMSSW by  doxygen 1.5.4