NodeRecord Class Reference

#include <SimpleNodeEntry.h>

List of all members.

Public Member Functions

 NodeRecord (uint dim)
 ~NodeRecord ()
 NodeRecord (const NodeRecord &nodeRecord)
NodeRecordoperator= (const NodeRecord &nodeRecord)
void debugOutput (int dim)

Public Attributes

double * coords
IPvXAddress ip

Static Public Attributes

static uint dim


Constructor & Destructor Documentation

NodeRecord::NodeRecord ( uint  dim  ) 

00033 {
00034     this->dim = dim;
00035     coords = new double[dim];
00036 }

NodeRecord::~NodeRecord (  ) 

00039 {
00040     delete[] coords;
00041     coords = NULL;
00042 }

NodeRecord::NodeRecord ( const NodeRecord nodeRecord  ) 

00045 {
00046     std::cout << "copy ";
00047     
00048     coords = new double[dim];
00049     for (uint i = 0; i < dim; ++i)
00050         coords[i] = nodeRecord.coords[i]; 
00051 }


Member Function Documentation

NodeRecord & NodeRecord::operator= ( const NodeRecord nodeRecord  ) 

00054 {
00055     std::cout << "= ";
00056     
00057     delete[] coords;
00058     coords = new double[dim];
00059     for (uint i = 0; i < dim; ++i)
00060         coords[i] = nodeRecord.coords[i];
00061     
00062     return *this;
00063 }

void NodeRecord::debugOutput ( int  dim  ) 


Member Data Documentation

IPvXAddress NodeRecord::ip

uint NodeRecord::dim [static]


The documentation for this class was generated from the following files:

Generated on Fri Sep 19 13:05:07 2008 for ITM OverSim by  doxygen 1.5.5