mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Ref T242, null functions for livery, airline, aircraft
This commit is contained in:
@@ -196,6 +196,17 @@ namespace BlackMisc
|
||||
return score;
|
||||
}
|
||||
|
||||
bool CAircraftIcaoCode::isNull() const
|
||||
{
|
||||
return m_designator.isEmpty() && m_manufacturer.isEmpty() && m_modelDescription.isEmpty();
|
||||
}
|
||||
|
||||
const CAircraftIcaoCode &CAircraftIcaoCode::null()
|
||||
{
|
||||
static const CAircraftIcaoCode null;
|
||||
return null;
|
||||
}
|
||||
|
||||
bool CAircraftIcaoCode::hasDesignator() const
|
||||
{
|
||||
return !m_designator.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user