~ubuntu-branches/ubuntu/trusty/mapnik/trusty

« back to all changes in this revision

Viewing changes to plugins/input/shape/shape_io.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Sauthier
  • Date: 2009-08-27 00:28:37 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090827002837-ztqzfg2rmclfh4i9
Tags: 0.6.1-0ubuntu1
* New upstream release.
* Change usr/lib to usr/lib* to enable build on 64 bits systems due to new
  configuration in SConstruct in :
  - debian/libmapnik-dev.install
  - debian/libmapnik0.6.install
  - debian/mapnik-plugin-base

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 *
21
21
 *****************************************************************************/
22
22
 
23
 
#ifndef SHAPE_IO_HH
24
 
#define SHAPE_IO_HH
 
23
#ifndef SHAPE_IO_HPP
 
24
#define SHAPE_IO_HPP
25
25
 
 
26
// mapnik
26
27
#include "dbffile.hpp"
27
28
#include "shapefile.hpp"
28
29
#include "shp_index.hpp"
 
30
// boost
 
31
#include <boost/utility.hpp>
29
32
 
30
33
using mapnik::geometry2d;
31
34
 
32
 
struct shape_io
 
35
struct shape_io : boost::noncopyable
33
36
{
34
37
      static const std::string SHP;
35
38
      static const std::string SHX;
76
79
      geometry2d * read_polygon();
77
80
      geometry2d * read_polygonm();
78
81
      geometry2d * read_polygonz();
79
 
   private:
80
 
      //void read_record(const shape_record& record);
81
 
      // no copying
82
 
      shape_io(const shape_io&);
83
 
      shape_io& operator=(const shape_io&);
84
82
};
85
 
#endif                                            //SHAPE_IO_HH
 
83
 
 
84
#endif //SHAPE_IO_HPP