Eaagles::Dafif::Airport Class Reference

Inherits Eaagles::Dafif::DafifRecord.

Inheritance diagram for Eaagles::Dafif::Airport:

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

Collaboration graph
[legend]
List of all members.

Public Types

enum  { RECORD_LENGTH = AIRPORT_RECORD_LEN }
enum  AirportType {
  INVALID = -1, ANY = 'Z', CIVIL = 'A', JOINT = 'B',
  MILITARY = 'C', INACTIVE = 'D'
}

Public Member Functions

 Airport ()
 Airport (const char *const s)
virtual AirportType airportType () const
virtual int isAirportType (const AirportType type) const
virtual void ident (char id[]) const
virtual void printRecord (std::ostream &sout) const

Static Private Attributes

static const Ptbl ptable

Member Enumeration Documentation

anonymous enum

Length of a DAFIF Airport record.

Enumerator:
RECORD_LENGTH 

enum Eaagles::Dafif::Airport::AirportType

Enumerator:
INVALID 
ANY 
CIVIL 
JOINT 
MILITARY 
INACTIVE 


Constructor & Destructor Documentation

Eaagles::Dafif::Airport::Airport (  ) 

Returns the airport type.

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


Member Function Documentation

Airport::AirportType Eaagles::Dafif::Airport::airportType (  )  const [virtual]

int Eaagles::Dafif::Airport::isAirportType ( const AirportType  type  )  const [virtual]

Returns true if 'type' is equal to the airport type.

void Eaagles::Dafif::Airport::ident ( char  id[]  )  const [virtual]

Returns the value of the airports's host country identifier in 'id'. When no host country identifier exists, the airport identifier key is used. Therefore, the size of 'id' must be one more than the longer of AP_IDENT_LEN and AP_KEY_LEN.

Reimplemented from Eaagles::Dafif::DafifRecord.

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

DafifRecord Interface.

Reimplemented from Eaagles::Dafif::DafifRecord.


Member Data Documentation

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


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