Ejemplo n.º 1
0
// isIdent: returns true if id runway the identifier field
inline int Runway::isIdent(const char id[], const WhichEnd whichEnd) const
{
   if (whichEnd == LOW_END)
      return dsIsString( makePointer(RW_LE_IDENT_POS), id );
   else
      return dsIsString( makePointer(RW_HE_IDENT_POS), id );
}
Ejemplo n.º 2
0
// isCycleDate: returns true if date matches the Cycle Date field
bool Record::isCycleDate(const char date[]) const
{
   return dsIsString( makePointer(CYCLE_DATE_POS), date );
}
Ejemplo n.º 3
0
// isCountryCode: returns true if country matches the country code field
bool Record::isCountryCode(const char country[]) const
{
   return dsIsString( makePointer(ptbl->countryCode), country );
}
Ejemplo n.º 4
0
// isWac: returns true if code matches the World Area Code field
bool Record::isWac(const char code[]) const
{
   return dsIsString( makePointer(ptbl->wac), code );
}
Ejemplo n.º 5
0
// isDafifType: returns true if name matches the DAFIF Type field
bool Record::isDafifType(const char type[]) const
{
   return dsIsString( makePointer(ptbl->type), type );
}
Ejemplo n.º 6
0
// isName: returns true if name matches the name field
bool Record::isName(const char name[]) const
{
   return dsIsString( makePointer(ptbl->name), name );
}
Ejemplo n.º 7
0
// isIdent: returns true if id matches the identifier field
bool Record::isIdent(const char id[]) const
{
   return dsIsString( makePointer(ptbl->ident), id );
}
Ejemplo n.º 8
0
// isKey: returns true if k matches the key field
bool Record::isKey(const char k[]) const
{
   return dsIsString( makePointer(ptbl->key), k );
}
Ejemplo n.º 9
0
// isIcaoCode: returns true if code matches the ICAO field
bool Record::isIcaoCode(const char code[]) const
{
   return dsIsString( makePointer(ICAO_CODE_POS), code );
}