PeerInfo.cc File Reference


Detailed Description

Author:
Helge Backhaus

Author:
Stephan Krause

#include "PeerInfo.h"

Functions

std::ostream & operator<< (std::ostream &Stream, const PeerInfo info)


Function Documentation

std::ostream& operator<< ( std::ostream &  Stream,
const PeerInfo  info 
)

Parameters:
Stream the ostream
info the PeerInfo
Returns:
the output stream
00039 {
00040     Stream  << "ModuleId: " << info.moduleId << "Bootstrapped: ";
00041     if(info.bootstrapped) {
00042         return Stream << "true";
00043     }
00044     else {
00045         return Stream << "false";
00046     }
00047 }


Generated on Thu Apr 17 13:19:27 2008 for ITM OverSim by  doxygen 1.5.3