PeerInfo.cc File Reference

#include "PeerInfo.h"
#include <sstream>
#include <omnetpp.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 40 of file PeerInfo.cc.

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

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3