PeerInfo.cc File Reference


Detailed Description

Author:
Helge Backhaus

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 Fri Sep 19 13:05:05 2008 for ITM OverSim by  doxygen 1.5.5