Site Struct Reference

#include <VastDefs.h>

List of all members.

Public Member Functions

 Site ()

Public Attributes

Point coord
unsigned char type
bool innerEdge [3]
bool outerEdge
bool isAdded
NodeHandle addr
double tstamp

Friends

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


Constructor & Destructor Documentation

Site::Site (  ) 

00044 {
00045     type = UNDEF;
00046     innerEdge[0] = false;
00047     innerEdge[1] = false;
00048     innerEdge[2] = false;
00049     outerEdge = false;
00050     isAdded = false;
00051     addr = NodeHandle::UNSPECIFIED_NODE;
00052     tstamp = 0.0;
00053 }


Friends And Related Function Documentation

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

00056 {
00057     Stream  << "Type: ";
00058     if(s.type & UNDEF) Stream << "Undefined ";
00059     if(s.type & THIS) Stream << "This ";
00060     if(s.type & ENCLOSING) Stream << "Enclosing ";
00061     if(s.type & NEIGHBOR) Stream << "Inner ";
00062     if(s.type & BOUNDARY) Stream << "Boundary ";
00063     if(s.type & NEW) Stream << "Discovered ";
00064     return Stream << "  IP: " << s.addr.ip;
00065 }


Member Data Documentation

Point Site::coord

unsigned char Site::type

bool Site::innerEdge[3]

bool Site::outerEdge

bool Site::isAdded

NodeHandle Site::addr

double Site::tstamp


The documentation for this struct was generated from the following files:
Generated on Tue Jul 24 16:51:19 2007 for ITM OverSim by  doxygen 1.5.1