CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFBlockLink.cc
Go to the documentation of this file.
2 
3 #include <iomanip>
4 
5 using namespace std;
6 
7 std::ostream& operator<<(std::ostream& out,
8  const PFBlockLink& l) {
9  if(!out) return out;
10 
11  out<<setiosflags(ios::fixed);
12 
13  out<<"link : "
14  <<" 0x"<<std::hex<<l.type_<<std::dec<<"\t";
15 
16  out<<setiosflags(ios::right);
17  out<<setw(10)<<l.dist_
18  <<" "<<l.element1_<<" "<<l.element2_;
19 
20  out<<resetiosflags(ios::right|ios::fixed);
21 
22  return out;
23 }
ostream & operator<<(std::ostream &o, vector< std::string > const &iValue)
Definition: refresh.cc:45