Make SGPath cache stat() information, cheers Fred

* cache exists/isDir/isFile in SGPath, to avoid
  repeated calls.
This commit is contained in:
James Turner
2010-08-09 08:19:14 +01:00
parent d31c1df639
commit c4b4c0ce59
10 changed files with 107 additions and 56 deletions
+1
View File
@@ -59,6 +59,7 @@
#define DEGHR(x) ((x)/15.)
#define RADHR(x) DEGHR(x*SGD_RADIANS_TO_DEGREES)
using std::string;
static const double MJD0 = 2415020.0;
static const double J2000 = 2451545.0 - MJD0;