mirror of https://github.com/ecmwf/eccodes.git
Modernisation: Make members private
This commit is contained in:
parent
408066a953
commit
e4df2db1a1
|
@ -35,15 +35,18 @@ public:
|
|||
virtual bool has_next() = 0;
|
||||
virtual Iterator* create() const = 0;
|
||||
|
||||
public:
|
||||
unsigned long flags_;
|
||||
|
||||
protected:
|
||||
grib_context* context_;
|
||||
grib_arguments* args_; /** args of iterator */
|
||||
grib_handle* h_;
|
||||
double* data_; /** data values */
|
||||
long e_; /** current element */
|
||||
size_t nv_; /** number of values */
|
||||
double* data_; /** data values */
|
||||
unsigned long flags_;
|
||||
const char* class_name_;
|
||||
|
||||
private:
|
||||
grib_arguments* args_; /** args of iterator */
|
||||
size_t size_;
|
||||
int inited_;
|
||||
};
|
||||
|
|
|
@ -33,10 +33,12 @@ public:
|
|||
int destroy() override;
|
||||
bool has_next() override;
|
||||
|
||||
public:
|
||||
// int get(double*, double*, double*);
|
||||
protected:
|
||||
int carg_;
|
||||
|
||||
private:
|
||||
const char* missingValue_;
|
||||
// int get(double*, double*, double*);
|
||||
};
|
||||
|
||||
} // namespace geo
|
||||
|
|
|
@ -30,13 +30,12 @@ public:
|
|||
int next(double*, double*, double*) override;
|
||||
int destroy() override;
|
||||
|
||||
public:
|
||||
private:
|
||||
double* lats_;
|
||||
double* lons_;
|
||||
long Nsides_;
|
||||
bool nested_;
|
||||
|
||||
private:
|
||||
int iterate_healpix(long N);
|
||||
};
|
||||
|
||||
|
|
|
@ -30,25 +30,24 @@ public:
|
|||
int next(double*, double*, double*) override;
|
||||
int destroy() override;
|
||||
|
||||
public:
|
||||
private:
|
||||
double* lats_;
|
||||
double* lons_;
|
||||
long Nj_;
|
||||
|
||||
private:
|
||||
int init_sphere(grib_handle*,
|
||||
size_t, long, long,
|
||||
double, double, double,
|
||||
double, double,
|
||||
double, double,
|
||||
long, long, long);
|
||||
int init_sphere(grib_handle*,
|
||||
size_t, long, long,
|
||||
double, double, double,
|
||||
double, double,
|
||||
double, double,
|
||||
long, long, long);
|
||||
|
||||
int init_oblate(grib_handle*,
|
||||
size_t, long, long,
|
||||
double, double, double, double,
|
||||
double, double,
|
||||
double, double,
|
||||
long, long, long);
|
||||
int init_oblate(grib_handle*,
|
||||
size_t, long, long,
|
||||
double, double, double, double,
|
||||
double, double,
|
||||
double, double,
|
||||
long, long, long);
|
||||
};
|
||||
|
||||
} // namespace geo
|
||||
|
|
Loading…
Reference in New Issue