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

GeoLocation Class Reference

#include <geo-tools.hh>

Collaboration diagram for GeoLocation:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void operator= (GeoLocation loc)
void output ()

Public Attributes

double longitude_
double latitude_

Member Function Documentation

void GeoLocation::operator= GeoLocation  loc  )  [inline]
 

Definition at line 54 of file geo-tools.hh.

References latitude_, and longitude_.

00055   {
00056     longitude_ = loc.longitude_;
00057     latitude_ = loc.latitude_;
00058   }

void GeoLocation::output  )  [inline]
 

Definition at line 59 of file geo-tools.hh.

References DEBUG_IMPORTANT, DiffPrint(), latitude_, and longitude_.

Referenced by Region::output().

00060   {
00061     DiffPrint(DEBUG_IMPORTANT, "(%f, %f)", longitude_, latitude_ );
00062   }

Here is the call graph for this function:


Member Data Documentation

double GeoLocation::latitude_
 

Definition at line 65 of file geo-tools.hh.

Referenced by GeoRoutingFilter::broadcastHeuristicValue(), GeoRoutingFilter::estimateCost(), GeoRoutingFilter::findNextHop(), GeoRoutingFilter::floodInsideRegion(), IsSameLocation(), operator=(), output(), GeoRoutingFilter::preProcessFilter(), GeoRoutingFilter::preProcessMessage(), GeoRoutingFilter::restoreGeoHeader(), and GeoRoutingFilter::stripOutHeader().

double GeoLocation::longitude_
 

Definition at line 64 of file geo-tools.hh.

Referenced by GeoRoutingFilter::broadcastHeuristicValue(), GeoRoutingFilter::estimateCost(), GeoRoutingFilter::findNextHop(), GeoRoutingFilter::floodInsideRegion(), IsSameLocation(), operator=(), output(), GeoRoutingFilter::preProcessFilter(), GeoRoutingFilter::preProcessMessage(), GeoRoutingFilter::restoreGeoHeader(), and GeoRoutingFilter::stripOutHeader().


The documentation for this class was generated from the following file:
Generated on Tue Apr 20 12:49:22 2004 for NS2.26SourcesOriginal by doxygen 1.3.3