Ref T268, compare for CAltitude

This commit is contained in:
Klaus Basan
2018-07-10 17:15:25 +02:00
parent c8aabd675e
commit b74de43ce0
2 changed files with 18 additions and 5 deletions

View File

@@ -67,9 +67,9 @@ namespace BlackMisc
*/
enum ReferenceDatum
{
MeanSeaLevel = 0, //!< MSL
AboveGround, //!< AGL
FlightLevel //!< Flight level
MeanSeaLevel = 0, //!< MSL
AboveGround, //!< AGL
FlightLevel //!< Flight level
};
//! Altitude type
@@ -185,6 +185,9 @@ namespace BlackMisc
//! \copydoc BlackMisc::Mixin::Icon::toIcon
BlackMisc::CIcon toIcon() const;
//! \copydoc PhysicalQuantities::CPhysicalQuantity::compare
int compare(const CAltitude &otherAltitude) const;
//! Null altitude (MSL)
static const CAltitude &null();