blob: f87f37fae313c4452664bcc68efe36e6530cd289 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include <cstdint>
#include <string>
#include <utility>
enum class MapOptions : uint8_t
{
Nothing = 0x0,
Map = 0x1,
CarRouting = 0x2,
MapWithCarRouting = 0x3,
Diff = 0x4
};
using MwmCounter = uint32_t;
using MwmSize = uint64_t;
using LocalAndRemoteSize = std::pair<MwmSize, MwmSize>;
bool HasOptions(MapOptions mask, MapOptions options);
MapOptions SetOptions(MapOptions mask, MapOptions options);
MapOptions UnsetOptions(MapOptions mask, MapOptions options);
MapOptions LeastSignificantOption(MapOptions mask);
std::string DebugPrint(MapOptions options);
|