OverSim
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
osthe ostream
infothe PeerInfo
Returns
the output stream

Definition at line 39 of file PeerInfo.cc.

{
os << "ModuleId: " << info.moduleId;
os << " TypeID: " << info.type;
if (info.npsLayer >= 0) os << " NPS Layer: " << info.npsLayer;
return os;
}