alaCarte Maps
Renderer for OpenStreetMap tiles
archive.cpp File Reference
#include <fstream>
#include "settings.hpp"
#include "utils/archive.hpp"

Go to the source code of this file.

Macros

#define ROUND_PAGE(_X)   (((_X) % PAGE_SIZE == 0) ? (_X) : (((_X) / PAGE_SIZE + 1) * PAGE_SIZE))
 This file is part of alaCarte. More...
 
#define PAGE_SIZE   (64 * 1024)
 

Macro Definition Documentation

#define PAGE_SIZE   (64 * 1024)

Definition at line 28 of file archive.cpp.

#define ROUND_PAGE (   _X)    (((_X) % PAGE_SIZE == 0) ? (_X) : (((_X) / PAGE_SIZE + 1) * PAGE_SIZE))

This file is part of alaCarte.

alaCarte is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

alaCarte is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with alaCarte. If not, see http://www.gnu.org/licenses/.

Copyright alaCarte 2012-2013 Simon Dreher, Florian Jacob, Tobias Kahlert, Patrick Niklaus, Bernhard Scheirle, Lisa Winter Maintainer: Patrick Niklaus

Definition at line 27 of file archive.cpp.