Some fixes and formatting

* CTime::switchUnit(CTimeUnit::hms());
* Coordinate canHandleIndex protected
* copyright
This commit is contained in:
Klaus Basan
2015-07-10 00:49:47 +02:00
committed by Mathew Sutcliffe
parent edf8191969
commit 4fcf9efab7
8 changed files with 22 additions and 19 deletions

View File

@@ -74,12 +74,9 @@ namespace BlackMisc
//! Initial bearing
BlackMisc::PhysicalQuantities::CAngle bearing(const ICoordinateGeodetic &otherCoordinate) const;
//! Can given index be handled
static bool canHandleIndex(const BlackMisc::CPropertyIndex &index)
{
int i = index.frontCasted<int>();
return (i >= static_cast<int>(IndexLatitude)) && (i <= static_cast<int>(IndexGeodeticHeightAsString));
}
protected:
//! Can given index be handled?
static bool canHandleIndex(const BlackMisc::CPropertyIndex &index);
};
//! Great circle distance between points