use internal noncopyable class to speed up compile times slightly
This commit is contained in:
parent
16aae90bfc
commit
bb27156df0
63 changed files with 160 additions and 165 deletions
|
@ -20,17 +20,18 @@
|
||||||
|
|
||||||
#include "styles_model.hpp"
|
#include "styles_model.hpp"
|
||||||
#include <mapnik/expression_string.hpp>
|
#include <mapnik/expression_string.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/concept_check.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
// qt
|
// qt
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QPixmap>
|
#include <QPixmap>
|
||||||
|
|
||||||
class node : private boost::noncopyable
|
class node : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct node_base
|
struct node_base
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/image_data.hpp>
|
#include <mapnik/image_data.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_color_rgba.h"
|
#include "agg_color_rgba.h"
|
||||||
|
@ -35,7 +33,7 @@
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
|
|
||||||
class pattern_source : private boost::noncopyable
|
class pattern_source : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
pattern_source(image_data_32 const& pattern)
|
pattern_source(image_data_32 const& pattern)
|
||||||
|
|
|
@ -23,15 +23,15 @@
|
||||||
#ifndef MAPNIK_AGG_RASTERIZER_HPP
|
#ifndef MAPNIK_AGG_RASTERIZER_HPP
|
||||||
#define MAPNIK_AGG_RASTERIZER_HPP
|
#define MAPNIK_AGG_RASTERIZER_HPP
|
||||||
|
|
||||||
// boost
|
// mapnik
|
||||||
#include <boost/utility.hpp>
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_rasterizer_scanline_aa.h"
|
#include "agg_rasterizer_scanline_aa.h"
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
struct rasterizer : agg::rasterizer_scanline_aa<>, boost::noncopyable {};
|
struct rasterizer : agg::rasterizer_scanline_aa<>, mapnik::noncopyable {};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
#include <mapnik/label_collision_detector.hpp>
|
#include <mapnik/label_collision_detector.hpp>
|
||||||
#include <mapnik/map.hpp>
|
#include <mapnik/map.hpp>
|
||||||
#include <mapnik/rule.hpp> // for all symbolizers
|
#include <mapnik/rule.hpp> // for all symbolizers
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/optional.hpp>
|
#include <boost/optional.hpp>
|
||||||
|
@ -53,7 +53,7 @@ struct rasterizer;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class MAPNIK_DECL agg_renderer : public feature_style_processor<agg_renderer<T> >,
|
class MAPNIK_DECL agg_renderer : public feature_style_processor<agg_renderer<T> >,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -26,8 +26,9 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/rule.hpp>
|
#include <mapnik/rule.hpp>
|
||||||
#include <mapnik/transform_processor.hpp>
|
#include <mapnik/transform_processor.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/variant.hpp>
|
#include <boost/variant.hpp>
|
||||||
#include <boost/concept_check.hpp>
|
#include <boost/concept_check.hpp>
|
||||||
// stl
|
// stl
|
||||||
|
@ -206,7 +207,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class attribute_collector : public boost::noncopyable
|
class attribute_collector : public mapnik::noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::set<std::string>& names_;
|
std::set<std::string>& names_;
|
||||||
|
|
|
@ -32,13 +32,13 @@
|
||||||
#include <mapnik/label_collision_detector.hpp>
|
#include <mapnik/label_collision_detector.hpp>
|
||||||
#include <mapnik/map.hpp>
|
#include <mapnik/map.hpp>
|
||||||
#include <mapnik/rule.hpp> // for all symbolizers
|
#include <mapnik/rule.hpp> // for all symbolizers
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// cairo
|
// cairo
|
||||||
#include <cairomm/context.h>
|
#include <cairomm/context.h>
|
||||||
#include <cairomm/surface.h>
|
#include <cairomm/surface.h>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
|
||||||
// FIXME
|
// FIXME
|
||||||
|
@ -57,7 +57,7 @@ class cairo_face;
|
||||||
|
|
||||||
typedef boost::shared_ptr<cairo_face> cairo_face_ptr;
|
typedef boost::shared_ptr<cairo_face> cairo_face_ptr;
|
||||||
|
|
||||||
class cairo_face_manager : private boost::noncopyable
|
class cairo_face_manager : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cairo_face_manager(boost::shared_ptr<freetype_engine> engine);
|
cairo_face_manager(boost::shared_ptr<freetype_engine> engine);
|
||||||
|
@ -69,7 +69,7 @@ private:
|
||||||
cairo_face_cache cache_;
|
cairo_face_cache cache_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAPNIK_DECL cairo_renderer_base : private boost::noncopyable
|
class MAPNIK_DECL cairo_renderer_base : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
cairo_renderer_base(Map const& m, Cairo::RefPtr<Cairo::Context> const& context, double scale_factor=1.0, unsigned offset_x=0, unsigned offset_y=0);
|
cairo_renderer_base(Map const& m, Cairo::RefPtr<Cairo::Context> const& context, double scale_factor=1.0, unsigned offset_x=0, unsigned offset_y=0);
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
#include <mapnik/feature.hpp>
|
#include <mapnik/feature.hpp>
|
||||||
#include <mapnik/query.hpp>
|
#include <mapnik/query.hpp>
|
||||||
#include <mapnik/feature_layer_desc.hpp>
|
#include <mapnik/feature_layer_desc.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
|
@ -42,7 +42,7 @@ namespace mapnik {
|
||||||
|
|
||||||
typedef MAPNIK_DECL boost::shared_ptr<Feature> feature_ptr;
|
typedef MAPNIK_DECL boost::shared_ptr<Feature> feature_ptr;
|
||||||
|
|
||||||
struct MAPNIK_DECL Featureset : private boost::noncopyable
|
struct MAPNIK_DECL Featureset : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
virtual feature_ptr next() = 0;
|
virtual feature_ptr next() = 0;
|
||||||
virtual ~Featureset() {}
|
virtual ~Featureset() {}
|
||||||
|
@ -70,7 +70,7 @@ private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAPNIK_DECL datasource : private boost::noncopyable
|
class MAPNIK_DECL datasource : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum datasource_t {
|
enum datasource_t {
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
#include <mapnik/params.hpp>
|
#include <mapnik/params.hpp>
|
||||||
#include <mapnik/plugin.hpp>
|
#include <mapnik/plugin.hpp>
|
||||||
#include <mapnik/datasource.hpp>
|
#include <mapnik/datasource.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
|
@ -40,7 +40,7 @@ namespace mapnik {
|
||||||
|
|
||||||
class MAPNIK_DECL datasource_cache
|
class MAPNIK_DECL datasource_cache
|
||||||
: public singleton<datasource_cache, CreateStatic>,
|
: public singleton<datasource_cache, CreateStatic>,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
friend class CreateStatic<datasource_cache>;
|
friend class CreateStatic<datasource_cache>;
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
// mapnik (should not depend on anything that need to use this)
|
// mapnik (should not depend on anything that need to use this)
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/utils.hpp>
|
#include <mapnik/utils.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#ifdef MAPNIK_THREADSAFE
|
#ifdef MAPNIK_THREADSAFE
|
||||||
#include <boost/thread/mutex.hpp>
|
#include <boost/thread/mutex.hpp>
|
||||||
|
@ -50,7 +50,7 @@ namespace mapnik {
|
||||||
*/
|
*/
|
||||||
class MAPNIK_DECL logger :
|
class MAPNIK_DECL logger :
|
||||||
public singleton<logger,CreateStatic>,
|
public singleton<logger,CreateStatic>,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum severity_type
|
enum severity_type
|
||||||
|
@ -186,7 +186,7 @@ namespace mapnik {
|
||||||
class Ch = char,
|
class Ch = char,
|
||||||
class Tr = std::char_traits<Ch>,
|
class Tr = std::char_traits<Ch>,
|
||||||
class A = std::allocator<Ch> >
|
class A = std::allocator<Ch> >
|
||||||
class base_log : public boost::noncopyable
|
class base_log : public mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef OutputPolicy<Ch, Tr, A> output_policy;
|
typedef OutputPolicy<Ch, Tr, A> output_policy;
|
||||||
|
@ -245,7 +245,7 @@ namespace mapnik {
|
||||||
class Ch = char,
|
class Ch = char,
|
||||||
class Tr = std::char_traits<Ch>,
|
class Tr = std::char_traits<Ch>,
|
||||||
class A = std::allocator<Ch> >
|
class A = std::allocator<Ch> >
|
||||||
class base_log_always : public boost::noncopyable
|
class base_log_always : public mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef OutputPolicy<Ch, Tr, A> output_policy;
|
typedef OutputPolicy<Ch, Tr, A> output_policy;
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
#include <mapnik/geometry.hpp>
|
#include <mapnik/geometry.hpp>
|
||||||
#include <mapnik/raster.hpp>
|
#include <mapnik/raster.hpp>
|
||||||
#include <mapnik/feature_kv_iterator.hpp>
|
#include <mapnik/feature_kv_iterator.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
#if BOOST_VERSION >= 104000
|
#if BOOST_VERSION >= 104000
|
||||||
|
@ -36,7 +38,7 @@
|
||||||
#else
|
#else
|
||||||
#include <boost/property_map.hpp>
|
#include <boost/property_map.hpp>
|
||||||
#endif
|
#endif
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
|
||||||
|
@ -52,7 +54,7 @@ typedef boost::shared_ptr<raster> raster_ptr;
|
||||||
class feature_impl;
|
class feature_impl;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class context : private boost::noncopyable,
|
class context : private mapnik::noncopyable,
|
||||||
public boost::associative_property_map<T>
|
public boost::associative_property_map<T>
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -95,7 +97,7 @@ typedef MAPNIK_DECL boost::shared_ptr<context_type> context_ptr;
|
||||||
|
|
||||||
static const value default_value;
|
static const value default_value;
|
||||||
|
|
||||||
class MAPNIK_DECL feature_impl : private boost::noncopyable
|
class MAPNIK_DECL feature_impl : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
friend class feature_kv_iterator;
|
friend class feature_kv_iterator;
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
#include <mapnik/char_info.hpp>
|
#include <mapnik/char_info.hpp>
|
||||||
#include <mapnik/pixel_position.hpp>
|
#include <mapnik/pixel_position.hpp>
|
||||||
#include <mapnik/image_compositing.hpp>
|
#include <mapnik/image_compositing.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// freetype2
|
// freetype2
|
||||||
extern "C"
|
extern "C"
|
||||||
|
@ -45,7 +46,6 @@ extern "C"
|
||||||
// boost
|
// boost
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/ptr_container/ptr_vector.hpp>
|
#include <boost/ptr_container/ptr_vector.hpp>
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#ifdef MAPNIK_THREADSAFE
|
#ifdef MAPNIK_THREADSAFE
|
||||||
|
@ -69,7 +69,7 @@ class string_info;
|
||||||
|
|
||||||
typedef boost::shared_ptr<font_face> face_ptr;
|
typedef boost::shared_ptr<font_face> face_ptr;
|
||||||
|
|
||||||
class MAPNIK_DECL font_glyph : private boost::noncopyable
|
class MAPNIK_DECL font_glyph : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
font_glyph(face_ptr face, unsigned index)
|
font_glyph(face_ptr face, unsigned index)
|
||||||
|
@ -91,7 +91,7 @@ private:
|
||||||
|
|
||||||
typedef boost::shared_ptr<font_glyph> glyph_ptr;
|
typedef boost::shared_ptr<font_glyph> glyph_ptr;
|
||||||
|
|
||||||
class font_face : boost::noncopyable
|
class font_face : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
font_face(FT_Face face)
|
font_face(FT_Face face)
|
||||||
|
@ -145,7 +145,7 @@ private:
|
||||||
FT_Face face_;
|
FT_Face face_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAPNIK_DECL font_face_set : private boost::noncopyable
|
class MAPNIK_DECL font_face_set : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
font_face_set(void)
|
font_face_set(void)
|
||||||
|
@ -200,7 +200,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
// FT_Stroker wrapper
|
// FT_Stroker wrapper
|
||||||
class stroker : boost::noncopyable
|
class stroker : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit stroker(FT_Stroker s)
|
explicit stroker(FT_Stroker s)
|
||||||
|
@ -264,7 +264,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class MAPNIK_DECL face_manager : private boost::noncopyable
|
class MAPNIK_DECL face_manager : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef T font_engine_type;
|
typedef T font_engine_type;
|
||||||
typedef std::map<std::string,face_ptr> face_ptr_cache_type;
|
typedef std::map<std::string,face_ptr> face_ptr_cache_type;
|
||||||
|
@ -351,9 +351,9 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct text_renderer : private boost::noncopyable
|
struct text_renderer : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct glyph_t : boost::noncopyable
|
struct glyph_t : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
FT_Glyph image;
|
FT_Glyph image;
|
||||||
char_properties *properties;
|
char_properties *properties;
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/utils.hpp>
|
#include <mapnik/utils.hpp>
|
||||||
#include <mapnik/formatting/base.hpp>
|
#include <mapnik/formatting/base.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -41,7 +39,7 @@ namespace formatting
|
||||||
typedef node_ptr (*from_xml_function_ptr)(xml_node const& xml);
|
typedef node_ptr (*from_xml_function_ptr)(xml_node const& xml);
|
||||||
|
|
||||||
class registry : public singleton<registry, CreateStatic>,
|
class registry : public singleton<registry, CreateStatic>,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
registry();
|
registry();
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/vertex_vector.hpp>
|
#include <mapnik/vertex_vector.hpp>
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/ptr_container/ptr_vector.hpp>
|
#include <boost/ptr_container/ptr_vector.hpp>
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
@ -42,7 +42,7 @@ enum eGeomType {
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T, template <typename> class Container=vertex_vector>
|
template <typename T, template <typename> class Container=vertex_vector>
|
||||||
class geometry : private::boost::noncopyable
|
class geometry : private::mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef T coord_type;
|
typedef T coord_type;
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
#ifndef MAPNIK_GRID_RASTERIZER_HPP
|
#ifndef MAPNIK_GRID_RASTERIZER_HPP
|
||||||
#define MAPNIK_GRID_RASTERIZER_HPP
|
#define MAPNIK_GRID_RASTERIZER_HPP
|
||||||
|
|
||||||
#include <boost/utility.hpp>
|
#include <mapnik/noncopyable.hpp>
|
||||||
#include "agg_rasterizer_scanline_aa.h"
|
#include "agg_rasterizer_scanline_aa.h"
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
struct grid_rasterizer : agg::rasterizer_scanline_aa<>, boost::noncopyable {};
|
struct grid_rasterizer : agg::rasterizer_scanline_aa<>, mapnik::noncopyable {};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
#include <mapnik/map.hpp>
|
#include <mapnik/map.hpp>
|
||||||
#include <mapnik/rule.hpp> // for all symbolizers
|
#include <mapnik/rule.hpp> // for all symbolizers
|
||||||
#include <mapnik/grid/grid.hpp>
|
#include <mapnik/grid/grid.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
|
|
||||||
// FIXME
|
// FIXME
|
||||||
|
@ -52,7 +52,7 @@ struct grid_rasterizer;
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class MAPNIK_DECL grid_renderer : public feature_style_processor<grid_renderer<T> >,
|
class MAPNIK_DECL grid_renderer : public feature_style_processor<grid_renderer<T> >,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/global.hpp>
|
#include <mapnik/global.hpp>
|
||||||
#include <mapnik/palette.hpp>
|
#include <mapnik/palette.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#if BOOST_VERSION >= 104600
|
#if BOOST_VERSION >= 104600
|
||||||
|
@ -60,7 +60,7 @@ struct RGBAPolicy
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T, typename InsertPolicy = RGBAPolicy >
|
template <typename T, typename InsertPolicy = RGBAPolicy >
|
||||||
class hextree : private boost::noncopyable
|
class hextree : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct node
|
struct node
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/json/feature_grammar.hpp>
|
#include <mapnik/json/feature_grammar.hpp>
|
||||||
|
#include <mapnik/feature.hpp>
|
||||||
|
|
||||||
// spirit::qi
|
// spirit::qi
|
||||||
#include <boost/config/warning_disable.hpp>
|
#include <boost/config/warning_disable.hpp>
|
||||||
|
@ -88,7 +89,7 @@ struct feature_collection_grammar :
|
||||||
> lit(']')
|
> lit(']')
|
||||||
;
|
;
|
||||||
|
|
||||||
feature = eps[_a = construct<feature_ptr>(new_<feature_impl>(ctx_,generate_id_()))]
|
feature = eps[_a = construct<mapnik::feature_ptr>(new_<mapnik::feature_impl>(ctx_,generate_id_()))]
|
||||||
>> feature_g(*_a)[push_back(_r1,_a)]
|
>> feature_g(*_a)[push_back(_r1,_a)]
|
||||||
;
|
;
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,11 @@
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/feature.hpp>
|
#include <mapnik/feature.hpp>
|
||||||
#include <mapnik/datasource.hpp>
|
#include <mapnik/datasource.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
// stl
|
// stl
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
@ -39,7 +40,7 @@ namespace mapnik { namespace json {
|
||||||
template <typename Iterator, typename FeatureType> struct feature_collection_grammar;
|
template <typename Iterator, typename FeatureType> struct feature_collection_grammar;
|
||||||
|
|
||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
class feature_collection_parser : private boost::noncopyable
|
class feature_collection_parser : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef Iterator iterator_type;
|
typedef Iterator iterator_type;
|
||||||
typedef mapnik::Feature feature_type;
|
typedef mapnik::Feature feature_type;
|
||||||
|
|
|
@ -25,8 +25,9 @@
|
||||||
|
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/feature.hpp>
|
#include <mapnik/feature.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace mapnik { namespace json {
|
namespace mapnik { namespace json {
|
||||||
|
@ -36,7 +37,7 @@ namespace mapnik { namespace json {
|
||||||
template <typename OutputIterator> struct feature_generator_grammar;
|
template <typename OutputIterator> struct feature_generator_grammar;
|
||||||
template <typename OutputIterator> struct multi_geometry_generator_grammar;
|
template <typename OutputIterator> struct multi_geometry_generator_grammar;
|
||||||
|
|
||||||
class MAPNIK_DECL feature_generator : private boost::noncopyable
|
class MAPNIK_DECL feature_generator : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef std::back_insert_iterator<std::string> sink_type;
|
typedef std::back_insert_iterator<std::string> sink_type;
|
||||||
public:
|
public:
|
||||||
|
@ -47,7 +48,7 @@ private:
|
||||||
boost::scoped_ptr<feature_generator_grammar<sink_type> > grammar_;
|
boost::scoped_ptr<feature_generator_grammar<sink_type> > grammar_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAPNIK_DECL geometry_generator : private boost::noncopyable
|
class MAPNIK_DECL geometry_generator : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef std::back_insert_iterator<std::string> sink_type;
|
typedef std::back_insert_iterator<std::string> sink_type;
|
||||||
public:
|
public:
|
||||||
|
@ -60,7 +61,7 @@ private:
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
class MAPNIK_DECL feature_generator : private boost::noncopyable
|
class MAPNIK_DECL feature_generator : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
feature_generator() {}
|
feature_generator() {}
|
||||||
|
@ -68,7 +69,7 @@ public:
|
||||||
bool generate(std::string & geojson, mapnik::Feature const& f);
|
bool generate(std::string & geojson, mapnik::Feature const& f);
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAPNIK_DECL geometry_generator : private boost::noncopyable
|
class MAPNIK_DECL geometry_generator : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
geometry_generator() {}
|
geometry_generator() {}
|
||||||
|
|
|
@ -26,10 +26,11 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/geometry.hpp>
|
#include <mapnik/geometry.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
// stl
|
// stl
|
||||||
//#include <vector>
|
//#include <vector>
|
||||||
|
|
||||||
|
@ -40,7 +41,7 @@ template <typename Iterator> struct geometry_grammar;
|
||||||
MAPNIK_DECL bool from_geojson(std::string const& json, boost::ptr_vector<geometry_type> & paths);
|
MAPNIK_DECL bool from_geojson(std::string const& json, boost::ptr_vector<geometry_type> & paths);
|
||||||
|
|
||||||
template <typename Iterator>
|
template <typename Iterator>
|
||||||
class MAPNIK_DECL geometry_parser : private boost::noncopyable
|
class MAPNIK_DECL geometry_parser : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef Iterator iterator_type;
|
typedef Iterator iterator_type;
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/quad_tree.hpp>
|
#include <mapnik/quad_tree.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -63,7 +64,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
// quad_tree based label collision detector
|
// quad_tree based label collision detector
|
||||||
class label_collision_detector2 : boost::noncopyable
|
class label_collision_detector2 : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef quad_tree<box2d<double> > tree_t;
|
typedef quad_tree<box2d<double> > tree_t;
|
||||||
tree_t tree_;
|
tree_t tree_;
|
||||||
|
@ -97,7 +98,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
// quad_tree based label collision detector with seperate check/insert
|
// quad_tree based label collision detector with seperate check/insert
|
||||||
class label_collision_detector3 : boost::noncopyable
|
class label_collision_detector3 : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef quad_tree< box2d<double> > tree_t;
|
typedef quad_tree< box2d<double> > tree_t;
|
||||||
tree_t tree_;
|
tree_t tree_;
|
||||||
|
@ -135,7 +136,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
//quad tree based label collision detector so labels dont appear within a given distance
|
//quad tree based label collision detector so labels dont appear within a given distance
|
||||||
class label_collision_detector4 : boost::noncopyable
|
class label_collision_detector4 : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
struct label
|
struct label
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/utils.hpp>
|
#include <mapnik/utils.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#include <boost/interprocess/mapped_region.hpp>
|
#include <boost/interprocess/mapped_region.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
@ -43,7 +43,7 @@ typedef boost::shared_ptr<mapped_region> mapped_region_ptr;
|
||||||
|
|
||||||
struct MAPNIK_DECL mapped_memory_cache :
|
struct MAPNIK_DECL mapped_memory_cache :
|
||||||
public singleton<mapped_memory_cache, CreateStatic>,
|
public singleton<mapped_memory_cache, CreateStatic>,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
friend class CreateStatic<mapped_memory_cache>;
|
friend class CreateStatic<mapped_memory_cache>;
|
||||||
boost::unordered_map<std::string,mapped_region_ptr> cache_;
|
boost::unordered_map<std::string,mapped_region_ptr> cache_;
|
||||||
|
|
|
@ -29,12 +29,12 @@
|
||||||
#include <mapnik/svg/svg_path_attributes.hpp>
|
#include <mapnik/svg/svg_path_attributes.hpp>
|
||||||
#include <mapnik/svg/svg_storage.hpp>
|
#include <mapnik/svg/svg_storage.hpp>
|
||||||
#include <mapnik/svg/svg_path_adapter.hpp>
|
#include <mapnik/svg/svg_path_adapter.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_path_storage.h"
|
#include "agg_path_storage.h"
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/optional.hpp>
|
#include <boost/optional.hpp>
|
||||||
|
@ -55,7 +55,7 @@ typedef boost::shared_ptr<image_data_32> image_ptr;
|
||||||
* A class to hold either vector or bitmap marker data. This allows these to be treated equally
|
* A class to hold either vector or bitmap marker data. This allows these to be treated equally
|
||||||
* in the image caches and most of the render paths.
|
* in the image caches and most of the render paths.
|
||||||
*/
|
*/
|
||||||
class marker: private boost::noncopyable
|
class marker: private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
marker()
|
marker()
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/utils.hpp>
|
#include <mapnik/utils.hpp>
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/optional.hpp>
|
#include <boost/optional.hpp>
|
||||||
|
@ -43,7 +43,7 @@ typedef boost::shared_ptr<marker> marker_ptr;
|
||||||
|
|
||||||
class MAPNIK_DECL marker_cache :
|
class MAPNIK_DECL marker_cache :
|
||||||
public singleton <marker_cache, CreateUsingNew>,
|
public singleton <marker_cache, CreateUsingNew>,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
friend class CreateUsingNew<marker_cache>;
|
friend class CreateUsingNew<marker_cache>;
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -30,9 +30,7 @@
|
||||||
#include <mapnik/label_collision_detector.hpp>
|
#include <mapnik/label_collision_detector.hpp>
|
||||||
#include <mapnik/global.hpp> //round
|
#include <mapnik/global.hpp> //round
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_basics.h"
|
#include "agg_basics.h"
|
||||||
|
@ -48,7 +46,7 @@
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
template <typename Locator, typename Detector>
|
template <typename Locator, typename Detector>
|
||||||
class markers_placement : boost::noncopyable
|
class markers_placement : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** Constructor for markers_placement object.
|
/** Constructor for markers_placement object.
|
||||||
|
|
|
@ -26,9 +26,7 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/global.hpp>
|
#include <mapnik/global.hpp>
|
||||||
#include <mapnik/palette.hpp>
|
#include <mapnik/palette.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -51,7 +49,7 @@ struct RGBPolicy
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T, typename InsertPolicy = RGBPolicy >
|
template <typename T, typename InsertPolicy = RGBPolicy >
|
||||||
class octree : private boost::noncopyable
|
class octree : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct node
|
struct node
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/global.hpp>
|
#include <mapnik/global.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/unordered_map.hpp>
|
#include <boost/unordered_map.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
|
@ -126,7 +126,7 @@ struct rgba
|
||||||
typedef boost::unordered_map<unsigned, unsigned> rgba_hash_table;
|
typedef boost::unordered_map<unsigned, unsigned> rgba_hash_table;
|
||||||
|
|
||||||
|
|
||||||
class MAPNIK_DECL rgba_palette : private boost::noncopyable {
|
class MAPNIK_DECL rgba_palette : private mapnik::noncopyable {
|
||||||
public:
|
public:
|
||||||
enum palette_type { PALETTE_RGBA = 0, PALETTE_RGB = 1, PALETTE_ACT = 2 };
|
enum palette_type { PALETTE_RGBA = 0, PALETTE_RGB = 1, PALETTE_ACT = 2 };
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include <mapnik/symbolizer_helpers.hpp>
|
#include <mapnik/symbolizer_helpers.hpp>
|
||||||
#include <mapnik/label_collision_detector.hpp>
|
#include <mapnik/label_collision_detector.hpp>
|
||||||
#include <mapnik/ctrans.hpp>
|
#include <mapnik/ctrans.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
|
@ -54,7 +55,7 @@ typedef label_collision_detector4 DetectorType;
|
||||||
|
|
||||||
|
|
||||||
template <typename DetectorT>
|
template <typename DetectorT>
|
||||||
class placement_finder : boost::noncopyable
|
class placement_finder : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
placement_finder(Feature const& feature,
|
placement_finder(Feature const& feature,
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#ifndef MAPNIK_PLUGIN_HPP
|
#ifndef MAPNIK_PLUGIN_HPP
|
||||||
#define MAPNIK_PLUGIN_HPP
|
#define MAPNIK_PLUGIN_HPP
|
||||||
|
|
||||||
// boost
|
// mapnik
|
||||||
#include <boost/utility.hpp>
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
class PluginInfo : boost::noncopyable
|
class PluginInfo : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::string name_;
|
std::string name_;
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/debug.hpp>
|
#include <mapnik/debug.hpp>
|
||||||
#include <mapnik/utils.hpp>
|
#include <mapnik/utils.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#ifdef MAPNIK_THREADSAFE
|
#ifdef MAPNIK_THREADSAFE
|
||||||
#include <boost/thread/mutex.hpp>
|
#include <boost/thread/mutex.hpp>
|
||||||
#endif
|
#endif
|
||||||
|
@ -65,7 +65,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T,template <typename> class Creator>
|
template <typename T,template <typename> class Creator>
|
||||||
class Pool : private boost::noncopyable
|
class Pool : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef boost::shared_ptr<T> HolderType;
|
typedef boost::shared_ptr<T> HolderType;
|
||||||
typedef std::deque<HolderType> ContType;
|
typedef std::deque<HolderType> ContType;
|
||||||
|
|
|
@ -26,11 +26,12 @@
|
||||||
#include <mapnik/text_properties.hpp>
|
#include <mapnik/text_properties.hpp>
|
||||||
#include <mapnik/font_engine_freetype.hpp>
|
#include <mapnik/font_engine_freetype.hpp>
|
||||||
#include <mapnik/text_path.hpp>
|
#include <mapnik/text_path.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
|
|
||||||
class processed_text : boost::noncopyable
|
class processed_text : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
class processed_expression
|
class processed_expression
|
||||||
|
|
|
@ -26,13 +26,11 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/projection.hpp>
|
#include <mapnik/projection.hpp>
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
class MAPNIK_DECL proj_transform : private boost::noncopyable
|
class MAPNIK_DECL proj_transform : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
proj_transform(projection const& source,
|
proj_transform(projection const& source,
|
||||||
|
|
|
@ -25,10 +25,10 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/ptr_container/ptr_vector.hpp>
|
#include <boost/ptr_container/ptr_vector.hpp>
|
||||||
#include <boost/noncopyable.hpp>
|
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -37,7 +37,7 @@
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class quad_tree : boost::noncopyable
|
class quad_tree : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct node
|
struct node
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,12 +26,10 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
#include <mapnik/image_data.hpp>
|
#include <mapnik/image_data.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
class raster : private boost::noncopyable
|
class raster : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
box2d<double> ext_;
|
box2d<double> ext_;
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
#include <mapnik/vertex.hpp>
|
#include <mapnik/vertex.hpp>
|
||||||
#include <mapnik/simplify.hpp>
|
#include <mapnik/simplify.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// STL
|
// STL
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
@ -17,7 +18,7 @@
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
|
|
||||||
struct weighted_vertex : private boost::noncopyable
|
struct weighted_vertex : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
vertex2d coord;
|
vertex2d coord;
|
||||||
double weight;
|
double weight;
|
||||||
|
|
|
@ -30,9 +30,8 @@
|
||||||
#include <mapnik/util/geometry_svg_generator.hpp>
|
#include <mapnik/util/geometry_svg_generator.hpp>
|
||||||
#include <mapnik/svg/output/svg_output_grammars.hpp>
|
#include <mapnik/svg/output/svg_output_grammars.hpp>
|
||||||
#include <mapnik/svg/output/svg_output_attributes.hpp>
|
#include <mapnik/svg/output/svg_output_attributes.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
namespace mapnik { namespace svg {
|
namespace mapnik { namespace svg {
|
||||||
|
|
||||||
|
@ -43,7 +42,7 @@ namespace mapnik { namespace svg {
|
||||||
* structure.
|
* structure.
|
||||||
*/
|
*/
|
||||||
template <typename OutputIterator>
|
template <typename OutputIterator>
|
||||||
class svg_generator : private boost::noncopyable
|
class svg_generator : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef svg::svg_root_attributes_grammar<OutputIterator> root_attributes_grammar;
|
typedef svg::svg_root_attributes_grammar<OutputIterator> root_attributes_grammar;
|
||||||
typedef svg::svg_rect_attributes_grammar<OutputIterator> rect_attributes_grammar;
|
typedef svg::svg_rect_attributes_grammar<OutputIterator> rect_attributes_grammar;
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <mapnik/map.hpp>
|
#include <mapnik/map.hpp>
|
||||||
#include <mapnik/svg/output/svg_generator.hpp>
|
#include <mapnik/svg/output/svg_generator.hpp>
|
||||||
#include <mapnik/svg/output/svg_output_attributes.hpp>
|
#include <mapnik/svg/output/svg_output_attributes.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -39,7 +40,7 @@ namespace mapnik
|
||||||
// can target many other output destinations besides streams.
|
// can target many other output destinations besides streams.
|
||||||
template <typename OutputIterator>
|
template <typename OutputIterator>
|
||||||
class MAPNIK_DECL svg_renderer : public feature_style_processor<svg_renderer<OutputIterator> >,
|
class MAPNIK_DECL svg_renderer : public feature_style_processor<svg_renderer<OutputIterator> >,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef svg_renderer<OutputIterator> processor_impl_type;
|
typedef svg_renderer<OutputIterator> processor_impl_type;
|
||||||
|
|
|
@ -26,9 +26,7 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/svg/svg_path_attributes.hpp>
|
#include <mapnik/svg/svg_path_attributes.hpp>
|
||||||
#include <mapnik/svg/svg_path_adapter.hpp>
|
#include <mapnik/svg/svg_path_adapter.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_path_storage.h"
|
#include "agg_path_storage.h"
|
||||||
|
@ -46,7 +44,7 @@ namespace mapnik {
|
||||||
namespace svg {
|
namespace svg {
|
||||||
|
|
||||||
template <typename VertexSource, typename AttributeSource>
|
template <typename VertexSource, typename AttributeSource>
|
||||||
class svg_converter : boost::noncopyable
|
class svg_converter : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,9 @@
|
||||||
#include <mapnik/svg/svg_converter.hpp>
|
#include <mapnik/svg/svg_converter.hpp>
|
||||||
#include <mapnik/svg/svg_path_adapter.hpp>
|
#include <mapnik/svg/svg_path_adapter.hpp>
|
||||||
#include <mapnik/gradient.hpp>
|
#include <mapnik/gradient.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <libxml/xmlreader.h>
|
#include <libxml/xmlreader.h>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
namespace mapnik { namespace svg {
|
namespace mapnik { namespace svg {
|
||||||
|
|
||||||
class svg_parser : private boost::noncopyable
|
class svg_parser : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit svg_parser(svg_converter_type & path);
|
explicit svg_parser(svg_converter_type & path);
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#define MAPNIK_SVG_PATH_ADAPTER_HPP
|
#define MAPNIK_SVG_PATH_ADAPTER_HPP
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <boost/utility.hpp>
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_math.h"
|
#include "agg_math.h"
|
||||||
|
@ -40,7 +40,7 @@ namespace svg {
|
||||||
|
|
||||||
using namespace agg;
|
using namespace agg;
|
||||||
|
|
||||||
template<class VertexContainer> class path_adapter : boost::noncopyable
|
template<class VertexContainer> class path_adapter : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef VertexContainer container_type;
|
typedef VertexContainer container_type;
|
||||||
|
@ -838,7 +838,7 @@ void path_adapter<VC>::translate_all_paths(double dx, double dy)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
template<class Container> class vertex_stl_adapter : boost::noncopyable
|
template<class Container> class vertex_stl_adapter : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
#include <mapnik/gradient.hpp>
|
#include <mapnik/gradient.hpp>
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
#include <mapnik/grid/grid_pixel.hpp>
|
#include <mapnik/grid/grid_pixel.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
|
@ -100,7 +100,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename VertexSource, typename AttributeSource, typename ScanlineRenderer, typename PixelFormat>
|
template <typename VertexSource, typename AttributeSource, typename ScanlineRenderer, typename PixelFormat>
|
||||||
class svg_renderer_agg : boost::noncopyable
|
class svg_renderer_agg : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef agg::conv_curve<VertexSource> curved_type;
|
typedef agg::conv_curve<VertexSource> curved_type;
|
||||||
|
|
|
@ -25,15 +25,13 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
namespace svg {
|
namespace svg {
|
||||||
|
|
||||||
template <typename VertexSource ,typename AttributeSource>
|
template <typename VertexSource ,typename AttributeSource>
|
||||||
class svg_storage : boost::noncopyable
|
class svg_storage : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
svg_storage() {}
|
svg_storage() {}
|
||||||
|
|
|
@ -26,12 +26,12 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/char_info.hpp>
|
#include <mapnik/char_info.hpp>
|
||||||
#include <mapnik/pixel_position.hpp>
|
#include <mapnik/pixel_position.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
//stl
|
//stl
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
// uci
|
// uci
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
|
|
||||||
class string_info : private boost::noncopyable
|
class string_info : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
protected:
|
protected:
|
||||||
typedef std::vector<char_info> characters_t;
|
typedef std::vector<char_info> characters_t;
|
||||||
|
@ -122,7 +122,7 @@ typedef char_info const * char_info_ptr;
|
||||||
|
|
||||||
|
|
||||||
/** List of all characters and their positions and formats for a placement. */
|
/** List of all characters and their positions and formats for a placement. */
|
||||||
class text_path : boost::noncopyable
|
class text_path : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct character_node
|
struct character_node
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,7 +37,7 @@ class MAPNIK_DECL text_placements;
|
||||||
* This placement has first to be tested by placement_finder to verify it
|
* This placement has first to be tested by placement_finder to verify it
|
||||||
* can actually be used.
|
* can actually be used.
|
||||||
*/
|
*/
|
||||||
class text_placement_info : boost::noncopyable
|
class text_placement_info : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** Constructor. Takes the parent text_placements object as a parameter
|
/** Constructor. Takes the parent text_placements object as a parameter
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/utils.hpp>
|
#include <mapnik/utils.hpp>
|
||||||
#include <mapnik/text_placements/base.hpp>
|
#include <mapnik/text_placements/base.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -42,7 +40,7 @@ typedef text_placements_ptr (*from_xml_function_ptr)(
|
||||||
xml_node const& xml, fontset_map const & fontsets);
|
xml_node const& xml, fontset_map const & fontsets);
|
||||||
|
|
||||||
class registry : public singleton<registry, CreateStatic>,
|
class registry : public singleton<registry, CreateStatic>,
|
||||||
private boost::noncopyable
|
private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
registry();
|
registry();
|
||||||
|
|
|
@ -25,13 +25,13 @@
|
||||||
|
|
||||||
//mapnik
|
//mapnik
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// icu
|
// icu
|
||||||
#include <unicode/unistr.h>
|
#include <unicode/unistr.h>
|
||||||
#include <unicode/ucnv.h>
|
#include <unicode/ucnv.h>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
namespace mapnik {
|
namespace mapnik {
|
||||||
|
|
||||||
class MAPNIK_DECL transcoder : private boost::noncopyable
|
class MAPNIK_DECL transcoder : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit transcoder (std::string const& encoding);
|
explicit transcoder (std::string const& encoding);
|
||||||
|
|
|
@ -44,13 +44,13 @@
|
||||||
#include <boost/fusion/include/make_vector.hpp>
|
#include <boost/fusion/include/make_vector.hpp>
|
||||||
|
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/array.hpp>
|
#include <boost/array.hpp>
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/agg_helpers.hpp>
|
#include <mapnik/agg_helpers.hpp>
|
||||||
#include <mapnik/offset_converter.hpp>
|
#include <mapnik/offset_converter.hpp>
|
||||||
#include <mapnik/simplify_converter.hpp>
|
#include <mapnik/simplify_converter.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_conv_clip_polygon.h"
|
#include "agg_conv_clip_polygon.h"
|
||||||
|
@ -317,7 +317,7 @@ struct dispatcher
|
||||||
|
|
||||||
|
|
||||||
template <typename B, typename R, typename S, typename T, typename P, typename A, typename C >
|
template <typename B, typename R, typename S, typename T, typename P, typename A, typename C >
|
||||||
struct vertex_converter : private boost::noncopyable
|
struct vertex_converter : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef C conv_types;
|
typedef C conv_types;
|
||||||
typedef B bbox_type;
|
typedef B bbox_type;
|
||||||
|
|
|
@ -29,9 +29,9 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/vertex.hpp>
|
#include <mapnik/vertex.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/tuple/tuple.hpp>
|
#include <boost/tuple/tuple.hpp>
|
||||||
|
|
||||||
#include <cstring> // required for memcpy with linux/g++
|
#include <cstring> // required for memcpy with linux/g++
|
||||||
|
@ -40,7 +40,7 @@ namespace mapnik
|
||||||
{
|
{
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class vertex_vector : private boost::noncopyable
|
class vertex_vector : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef T coord_type;
|
typedef T coord_type;
|
||||||
typedef vertex<coord_type,2> vertex_type;
|
typedef vertex<coord_type,2> vertex_type;
|
||||||
|
|
|
@ -25,9 +25,7 @@
|
||||||
|
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/geometry.hpp>
|
#include <mapnik/geometry.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
|
@ -50,7 +48,7 @@ enum wkbFormat
|
||||||
wkbSpatiaLite=3
|
wkbSpatiaLite=3
|
||||||
};
|
};
|
||||||
|
|
||||||
class MAPNIK_DECL geometry_utils : private boost::noncopyable
|
class MAPNIK_DECL geometry_utils : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,9 @@
|
||||||
#include <mapnik/config.hpp>
|
#include <mapnik/config.hpp>
|
||||||
#include <mapnik/geometry.hpp>
|
#include <mapnik/geometry.hpp>
|
||||||
#include <mapnik/wkt/wkt_grammar.hpp>
|
#include <mapnik/wkt/wkt_grammar.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/ptr_container/ptr_vector.hpp>
|
#include <boost/ptr_container/ptr_vector.hpp>
|
||||||
#include <boost/scoped_ptr.hpp>
|
#include <boost/scoped_ptr.hpp>
|
||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
|
@ -42,7 +43,7 @@ MAPNIK_DECL bool from_wkt(std::string const& wkt, boost::ptr_vector<geometry_typ
|
||||||
|
|
||||||
#if BOOST_VERSION >= 104700
|
#if BOOST_VERSION >= 104700
|
||||||
|
|
||||||
class MAPNIK_DECL wkt_parser : boost::noncopyable
|
class MAPNIK_DECL wkt_parser : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
typedef std::string::const_iterator iterator_type;
|
typedef std::string::const_iterator iterator_type;
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
#ifndef DBFFILE_HPP
|
#ifndef DBFFILE_HPP
|
||||||
#define DBFFILE_HPP
|
#define DBFFILE_HPP
|
||||||
|
|
||||||
|
// mapnik
|
||||||
#include <mapnik/feature.hpp>
|
#include <mapnik/feature.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/interprocess/streams/bufferstream.hpp>
|
#include <boost/interprocess/streams/bufferstream.hpp>
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
|
@ -48,7 +50,7 @@ struct field_descriptor
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
class dbf_file : private boost::noncopyable
|
class dbf_file : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
int num_records_;
|
int num_records_;
|
||||||
|
|
|
@ -26,16 +26,16 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/geometry.hpp>
|
#include <mapnik/geometry.hpp>
|
||||||
#include <mapnik/datasource.hpp>
|
#include <mapnik/datasource.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
#include "dbfile.hpp"
|
#include "dbfile.hpp"
|
||||||
#include "shapefile.hpp"
|
#include "shapefile.hpp"
|
||||||
#include "shp_index.hpp"
|
#include "shp_index.hpp"
|
||||||
|
|
||||||
struct shape_io : boost::noncopyable
|
struct shape_io : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum shapeType
|
enum shapeType
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
#include <mapnik/global.hpp>
|
#include <mapnik/global.hpp>
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
#include <mapnik/mapped_memory_cache.hpp>
|
#include <mapnik/mapped_memory_cache.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
#include <boost/interprocess/streams/bufferstream.hpp>
|
#include <boost/interprocess/streams/bufferstream.hpp>
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ struct shape_record
|
||||||
|
|
||||||
using namespace boost::interprocess;
|
using namespace boost::interprocess;
|
||||||
|
|
||||||
class shape_file : boost::noncopyable
|
class shape_file : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#include <mapnik/datasource.hpp>
|
#include <mapnik/datasource.hpp>
|
||||||
#include <mapnik/params.hpp>
|
#include <mapnik/params.hpp>
|
||||||
#include <mapnik/box2d.hpp>
|
#include <mapnik/box2d.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -42,7 +42,7 @@ extern "C" {
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
}
|
}
|
||||||
|
|
||||||
class prepared_index_statement : boost::noncopyable
|
class prepared_index_statement : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
#include <mapnik/marker_cache.hpp>
|
#include <mapnik/marker_cache.hpp>
|
||||||
#include <mapnik/line_pattern_symbolizer.hpp>
|
#include <mapnik/line_pattern_symbolizer.hpp>
|
||||||
#include <mapnik/vertex_converters.hpp>
|
#include <mapnik/vertex_converters.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// agg
|
// agg
|
||||||
#include "agg_basics.h"
|
#include "agg_basics.h"
|
||||||
|
@ -47,12 +48,11 @@
|
||||||
#include "agg_conv_clip_polyline.h"
|
#include "agg_conv_clip_polyline.h"
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
class pattern_source : private boost::noncopyable
|
class pattern_source : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
pattern_source(mapnik::image_data_32 const& pattern)
|
pattern_source(mapnik::image_data_32 const& pattern)
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
#include <mapnik/text_path.hpp>
|
#include <mapnik/text_path.hpp>
|
||||||
#include <mapnik/vertex_converters.hpp>
|
#include <mapnik/vertex_converters.hpp>
|
||||||
#include <mapnik/marker_helpers.hpp>
|
#include <mapnik/marker_helpers.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// cairo
|
// cairo
|
||||||
#include <cairomm/context.h>
|
#include <cairomm/context.h>
|
||||||
|
@ -52,7 +53,6 @@
|
||||||
#include <cairo-version.h>
|
#include <cairo-version.h>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
#include <boost/math/special_functions/round.hpp>
|
#include <boost/math/special_functions/round.hpp>
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
class cairo_pattern : private boost::noncopyable
|
class cairo_pattern : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cairo_pattern(image_data_32 const& data)
|
cairo_pattern(image_data_32 const& data)
|
||||||
|
@ -146,7 +146,7 @@ private:
|
||||||
Cairo::RefPtr<Cairo::SurfacePattern> pattern_;
|
Cairo::RefPtr<Cairo::SurfacePattern> pattern_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class cairo_gradient : private boost::noncopyable
|
class cairo_gradient : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cairo_gradient(const mapnik::gradient &grad, double opacity=1.0)
|
cairo_gradient(const mapnik::gradient &grad, double opacity=1.0)
|
||||||
|
@ -202,7 +202,7 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class cairo_face : private boost::noncopyable
|
class cairo_face : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cairo_face(boost::shared_ptr<freetype_engine> const& engine, face_ptr const& face)
|
cairo_face(boost::shared_ptr<freetype_engine> const& engine, face_ptr const& face)
|
||||||
|
@ -269,7 +269,7 @@ cairo_face_ptr cairo_face_manager::get_face(face_ptr face)
|
||||||
return entry;
|
return entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
class cairo_context : private boost::noncopyable
|
class cairo_context : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
cairo_context(Cairo::RefPtr<Cairo::Context> const& context)
|
cairo_context(Cairo::RefPtr<Cairo::Context> const& context)
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
// mapnik
|
// mapnik
|
||||||
#include <mapnik/image_reader.hpp>
|
#include <mapnik/image_reader.hpp>
|
||||||
#include <mapnik/color.hpp>
|
#include <mapnik/color.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// jpeg
|
// jpeg
|
||||||
extern "C"
|
extern "C"
|
||||||
|
@ -32,14 +33,13 @@ extern "C"
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/scoped_array.hpp>
|
#include <boost/scoped_array.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// std
|
// std
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
class JpegReader : public image_reader, boost::noncopyable
|
class JpegReader : public image_reader, mapnik::noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::string fileName_;
|
std::string fileName_;
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
#include <mapnik/xml_node.hpp>
|
#include <mapnik/xml_node.hpp>
|
||||||
#include <mapnik/config_error.hpp>
|
#include <mapnik/config_error.hpp>
|
||||||
#include <mapnik/util/trim.hpp>
|
#include <mapnik/util/trim.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/filesystem/operations.hpp>
|
#include <boost/filesystem/operations.hpp>
|
||||||
|
|
||||||
// libxml
|
// libxml
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
class libxml2_loader : boost::noncopyable
|
class libxml2_loader : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
libxml2_loader(const char *encoding = NULL, int options = DEFAULT_OPTIONS, const char *url = NULL) :
|
libxml2_loader(const char *encoding = NULL, int options = DEFAULT_OPTIONS, const char *url = NULL) :
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
#include <mapnik/util/conversions.hpp>
|
#include <mapnik/util/conversions.hpp>
|
||||||
#include <mapnik/util/trim.hpp>
|
#include <mapnik/util/trim.hpp>
|
||||||
#include <mapnik/marker_cache.hpp>
|
#include <mapnik/marker_cache.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/optional.hpp>
|
#include <boost/optional.hpp>
|
||||||
|
@ -71,7 +72,7 @@ namespace mapnik
|
||||||
{
|
{
|
||||||
using boost::optional;
|
using boost::optional;
|
||||||
|
|
||||||
class map_parser : boost::noncopyable {
|
class map_parser : mapnik::noncopyable {
|
||||||
public:
|
public:
|
||||||
map_parser(bool strict, std::string const& filename = "") :
|
map_parser(bool strict, std::string const& filename = "") :
|
||||||
strict_(strict),
|
strict_(strict),
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
|
|
||||||
#include <mapnik/debug.hpp>
|
#include <mapnik/debug.hpp>
|
||||||
#include <mapnik/image_reader.hpp>
|
#include <mapnik/image_reader.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
@ -29,11 +30,10 @@ extern "C"
|
||||||
}
|
}
|
||||||
|
|
||||||
#include <boost/scoped_array.hpp>
|
#include <boost/scoped_array.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
class png_reader : public image_reader, boost::noncopyable
|
class png_reader : public image_reader, mapnik::noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
std::string fileName_;
|
std::string fileName_;
|
||||||
|
|
|
@ -32,9 +32,7 @@
|
||||||
#include <mapnik/xml_node.hpp>
|
#include <mapnik/xml_node.hpp>
|
||||||
#include <mapnik/config_error.hpp>
|
#include <mapnik/config_error.hpp>
|
||||||
#include <mapnik/util/trim.hpp>
|
#include <mapnik/util/trim.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
|
||||||
#include <boost/utility.hpp>
|
|
||||||
|
|
||||||
// stl
|
// stl
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
@ -43,7 +41,7 @@
|
||||||
namespace rapidxml = boost::property_tree::detail::rapidxml;
|
namespace rapidxml = boost::property_tree::detail::rapidxml;
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
class rapidxml_loader : boost::noncopyable
|
class rapidxml_loader : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
rapidxml_loader(const char *encoding = NULL) :
|
rapidxml_loader(const char *encoding = NULL) :
|
||||||
|
|
|
@ -27,9 +27,9 @@
|
||||||
#include <mapnik/coord_array.hpp>
|
#include <mapnik/coord_array.hpp>
|
||||||
#include <mapnik/geom_util.hpp>
|
#include <mapnik/geom_util.hpp>
|
||||||
#include <mapnik/feature.hpp>
|
#include <mapnik/feature.hpp>
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
|
|
||||||
// boost
|
// boost
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/format.hpp>
|
#include <boost/format.hpp>
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
|
@ -37,7 +37,7 @@ namespace mapnik
|
||||||
|
|
||||||
typedef coord_array<coord2d> CoordinateArray;
|
typedef coord_array<coord2d> CoordinateArray;
|
||||||
|
|
||||||
struct wkb_reader : boost::noncopyable
|
struct wkb_reader : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
enum wkbByteOrder {
|
enum wkbByteOrder {
|
||||||
|
|
|
@ -20,10 +20,11 @@
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include <mapnik/noncopyable.hpp>
|
||||||
// boost
|
// boost
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/utility.hpp>
|
|
||||||
#include <boost/variant.hpp>
|
#include <boost/variant.hpp>
|
||||||
|
|
||||||
//sqlite3
|
//sqlite3
|
||||||
#include <sqlite3.h>
|
#include <sqlite3.h>
|
||||||
|
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
|
|
||||||
namespace mapnik { namespace sqlite {
|
namespace mapnik { namespace sqlite {
|
||||||
|
|
||||||
class database : private boost::noncopyable
|
class database : private mapnik::noncopyable
|
||||||
{
|
{
|
||||||
friend class prepared_statement;
|
friend class prepared_statement;
|
||||||
|
|
||||||
|
@ -73,7 +74,7 @@ namespace mapnik { namespace sqlite {
|
||||||
typedef boost::variant<int,double,std::string, blob,null_type> value_type;
|
typedef boost::variant<int,double,std::string, blob,null_type> value_type;
|
||||||
typedef std::vector<value_type> record_type;
|
typedef std::vector<value_type> record_type;
|
||||||
|
|
||||||
class prepared_statement : boost::noncopyable
|
class prepared_statement : mapnik::noncopyable
|
||||||
{
|
{
|
||||||
struct binder : public boost::static_visitor<bool>
|
struct binder : public boost::static_visitor<bool>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue