+ make shape_io noncopyable
This commit is contained in:
parent
ed07268576
commit
2389386c80
1 changed files with 8 additions and 9 deletions
|
@ -20,16 +20,19 @@
|
|||
*
|
||||
*****************************************************************************/
|
||||
|
||||
#ifndef SHAPE_IO_HH
|
||||
#define SHAPE_IO_HH
|
||||
#ifndef SHAPE_IO_HPP
|
||||
#define SHAPE_IO_HPP
|
||||
|
||||
// mapnik
|
||||
#include "dbffile.hpp"
|
||||
#include "shapefile.hpp"
|
||||
#include "shp_index.hpp"
|
||||
// boost
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
using mapnik::geometry2d;
|
||||
|
||||
struct shape_io
|
||||
struct shape_io : boost::noncopyable
|
||||
{
|
||||
static const std::string SHP;
|
||||
static const std::string SHX;
|
||||
|
@ -76,10 +79,6 @@ struct shape_io
|
|||
geometry2d * read_polygon();
|
||||
geometry2d * read_polygonm();
|
||||
geometry2d * read_polygonz();
|
||||
private:
|
||||
//void read_record(const shape_record& record);
|
||||
// no copying
|
||||
shape_io(const shape_io&);
|
||||
shape_io& operator=(const shape_io&);
|
||||
};
|
||||
#endif //SHAPE_IO_HH
|
||||
|
||||
#endif //SHAPE_IO_HPP
|
||||
|
|
Loading…
Add table
Reference in a new issue