- reversed header include order

This commit is contained in:
David 2007-10-08 17:42:41 +00:00
parent 6d83b199a4
commit bc54b150ea
26 changed files with 127 additions and 95 deletions

View file

@ -23,6 +23,10 @@
#ifndef LOAD_MAP_XML2_INCLUDED
#define LOAD_MAP_XML2_INCLUDED
#include <boost/property_tree/ptree.hpp>
#include <string>
namespace mapnik
{
void read_xml2( std::string const & filename, boost::property_tree::ptree & pt);

View file

@ -21,12 +21,13 @@
*****************************************************************************/
//$Id$
// stl
#include <iostream>
// boost
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/tuple/tuple.hpp>
// mapnik
#include <mapnik/agg_renderer.hpp>
#include <mapnik/image_util.hpp>
#include <mapnik/unicode.hpp>
#include <mapnik/placement_finder.hpp>
// agg
#include "agg_basics.h"
//#include "agg_rendering_buffer.h"
@ -59,11 +60,13 @@
#include "agg_renderer_outline_image.h"
#include "agg_vpgen_clip_polyline.h"
// mapnik
#include <mapnik/image_util.hpp>
#include <mapnik/agg_renderer.hpp>
#include <mapnik/unicode.hpp>
#include <mapnik/placement_finder.hpp>
// boost
#include <boost/utility.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/tuple/tuple.hpp>
// stl
#include <iostream>
namespace mapnik
{

View file

@ -21,19 +21,23 @@
*****************************************************************************/
//$Id: datasource_cache.cpp 23 2005-03-22 22:16:34Z pavlenko $
// stl
#include <algorithm>
#include <stdexcept>
// mapnik
#include <mapnik/datasource_cache.hpp>
#include <mapnik/config_error.hpp>
// boost
#include <boost/thread/mutex.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/algorithm/string.hpp>
// mapnik
#include <mapnik/datasource_cache.hpp>
#include <mapnik/config_error.hpp>
// ltdl
#include <ltdl.h>
// stl
#include <algorithm>
#include <stdexcept>
namespace mapnik
{
using namespace std;

View file

@ -21,10 +21,11 @@
*****************************************************************************/
//$Id$
#include <cmath>
#include <mapnik/ellipsoid.hpp>
#include <mapnik/distance.hpp>
#include <mapnik/ellipsoid.hpp>
#include <cmath>
namespace mapnik {
static const double deg2rad = 0.0174532925199432958;

View file

@ -21,14 +21,15 @@
*****************************************************************************/
//$Id: graphics.cpp 17 2005-03-08 23:58:43Z pavlenko $
// mapnik
#include <mapnik/graphics.hpp>
#include <mapnik/image_util.hpp>
// stl
#include <cassert>
#include <string.h>
#include <stack>
#include <iostream>
// mapnik
#include <mapnik/graphics.hpp>
#include <mapnik/image_util.hpp>
namespace mapnik
{

View file

@ -21,9 +21,10 @@
*****************************************************************************/
//$Id: image_reader.cpp 17 2005-03-08 23:58:43Z pavlenko $
#include <mapnik/factory.hpp>
#include <mapnik/image_reader.hpp>
#include <mapnik/factory.hpp>
namespace mapnik
{
typedef factory<ImageReader,std::string,

View file

@ -22,12 +22,11 @@
//$Id: image_util.cpp 36 2005-04-05 14:32:18Z pavlenko $
// stl
#include <string>
// mapnik
#include <mapnik/image_util.hpp>
#include <mapnik/graphics.hpp>
#include <mapnik/memory.hpp>
#include <mapnik/image_util.hpp>
#include <mapnik/image_view.hpp>
// jpeg png
extern "C"
@ -36,6 +35,9 @@ extern "C"
#include <jpeglib.h>
}
// stl
#include <string>
namespace mapnik
{
template <typename T>

View file

@ -22,16 +22,17 @@
//$Id: layer.cpp 17 2005-03-08 23:58:43Z pavlenko $
// stl
#include <string>
#include <iostream>
// boost
#include <boost/shared_ptr.hpp>
// mapnik
#include <mapnik/layer.hpp>
#include <mapnik/style.hpp>
#include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp>
#include <mapnik/layer.hpp>
// boost
#include <boost/shared_ptr.hpp>
// stl
#include <string>
#include <iostream>
using namespace std;
using boost::shared_ptr;

View file

@ -20,15 +20,17 @@
*
*****************************************************************************/
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/parserInternals.h>
#include <mapnik/libxml2_loader.hpp>
#include <mapnik/config_error.hpp>
#include <boost/utility.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/filesystem/operations.hpp>
#include <mapnik/config_error.hpp>
#include <libxml/parser.h>
#include <libxml/tree.h>
#include <libxml/parserInternals.h>
#include <iostream>

View file

@ -21,11 +21,12 @@
*****************************************************************************/
//$Id$
// mapnik
#include <mapnik/line_pattern_symbolizer.hpp>
#include <mapnik/image_reader.hpp>
// stl
#include <iostream>
// mapnik
#include <mapnik/image_reader.hpp>
#include <mapnik/line_pattern_symbolizer.hpp>
namespace mapnik
{

View file

@ -19,18 +19,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*****************************************************************************/
// stl
#include <iostream>
// boost
#include <boost/optional.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/tokenizer.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/static_assert.hpp>
// mapnik
#include <mapnik/load_map.hpp>
#include <mapnik/image_reader.hpp>
#include <mapnik/color.hpp>
#include <mapnik/color_factory.hpp>
@ -41,7 +32,17 @@
#include <mapnik/ptree_helpers.hpp>
#include <mapnik/libxml2_loader.hpp>
#include <mapnik/load_map.hpp>
// boost
#include <boost/optional.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/tokenizer.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/static_assert.hpp>
// stl
#include <iostream>
using boost::lexical_cast;
using boost::bad_lexical_cast;

View file

@ -21,13 +21,13 @@
*****************************************************************************/
//$Id: map.cpp 17 2005-03-08 23:58:43Z pavlenko $,
#include <mapnik/map.hpp>
#include <mapnik/style.hpp>
#include <mapnik/datasource.hpp>
#include <mapnik/projection.hpp>
#include <mapnik/filter_featureset.hpp>
#include <mapnik/hit_test_filter.hpp>
#include <mapnik/map.hpp>
namespace mapnik
{

View file

@ -21,8 +21,10 @@
*****************************************************************************/
//$Id$
#include <algorithm>
#include <mapnik/memory_datasource.hpp>
#include <mapnik/memory_featureset.hpp>
#include <algorithm>
namespace mapnik {

View file

@ -23,9 +23,13 @@
//$Id$
//stl
#include <string>
#include <vector>
//mapnik
#include <mapnik/placement_finder.hpp>
#include <mapnik/geometry.hpp>
#include <mapnik/text_path.hpp>
#include <mapnik/shield_symbolizer.hpp>
#include <mapnik/text_symbolizer.hpp>
// boost
#include <boost/shared_ptr.hpp>
@ -34,12 +38,9 @@
#include <boost/thread/mutex.hpp>
#include <boost/tuple/tuple.hpp>
//mapnik
#include <mapnik/geometry.hpp>
#include <mapnik/placement_finder.hpp>
#include <mapnik/text_path.hpp>
#include <mapnik/shield_symbolizer.hpp>
#include <mapnik/text_symbolizer.hpp>
//stl
#include <string>
#include <vector>
#ifndef M_PI
#define M_PI 3.14159265358979323846

View file

@ -22,8 +22,8 @@
//$Id: plugin.cpp 17 2005-03-08 23:58:43Z pavlenko $
#include <ltdl.h>
#include <mapnik/plugin.hpp>
#include <ltdl.h>
namespace mapnik
{

View file

@ -22,7 +22,6 @@
//$Id: png_reader.cpp 33 2005-04-04 13:01:03Z pavlenko $
#include <iostream>
#include <mapnik/image_reader.hpp>
extern "C"
@ -30,6 +29,8 @@ extern "C"
#include <png.h>
}
#include <iostream>
namespace mapnik
{
class PngReader : public ImageReader

View file

@ -21,14 +21,15 @@
*****************************************************************************/
//$Id$
// stl
#include <iostream>
// boost
#include <boost/scoped_ptr.hpp>
// mapnik
#include <mapnik/point_symbolizer.hpp>
#include <mapnik/image_data.hpp>
#include <mapnik/image_reader.hpp>
// boost
#include <boost/scoped_ptr.hpp>
// stl
#include <iostream>
namespace mapnik
{

View file

@ -20,11 +20,12 @@
*
*****************************************************************************/
//$Id$
// mapnik
#include <mapnik/polygon_pattern_symbolizer.hpp>
#include <mapnik/image_reader.hpp>
// stl
#include <iostream>
// mapnik
#include <mapnik/image_reader.hpp>
#include <mapnik/polygon_pattern_symbolizer.hpp>
namespace mapnik
{

View file

@ -22,10 +22,10 @@
//$Id$
#include <proj_api.h>
#include <mapnik/proj_transform.hpp>
#include <proj_api.h>
namespace mapnik {
proj_transform::proj_transform(projection const& source,

View file

@ -22,10 +22,10 @@
//$Id$
// proj4
#include <proj_api.h>
// mapnik
#include <mapnik/projection.hpp>
// proj4
#include <proj_api.h>
namespace mapnik {
projection::projection(std::string params)

View file

@ -20,8 +20,11 @@
*
*****************************************************************************/
// $Id$
// stl
#include <iostream>
// mapnik
#include <mapnik/save_map.hpp>
#include <mapnik/ptree_helpers.hpp>
// boost
#include <boost/algorithm/string.hpp>
#include <boost/lexical_cast.hpp>
@ -29,9 +32,9 @@
#include <boost/optional.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
// mapnik
#include <mapnik/save_map.hpp>
#include <mapnik/ptree_helpers.hpp>
// stl
#include <iostream>
namespace mapnik
{

View file

@ -21,10 +21,12 @@
*****************************************************************************/
//$Id$
#include <cmath>
#include <mapnik/map.hpp>
#include <mapnik/scale_denominator.hpp>
#include <mapnik/map.hpp>
#include <cmath>
namespace mapnik {
static const double pi = 3.14159265359;

View file

@ -23,14 +23,14 @@
//$Id$
// stl
#include <iostream>
// boost
#include <boost/scoped_ptr.hpp>
// mapnik
#include <mapnik/shield_symbolizer.hpp>
#include <mapnik/image_data.hpp>
#include <mapnik/image_reader.hpp>
// boost
#include <boost/scoped_ptr.hpp>
// stl
#include <iostream>
namespace mapnik
{

View file

@ -22,12 +22,12 @@
//$Id$
//stl
#include <iostream>
// boost
#include <boost/scoped_ptr.hpp>
//mapnik
#include <mapnik/text_symbolizer.hpp>
// boost
#include <boost/scoped_ptr.hpp>
//stl
#include <iostream>
static const char * label_placement_strings[] = {
"point",

View file

@ -21,16 +21,15 @@
*****************************************************************************/
//$Id: tiff_reader.cpp 17 2005-03-08 23:58:43Z pavlenko $
// stl
#include <iostream>
#include "boost/filesystem/operations.hpp"
// mapnik
#include <mapnik/image_reader.hpp>
#include "boost/filesystem/operations.hpp"
extern "C"
{
#include <tiffio.h>
}
// stl
#include <iostream>
namespace mapnik
{

View file

@ -23,6 +23,7 @@
//$Id: wkb.cpp 19 2005-03-22 13:53:27Z pavlenko $
#include <mapnik/wkb.hpp>
#include <mapnik/geom_util.hpp>
#include <mapnik/feature.hpp>