Ref T773, added "hasMeanSeaLevelValue" and consistently use it

This commit is contained in:
Klaus Basan
2020-02-13 20:00:15 +01:00
committed by Mat Sutcliffe
parent 9f911b7e55
commit 287d96afea
4 changed files with 14 additions and 4 deletions

View File

@@ -144,6 +144,9 @@ namespace BlackMisc
//! Flightlevel to MSL
bool toMeanSeaLevel();
//! Non-NULL MSL value?
bool hasMeanSeaLevelValue() const { return this->isMeanSeaLevel() && !this->isNull(); }
//! Current altitude type
AltitudeType getAltitudeType() const { return m_altitudeType; }