TransportAddress.cc File Reference


Detailed Description

Author:
Markus Mauch

Sebastian Mies

Definition in file TransportAddress.cc.

#include <omnetpp.h>
#include "TransportAddress.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const TransportAddress &n)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const TransportAddress &  n 
)

Parameters:
os the ostream
n the TransportAddress
Returns:
the output stream

Definition at line 33 of file TransportAddress.cc.

00034 {
00035     if (n.isUnspecified()) {
00036         os << "<unspec>";
00037     } else {
00038         os << n.ip << ":" << n.port;
00039     }
00040 
00041     return os;
00042 };


Generated on Wed Mar 25 16:32:51 2009 for OverSim by  doxygen 1.5.5