ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
|  Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

DEMFile Class Reference

#include <dem.h>

List of all members.

Public Member Functions

 DEMFile (char *s)
 ~DEMFile ()
int * process (void)
void dump_ARecord (void)
void dump_BRecord (void)
void dump_grid (void)
void range (double &x, double &y)
void resolution (double &r)

Private Member Functions

int open (void)
int read_int (void)
float read_float (void)
void read_field (void)

Private Attributes

char * fname
FILE * demfile
ARecord a
BRecord b
int * grid
char tempbuf [1024]


Constructor & Destructor Documentation

DEMFile::DEMFile (  char *    s )  [inline]
 

DEMFile::~DEMFile (    )  [inline]
 


Member Function Documentation

void DEMFile::dump_ARecord (  void    ) 
 

void DEMFile::dump_BRecord (  void    ) 
 

void DEMFile::dump_grid (  void    ) 
 

int DEMFile::open (  void    )  [private]
 

int * DEMFile::process (  void    ) 
 

void DEMFile::range (  double &    x,
double &    y
) 
 

void DEMFile::read_field (  void    )  [private]
 

float DEMFile::read_float (  void    )  [private]
 

int DEMFile::read_int (  void    )  [private]
 

void DEMFile::resolution (  double &    r ) 
 


Member Data Documentation

struct ARecord DEMFile::a [private]
 

struct BRecord DEMFile::b [private]
 

FILE* DEMFile::demfile [private]
 

char* DEMFile::fname [private]
 

int* DEMFile::grid [private]
 

char DEMFile::tempbuf[1024] [private]
 


The documentation for this class was generated from the following files:
This document is generated by doxygen.