libosmscout
1.1.1
Toggle main menu visibility
Loading...
Searching...
No Matches
libosmscout
include
osmscout
OSMScoutTypes.h
Go to the documentation of this file.
1
#ifndef OSMSCOUT_TYPES_H
2
#define OSMSCOUT_TYPES_H
3
4
/*
5
This source is part of the libosmscout library
6
Copyright (C) 2009 Tim Teulings
7
8
This library is free software; you can redistribute it and/or
9
modify it under the terms of the GNU Lesser General Public
10
License as published by the Free Software Foundation; either
11
version 2.1 of the License, or (at your option) any later version.
12
13
This library is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
Lesser General Public License for more details.
17
18
You should have received a copy of the GNU Lesser General Public
19
License along with this library; if not, write to the Free Software
20
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
*/
22
23
#include <
osmscout/lib/CoreImportExport.h
>
24
#include <osmscout/lib/CoreFeatures.h>
25
26
#include <
osmscout/system/SystemTypes.h
>
27
28
namespace
osmscout
{
33
using
OSMId
= int64_t;
34
40
using
Id
= uint64_t;
41
using
PageId
= uint64_t;
46
using
FileOffset
= uint64_t;
47
52
using
TypeId
= uint16_t;
53
54
enum
Vehicle
: uint8_t
55
{
56
vehicleFoot
= 1u << 1u,
57
vehicleBicycle
= 1u << 2u,
58
vehicleCar
= 1u << 3u
59
};
60
61
using
VehicleMask
= uint8_t;
62
}
63
64
#endif
CoreImportExport.h
SystemTypes.h
osmscout::Id
uint64_t Id
Definition
OSMScoutTypes.h:40
osmscout::OSMId
int64_t OSMId
Definition
OSMScoutTypes.h:33
osmscout::TypeId
uint16_t TypeId
Definition
OSMScoutTypes.h:52
osmscout::FileOffset
uint64_t FileOffset
Definition
OSMScoutTypes.h:46
osmscout
Definition
Area.h:39
osmscout::PageId
uint64_t PageId
Definition
OSMScoutTypes.h:41
osmscout::VehicleMask
uint8_t VehicleMask
Definition
OSMScoutTypes.h:61
osmscout::Vehicle
Vehicle
Definition
OSMScoutTypes.h:55
osmscout::vehicleBicycle
@ vehicleBicycle
Definition
OSMScoutTypes.h:57
osmscout::vehicleFoot
@ vehicleFoot
Definition
OSMScoutTypes.h:56
osmscout::vehicleCar
@ vehicleCar
Definition
OSMScoutTypes.h:58
Generated by
1.17.0