PeerInfo.cc File Reference

#include "PeerInfo.h"

Go to the source code of this file.

Functions

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


Detailed Description

Author:
Helge Backhaus

Stephan Krause

Definition in file PeerInfo.cc.


Function Documentation

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

Parameters:
os the ostream
info the PeerInfo
Returns:
the output stream

Definition at line 39 of file PeerInfo.cc.

00040 {
00041     os  << "ModuleId: " << info.moduleId << "Bootstrapped: "
00042         << (info.bootstrapped ? "true" : "false");
00043 
00044     if (info.npsLayer >= 0) os << "; NPS Layer: " << info.npsLayer;
00045     return os;
00046 }


Generated on Tue Sep 8 17:26:55 2009 for OverSim by  doxygen 1.5.8