#include <QuonHelper.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &Stream, const QuonAOI &aoi) |
std::ostream & | operator<< (std::ostream &Stream, const QuonSite &s) |
Definition in file QuonHelper.cc.
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const QuonSite & | s | |||
) |
Definition at line 73 of file QuonHelper.cc.
00074 { 00075 Stream << s.address.getAddress() << ":" << s.address.getPort() << " Type: "; 00076 switch(s.type) { 00077 case QUNDEFINED: 00078 if( s.softNeighbor) { 00079 Stream << "\"Softstate Neighbor\""; 00080 } else { 00081 Stream << "\"Undefined\""; 00082 } 00083 break; 00084 case QTHIS: 00085 Stream << "\"Self\""; 00086 break; 00087 case QNEIGHBOR: 00088 Stream << "\"Direct Neighbor\""; 00089 break; 00090 case QBINDING: 00091 Stream << "\"Binding Neighbor\""; 00092 break; 00093 break; 00094 } 00095 Stream << " Position: " << s.position; 00096 return Stream; 00097 }
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const QuonAOI & | aoi | |||
) |
Definition at line 58 of file QuonHelper.cc.