CMS 3D CMS Logo

TRange.h File Reference

#include <iostream>
#include <utility>
#include <algorithm>

Go to the source code of this file.

Classes

class  TRange< T >
 Define a range [aMin,aMax]. More...

Functions

template<class T>
std::ostream & operator<< (std::ostream &out, const TRange< T > &r)


Function Documentation

template<class T>
std::ostream& operator<< ( std::ostream &  out,
const TRange< T > &  r 
) [inline]

Definition at line 63 of file TRange.h.

References TRange< T >::max(), and TRange< T >::min().

00065 {
00066   return out << "("<<r.min()<<","<<r.max()<<")";
00067 }


Generated on Tue Jun 9 17:51:15 2009 for CMSSW by  doxygen 1.5.4