alaCarte Maps
Renderer for OpenStreetMap tiles
settings.hpp File Reference
#include <cassert>
#include <string>
#include <map>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <cstdint>
#include <iostream>
#include <stdexcept>
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/make_shared.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/basic_socket.hpp>
#include <boost/exception/all.hpp>
#include <boost/log/trivial.hpp>
#include <boost/log/sources/severity_channel_logger.hpp>
#include <boost/log/sources/global_logger_storage.hpp>
#include "utils/point.hpp"
#include "utils/exceptions.hpp"
#include "utils/color.hpp"
#include "utils/rect.hpp"
#include "utils/typedId.hpp"
#include "utils/cached_string.hpp"
#include <boost/unordered_map.hpp>

Go to the source code of this file.

Classes

class  DataMap< Key, Value >
 

Macros

#define SETTINGS_HPP
 This file is part of alaCarte. More...
 
#define LOG_SEV(log, lvl)   BOOST_LOG_SEV(log::get(), (logging::trivial::lvl))
 
#define TESTABLE
 
#define ALAC_JOIN(_a, _b)   ALAC_DO_JOIN1(_a, _b)
 Use ALAC_JOIN to join two identifiers in definitions. More...
 
#define ALAC_DO_JOIN1(_a, _b)   ALAC_DO_JOIN2(_a, _b)
 
#define ALAC_DO_JOIN2(_a, _b)   _a##_b
 
#define NOT_IMPLEMENTED()   {BOOST_THROW_EXCEPTION(excp::NotImplementedException() << excp::InfoFileName(__FILE__));}
 
#define IMPLEMENTATION_TODO(_text)
 
#define DEFAULT_CONFIG_NAME   "alacarte-maps.conf"
 
#define DEFAULT_FONT   "DejaVu Sans"
 
#define TILE_OVERLAP   (1.0/META_TILE_SIZE * 0.25)
 
#define META_TILE_SIZE   4
 
#define ALAC_ZOOM_BOTTOM   0
 
#define ALAC_ZOOM_TOP   18
 

Typedefs

typedef logging::sources::severity_channel_logger_mt< logging::trivial::severity_level, std::stringlogger_mt
 
typedef std::string string
 
typedef std::int8_t int8
 
typedef std::uint8_t uint8
 
typedef std::int16_t int16
 
typedef std::uint16_t uint16
 
typedef std::int32_t int32
 
typedef std::uint32_t uint32
 
typedef std::int32_t coord_t
 
typedef TypedId< 0 > NodeId
 
typedef TypedId< 1 > WayId
 
typedef TypedId< 2 > RelId
 

Macro Definition Documentation

#define ALAC_DO_JOIN1 (   _a,
  _b 
)    ALAC_DO_JOIN2(_a, _b)

Definition at line 91 of file settings.hpp.

#define ALAC_DO_JOIN2 (   _a,
  _b 
)    _a##_b

Definition at line 92 of file settings.hpp.

#define ALAC_JOIN (   _a,
  _b 
)    ALAC_DO_JOIN1(_a, _b)

Use ALAC_JOIN to join two identifiers in definitions.

Definition at line 90 of file settings.hpp.

#define ALAC_ZOOM_BOTTOM   0

Definition at line 132 of file settings.hpp.

#define ALAC_ZOOM_TOP   18

Definition at line 133 of file settings.hpp.

#define DEFAULT_CONFIG_NAME   "alacarte-maps.conf"

Definition at line 127 of file settings.hpp.

#define DEFAULT_FONT   "DejaVu Sans"

Definition at line 129 of file settings.hpp.

#define IMPLEMENTATION_TODO (   _text)
Value:
{ \
static bool ALAC_JOIN(_found_, __LINE__) = false; \
if(! ALAC_JOIN(_found_, __LINE__)) \
{ \
std::clog << "Not Implemented: "<< _text << std::endl; \
ALAC_JOIN(_found_, __LINE__) = true; \
} \
}
#define ALAC_JOIN(_a, _b)
Use ALAC_JOIN to join two identifiers in definitions.
Definition: settings.hpp:90

Definition at line 96 of file settings.hpp.

#define LOG_SEV (   log,
  lvl 
)    BOOST_LOG_SEV(log::get(), (logging::trivial::lvl))

Definition at line 78 of file settings.hpp.

#define META_TILE_SIZE   4

Definition at line 131 of file settings.hpp.

#define NOT_IMPLEMENTED ( )    {BOOST_THROW_EXCEPTION(excp::NotImplementedException() << excp::InfoFileName(__FILE__));}

Definition at line 95 of file settings.hpp.

#define SETTINGS_HPP

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: Tobias Kahlert

Definition at line 23 of file settings.hpp.

#define TESTABLE

Definition at line 85 of file settings.hpp.

#define TILE_OVERLAP   (1.0/META_TILE_SIZE * 0.25)

Definition at line 130 of file settings.hpp.

Typedef Documentation

typedef std::int32_t coord_t

Definition at line 117 of file settings.hpp.

typedef std::int16_t int16

Definition at line 113 of file settings.hpp.

typedef std::int32_t int32

Definition at line 115 of file settings.hpp.

typedef std::int8_t int8

Definition at line 111 of file settings.hpp.

typedef logging::sources::severity_channel_logger_mt< logging::trivial::severity_level, std::string> logger_mt

Definition at line 65 of file settings.hpp.

typedef TypedId<0> NodeId

Definition at line 135 of file settings.hpp.

typedef TypedId<2> RelId

Definition at line 137 of file settings.hpp.

typedef std::string string

Definition at line 110 of file settings.hpp.

typedef std::uint16_t uint16

Definition at line 114 of file settings.hpp.

typedef std::uint32_t uint32

Definition at line 116 of file settings.hpp.

typedef std::uint8_t uint8

Definition at line 112 of file settings.hpp.

typedef TypedId<1> WayId

Definition at line 136 of file settings.hpp.