#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) |
Definition in file PeerInfo.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const PeerInfo | info | |||
) |
os | the ostream | |
info | the PeerInfo |
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 }