Eaagles::Dafif::Runway Class Reference

Inherits Eaagles::Dafif::DafifRecord.

Inheritance diagram for Eaagles::Dafif::Runway:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Dafif::Runway:

Collaboration graph
[legend]
List of all members.

Public Types

enum  { RECORD_LENGTH = RUNWAY_RECORD_LEN }
enum  WhichEnd { LOW_END = 0, HIGH_END = 1 }

Public Member Functions

 Runway ()
 Runway (const char *const s)
double latitude (const WhichEnd whichEnd) const
double longitude (const WhichEnd whichEnd) const
float elevation (const WhichEnd whichEnd) const
float slope (const WhichEnd whichEnd) const
float magHeading (const WhichEnd whichEnd) const
void ident (char ident[], const WhichEnd whichEnd) const
int isIdent (const char id[], const WhichEnd whichEnd) const
int width () const
int length () const
void airportKey (char apKey[]) const
void getRunwayMagHeading (const double aclat, const double aclon, const double acelev, float *magHeading1, float *magHeading2, double *trueBearing1, double *trueBearing2) const
void printRunwayMagHeading (std::ostream &sout, const double aclat, const double aclon, const double acelev) const
WhichEnd whichEnd (const char rwEndId[]) const
virtual void printRecord (std::ostream &sout) const

Static Private Attributes

static const Ptbl ptable

Member Enumeration Documentation

anonymous enum

Enumerator:
RECORD_LENGTH 

enum Eaagles::Dafif::Runway::WhichEnd

Enumerator:
LOW_END 
HIGH_END 


Constructor & Destructor Documentation

Eaagles::Dafif::Runway::Runway (  ) 

Eaagles::Dafif::Runway::Runway ( const char *const  s  ) 


Member Function Documentation

double Eaagles::Dafif::Runway::latitude ( const WhichEnd  whichEnd  )  const [inline]

returns the value of the runway end latitude field

Return the values of the latitude, longitude, elevation, slope and magnetic heading fields for 'whichEnd' of the runway.

double Eaagles::Dafif::Runway::longitude ( const WhichEnd  whichEnd  )  const [inline]

returns the value of the runway end longitude field

float Eaagles::Dafif::Runway::elevation ( const WhichEnd  whichEnd  )  const [inline]

returns the value of the runway end elevation field

float Eaagles::Dafif::Runway::slope ( const WhichEnd  whichEnd  )  const [inline]

returns the value of the runway end slope field

float Eaagles::Dafif::Runway::magHeading ( const WhichEnd  whichEnd  )  const [inline]

returns the value of the runway end mag heading field

void Eaagles::Dafif::Runway::ident ( char  ident[],
const WhichEnd  whichEnd 
) const [inline]

returns the runway identifier field

int Eaagles::Dafif::Runway::isIdent ( const char  id[],
const WhichEnd  whichEnd 
) const [inline]

returns true if id runway the identifier field

int Eaagles::Dafif::Runway::width (  )  const [inline]

returns the value of the runway width field

int Eaagles::Dafif::Runway::length (  )  const [inline]

returns the value of the runway length field

void Eaagles::Dafif::Runway::airportKey ( char  apKey[]  )  const [inline]

returns the value of the airport identifier

void Eaagles::Dafif::Runway::getRunwayMagHeading ( const double  aclat,
const double  aclon,
const double  acelev,
float *  magHeading1,
float *  magHeading2,
double *  trueBearing1,
double *  trueBearing2 
) const

void Eaagles::Dafif::Runway::printRunwayMagHeading ( std::ostream &  sout,
const double  aclat,
const double  aclon,
const double  acelev 
) const

Runway::WhichEnd Eaagles::Dafif::Runway::whichEnd ( const char  rwEndId[]  )  const [inline]

which end of the runway are we approaching?

void Eaagles::Dafif::Runway::printRecord ( std::ostream &  sout  )  const [virtual]

DafifRecord Interface.

Reimplemented from Eaagles::Dafif::DafifRecord.


Member Data Documentation

const Runway::Ptbl Eaagles::Dafif::Runway::ptable [static, private]


Generated on Tue Dec 19 16:26:54 2006 for Eaagles by  doxygen 1.5.0