alaCarte Maps
Renderer for OpenStreetMap tiles
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
archive.hpp
Go to the documentation of this file.
1
21
#pragma once
22
#ifndef ARCHIVE_HPP
23
#define ARCHIVE_HPP
24
25
#include "
settings.hpp
"
26
27
#define MAGIC "CARTE"
28
29
class
Archive
30
{
31
private
:
32
std::vector<string>
paths
;
33
string
archPath
;
34
35
public
:
36
struct
entry_t
{
37
uint64_t
offset
;
38
uint64_t
length
;
39
};
40
41
Archive
(
const
string
& path);
42
void
addFile
(
const
string
& filePath);
43
void
write
();
44
void
getEntries
(std::vector<entry_t>& entries);
45
};
46
47
#endif
Archive::getEntries
void getEntries(std::vector< entry_t > &entries)
Definition:
archive.cpp:93
Archive::entry_t
Definition:
archive.hpp:36
Archive::entry_t::offset
uint64_t offset
Definition:
archive.hpp:37
Archive::entry_t::length
uint64_t length
Definition:
archive.hpp:38
Archive::write
void write()
Definition:
archive.cpp:40
Archive::Archive
Archive(const string &path)
Definition:
archive.cpp:30
Archive::archPath
string archPath
Definition:
archive.hpp:33
settings.hpp
Archive::paths
std::vector< string > paths
Definition:
archive.hpp:32
Archive::addFile
void addFile(const string &filePath)
Definition:
archive.cpp:35
Archive
Definition:
archive.hpp:29
include
utils
archive.hpp
Generated on Thu May 24 2018 16:14:00 for alaCarte Maps by
1.8.11