Dead code removal

This commit is contained in:
shahramn 2024-08-18 11:37:45 +01:00
parent f08321e392
commit 11ea6745c3
9 changed files with 9 additions and 9 deletions

View File

@ -26,5 +26,5 @@ class grib_accessor_class_abstract_long_vector_t : public grib_accessor_class_ge
{
public:
grib_accessor_class_abstract_long_vector_t(const char* name) : grib_accessor_class_gen_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_abstract_long_vector_t{}; }
//grib_accessor* create_empty_accessor() override { return new grib_accessor_abstract_long_vector_t{}; }
};

View File

@ -25,5 +25,5 @@ class grib_accessor_class_abstract_vector_t : public grib_accessor_class_double_
{
public:
grib_accessor_class_abstract_vector_t(const char* name) : grib_accessor_class_double_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_abstract_vector_t{}; }
// grib_accessor* create_empty_accessor() override { return new grib_accessor_abstract_vector_t{}; }
};

View File

@ -27,7 +27,7 @@ class grib_accessor_class_bitmap_t : public grib_accessor_class_bytes_t
{
public:
grib_accessor_class_bitmap_t(const char* name) : grib_accessor_class_bytes_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_bitmap_t{}; }
//grib_accessor* create_empty_accessor() override { return new grib_accessor_bitmap_t{}; }
int unpack_double(grib_accessor*, double* val, size_t* len) override;
int unpack_float(grib_accessor*, float* val, size_t* len) override;
int unpack_long(grib_accessor*, long* val, size_t* len) override;

View File

@ -37,7 +37,7 @@ class grib_accessor_class_data_complex_packing_t : public grib_accessor_class_da
{
public:
grib_accessor_class_data_complex_packing_t(const char* name) : grib_accessor_class_data_simple_packing_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_data_complex_packing_t{}; }
// grib_accessor* create_empty_accessor() override { return new grib_accessor_data_complex_packing_t{}; }
int pack_double(grib_accessor*, const double* val, size_t* len) override;
int unpack_double(grib_accessor*, double* val, size_t* len) override;
int unpack_float(grib_accessor*, float* val, size_t* len) override;

View File

@ -26,7 +26,7 @@ class grib_accessor_class_data_secondary_bitmap_t : public grib_accessor_class_g
{
public:
grib_accessor_class_data_secondary_bitmap_t(const char* name) : grib_accessor_class_gen_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_data_secondary_bitmap_t{}; }
// grib_accessor* create_empty_accessor() override { return new grib_accessor_data_secondary_bitmap_t{}; }
int get_native_type(grib_accessor*) override;
int unpack_double(grib_accessor*, double* val, size_t* len) override;
void dump(grib_accessor*, grib_dumper*) override;

View File

@ -25,7 +25,7 @@ class grib_accessor_class_data_shsimple_packing_t : public grib_accessor_class_g
{
public:
grib_accessor_class_data_shsimple_packing_t(const char* name) : grib_accessor_class_gen_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_data_shsimple_packing_t{}; }
// grib_accessor* create_empty_accessor() override { return new grib_accessor_data_shsimple_packing_t{}; }
int get_native_type(grib_accessor*) override;
int pack_double(grib_accessor*, const double* val, size_t* len) override;
void dump(grib_accessor*, grib_dumper*) override;

View File

@ -33,7 +33,7 @@ class grib_accessor_class_data_simple_packing_t : public grib_accessor_class_val
{
public:
grib_accessor_class_data_simple_packing_t(const char* name) : grib_accessor_class_values_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_data_simple_packing_t{}; }
// grib_accessor* create_empty_accessor() override { return new grib_accessor_data_simple_packing_t{}; }
int pack_double(grib_accessor*, const double* val, size_t* len) override;
int unpack_double(grib_accessor*, double* val, size_t* len) override;
int unpack_float(grib_accessor*, float* val, size_t* len) override;

View File

@ -18,7 +18,7 @@ class grib_accessor_class_double_t : public grib_accessor_class_gen_t
{
public:
grib_accessor_class_double_t(const char* name) : grib_accessor_class_gen_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_double_t{}; }
//grib_accessor* create_empty_accessor() override { return new grib_accessor_double_t{}; }
int get_native_type(grib_accessor*) override;
int pack_missing(grib_accessor*) override;
int unpack_string(grib_accessor*, char*, size_t* len) override;

View File

@ -23,7 +23,7 @@ class grib_accessor_class_padding_t : public grib_accessor_class_bytes_t
{
public:
grib_accessor_class_padding_t(const char* name) : grib_accessor_class_bytes_t(name) {}
grib_accessor* create_empty_accessor() override { return new grib_accessor_padding_t{}; }
//grib_accessor* create_empty_accessor() override { return new grib_accessor_padding_t{}; }
size_t string_length(grib_accessor*) override;
long byte_count(grib_accessor*) override;
int value_count(grib_accessor*, long*) override;