Shrinks a catalog that is too long to fit into the reserved space at the beginning of the file.
429 uint32_t entry_id = 1;
437 const uint32_t target_id = entry_id*shrink_factor;
440 for (uint32_t
i=0;
i<target_id-entry_id;
i++)
451 for (uint32_t
i=0;
i<num_tiles_to_remove;
i++)
461 SetInt(
"ZSHRINK", shrink_factor);
463 return shrink_factor;
bool SetInt(const std::string &key, int64_t i, const std::string &comment="")
uint32_t fNumRowsPerTile
Number of rows per tile.
CatalogRow & AddOneCatalogRow()
uint32_t fCatalogSize
Actual catalog size (.size() is slow on large lists)
uint32_t fNumTiles
Number of pre-reserved tiles.
CatalogType fCatalog
Catalog for this file.