remove unused data members

This commit is contained in:
Artem Pavlenko 2012-01-12 12:28:53 +00:00
parent b1782c0bd7
commit ac8655aead
4 changed files with 12 additions and 14 deletions

View file

@ -45,8 +45,8 @@ shape_featureset<filterT>::shape_featureset(filterT const& filter,
query_ext_(),
tr_(new transcoder(encoding)),
file_length_(file_length),
count_(0),
row_limit_(row_limit)
row_limit_(row_limit),
count_(0)
{
ctx_ = boost::make_shared<mapnik::context>();
shape_.shp().skip(100);

View file

@ -50,11 +50,9 @@ class shape_featureset : public Featureset,
boost::scoped_ptr<transcoder> tr_;
long file_length_;
std::vector<int> attr_ids_;
mutable box2d<double> feature_ext_;
mutable int total_geom_size;
mutable int count_;
const int row_limit_;
mutable int count_;
public:
shape_featureset(filterT const& filter,
std::string const& shape_file,

View file

@ -46,8 +46,8 @@ shape_index_featureset<filterT>::shape_index_featureset(filterT const& filter,
: filter_(filter),
shape_(shape),
tr_(new transcoder(encoding)),
count_(0),
row_limit_(row_limit)
row_limit_(row_limit),
count_(0)
{
ctx_ = boost::make_shared<mapnik::context>();
shape_.shp().skip(100);

View file

@ -47,13 +47,15 @@ class shape_index_featureset : public Featureset,
private boost::noncopyable
{
public:
shape_index_featureset(const filterT& filter,
shape_io& shape,
const std::set<std::string>& attribute_names,
shape_index_featureset(filterT const& filter,
shape_io & shape,
std::set<std::string> const& attribute_names,
std::string const& encoding,
std::string const& shape_name,
int row_limit);
virtual ~shape_index_featureset();
feature_ptr next();
private:
@ -64,10 +66,8 @@ private:
std::vector<int> ids_;
std::vector<int>::iterator itr_;
std::vector<int> attr_ids_;
mutable box2d<double> feature_ext_;
mutable int total_geom_size;
mutable int count_;
const int row_limit_;
mutable int count_;
};
#endif // SHAPE_INDEX_FEATURESET_HPP