Create namespace globebrowsing.

This commit is contained in:
kalbl
2016-10-18 15:40:27 +02:00
parent 67b952fccd
commit 7f62bd7206
89 changed files with 374 additions and 674 deletions
+3 -5
View File
@@ -36,10 +36,10 @@ namespace {
const std::string _loggerCat = "TileDiskCache";
}
namespace openspace {
const std::string TileDiskCache::CACHE_ROOT = "tilecache";
namespace globebrowsing {
const std::string TileDiskCache::CACHE_ROOT = "tilecache";
TileDiskCache::TileDiskCache(const std::string& name)
: _name(name)
@@ -61,7 +61,6 @@ namespace openspace {
return FileSys.fileExists(metaFile);
}
std::shared_ptr<TileIOResult> TileDiskCache::get(const TileIndex& tileIndex) {
File metaDataFile = getMetaDataFile(tileIndex);
File dataFile = getDataFile(tileIndex);
@@ -120,6 +119,5 @@ namespace openspace {
return File(getFilePath(tileIndex) + ".data");
}
} // namespace globebrowsing
} // namespace openspace