VastDefs.cc File Reference

#include "VastDefs.h"
#include <NodeHandle.h>
#include <Vector2D.h>
#include <math.h>
#include <map>
#include <set>
#include <list>
#include <vector>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &Stream, const Site s)

Detailed Description

Author:
Helge Backhaus

Definition in file VastDefs.cc.


Function Documentation

std::ostream& operator<< ( std::ostream &  Stream,
const Site  s 
)

Definition at line 39 of file VastDefs.cc.

00040 {
00041     Stream  << "Type: ";
00042     if(s.type & UNDEF) Stream << "Undefined ";
00043     if(s.type & THIS) Stream << "This ";
00044     if(s.type & ENCLOSING) Stream << "Enclosing ";
00045     if(s.type & NEIGHBOR) Stream << "Inner ";
00046     if(s.type & BOUNDARY) Stream << "Boundary ";
00047     if(s.type & NEW) Stream << "Discovered ";
00048     return Stream << "  IP: " << s.addr.getAddress();
00049 }

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