Skip to content

Commit

Permalink
ECC-1820: Remove unnecessary header files
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed May 8, 2024
1 parent 0d802de commit e0f2213
Show file tree
Hide file tree
Showing 181 changed files with 19 additions and 254 deletions.
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_abstract_long_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_abstract_long_vector_h
#define eccodes_accessor_abstract_long_vector_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_abstract_long_vector_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_abstract_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_abstract_vector_h
#define eccodes_accessor_abstract_vector_h

#include "grib_api_internal.h"
#include "grib_accessor_class_double.h"

class grib_accessor_abstract_vector_t : public grib_accessor_double_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_ascii.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_ascii_h
#define eccodes_accessor_ascii_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_ascii_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bit.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bit_h
#define eccodes_accessor_bit_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_bit_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bitmap_h
#define eccodes_accessor_bitmap_h

#include "grib_api_internal.h"
#include "grib_accessor_class_bytes.h"

class grib_accessor_bitmap_t : public grib_accessor_bytes_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bits_h
#define eccodes_accessor_bits_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bits_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bits_per_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bits_per_value_h
#define eccodes_accessor_bits_per_value_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_bits_per_value_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_blob.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_blob_h
#define eccodes_accessor_blob_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_blob_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_budgdate.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_budgdate_h
#define eccodes_accessor_budgdate_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_budgdate_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bufr_data_element.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_data_element_h
#define eccodes_accessor_bufr_data_element_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bufr_data_element_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bufr_elements_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_elements_table_h
#define eccodes_accessor_bufr_elements_table_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bufr_elements_table_t : public grib_accessor_gen_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_extract_area_subsets_h
#define eccodes_accessor_bufr_extract_area_subsets_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bufr_extract_area_subsets_t : public grib_accessor_gen_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_extract_datetime_subsets_h
#define eccodes_accessor_bufr_extract_datetime_subsets_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bufr_extract_datetime_subsets_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bufr_extract_subsets.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_extract_subsets_h
#define eccodes_accessor_bufr_extract_subsets_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bufr_extract_subsets_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bufr_group.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_group_h
#define eccodes_accessor_bufr_group_h

#include "grib_api_internal.h"
#include "grib_accessor_class_variable.h"

class grib_accessor_bufr_group_t : public grib_accessor_variable_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bufr_simple_thinning.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_simple_thinning_h
#define eccodes_accessor_bufr_simple_thinning_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bufr_simple_thinning_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bufr_string_values.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufr_string_values_h
#define eccodes_accessor_bufr_string_values_h

#include "grib_api_internal.h"
#include "grib_accessor_class_ascii.h"

class grib_accessor_bufr_string_values_t : public grib_accessor_ascii_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bufrdc_expanded_descriptors_h
#define eccodes_accessor_bufrdc_expanded_descriptors_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_bufrdc_expanded_descriptors_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_bytes.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_bytes_h
#define eccodes_accessor_bytes_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_bytes_t : public grib_accessor_gen_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_change_alternative_row_scanning_h
#define eccodes_accessor_change_alternative_row_scanning_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_change_alternative_row_scanning_t : public grib_accessor_gen_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_change_scanning_direction_h
#define eccodes_accessor_change_scanning_direction_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_change_scanning_direction_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_check_internal_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_check_internal_version_h
#define eccodes_accessor_check_internal_version_h

#include "grib_api_internal.h"
#include "grib_accessor_class_ascii.h"

class grib_accessor_check_internal_version_t : public grib_accessor_ascii_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_closest_date.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_closest_date_h
#define eccodes_accessor_closest_date_h

#include "grib_api_internal.h"
#include "grib_accessor_class_double.h"

class grib_accessor_closest_date_t : public grib_accessor_double_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_codeflag.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_codeflag_h
#define eccodes_accessor_codeflag_h

#include "grib_api_internal.h"
#include "grib_accessor_class_unsigned.h"

class grib_accessor_codeflag_t : public grib_accessor_unsigned_t
Expand Down
6 changes: 0 additions & 6 deletions src/accessor/grib_accessor_class_codetable.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,11 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

/*****************************************
* Enrico Fucile
****************************************/

#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_unsigned.h"
#include <cctype>


class grib_accessor_codetable_t : public grib_accessor_unsigned_t
{
public:
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_codetable_title.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_codetable_title_h
#define eccodes_accessor_codetable_title_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_codetable_title_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_codetable_units.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_codetable_units_h
#define eccodes_accessor_codetable_units_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_codetable_units_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_concept.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_concept_h
#define eccodes_accessor_concept_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_concept_t : public grib_accessor_gen_t
Expand Down
6 changes: 0 additions & 6 deletions src/accessor/grib_accessor_class_constant.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/


/*************************************
* Enrico Fucile
**************************************/

#include "grib_api_internal.h"
#include "grib_accessor_class_variable.h"

class grib_accessor_constant_t : public grib_accessor_variable_t {};
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_count_file.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_count_file_h
#define eccodes_accessor_count_file_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_count_file_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_count_missing.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_count_missing_h
#define eccodes_accessor_count_missing_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_count_missing_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_count_total.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_count_total_h
#define eccodes_accessor_count_total_h

#include "grib_api_internal.h"
#include "grib_accessor_class_long.h"

class grib_accessor_count_total_t : public grib_accessor_long_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_data_apply_bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_data_apply_bitmap_t : public grib_accessor_gen_t
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_data_apply_boustrophedonic_bitmap_h
#define eccodes_accessor_data_apply_boustrophedonic_bitmap_h

#include "grib_api_internal.h"
#include "grib_accessor_class_gen.h"

class grib_accessor_data_apply_boustrophedonic_bitmap_t : public grib_accessor_gen_t
Expand Down
1 change: 0 additions & 1 deletion src/accessor/grib_accessor_class_data_dummy_field.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#ifndef eccodes_accessor_data_dummy_field_h
#define eccodes_accessor_data_dummy_field_h

#include "grib_api_internal.h"
#include "grib_accessor_class_data_g1simple_packing.h"

class grib_accessor_data_dummy_field_t : public grib_accessor_data_g1simple_packing_t
Expand Down
5 changes: 1 addition & 4 deletions src/accessor/grib_accessor_class_data_g1complex_packing.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

#ifndef eccodes_accessor_data_g1complex_packing_h
#define eccodes_accessor_data_g1complex_packing_h
#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_data_complex_packing.h"

class grib_accessor_data_g1complex_packing_t : public grib_accessor_data_complex_packing_t
Expand All @@ -34,4 +32,3 @@ class grib_accessor_class_data_g1complex_packing_t : public grib_accessor_class_
int pack_double(grib_accessor*, const double* val, size_t* len) override;
void init(grib_accessor*, const long, grib_arguments*) override;
};
#endif /* eccodes_accessor_data_g1complex_packing_h */
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

#ifndef eccodes_accessor_data_g1second_order_constant_width_packing_h
#define eccodes_accessor_data_g1second_order_constant_width_packing_h
#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_data_simple_packing.h"

class grib_accessor_data_g1second_order_constant_width_packing_t : public grib_accessor_data_simple_packing_t
Expand Down Expand Up @@ -50,4 +48,3 @@ class grib_accessor_class_data_g1second_order_constant_width_packing_t : public
int unpack_double_element(grib_accessor*, size_t i, double* val) override;
int unpack_double_element_set(grib_accessor*, const size_t* index_array, size_t len, double* val_array) override;
};
#endif /* eccodes_accessor_data_g1second_order_constant_width_packing_h */
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

#ifndef eccodes_accessor_data_g1second_order_general_extended_packing_h
#define eccodes_accessor_data_g1second_order_general_extended_packing_h
#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_data_simple_packing.h"

class grib_accessor_data_g1second_order_general_extended_packing_t : public grib_accessor_data_simple_packing_t
Expand Down Expand Up @@ -65,4 +63,3 @@ class grib_accessor_class_data_g1second_order_general_extended_packing_t : publi
private:
int unpack(grib_accessor* a, double*, float*, size_t*);
};
#endif /* eccodes_accessor_data_g1second_order_general_extended_packing_h */
5 changes: 1 addition & 4 deletions src/accessor/grib_accessor_class_data_g1secondary_bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

#ifndef eccodes_accessor_data_g1secondary_bitmap_h
#define eccodes_accessor_data_g1secondary_bitmap_h
#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_data_secondary_bitmap.h"

class grib_accessor_data_g1secondary_bitmap_t : public grib_accessor_data_secondary_bitmap_t
Expand All @@ -31,4 +29,3 @@ class grib_accessor_class_data_g1secondary_bitmap_t : public grib_accessor_class
int value_count(grib_accessor*, long*) override;
void init(grib_accessor*, const long, grib_arguments*) override;
};
#endif /* eccodes_accessor_data_g1secondary_bitmap_h */
5 changes: 1 addition & 4 deletions src/accessor/grib_accessor_class_data_g1shsimple_packing.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

#ifndef eccodes_accessor_data_g1shsimple_packing_h
#define eccodes_accessor_data_g1shsimple_packing_h
#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_data_shsimple_packing.h"

class grib_accessor_data_g1shsimple_packing_t : public grib_accessor_data_shsimple_packing_t
Expand All @@ -29,4 +27,3 @@ class grib_accessor_class_data_g1shsimple_packing_t : public grib_accessor_class
int unpack_double(grib_accessor*, double* val, size_t* len) override;
int value_count(grib_accessor*, long*) override;
};
#endif /* eccodes_accessor_data_g1shsimple_packing_h */
5 changes: 1 addition & 4 deletions src/accessor/grib_accessor_class_data_g1simple_packing.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/

#ifndef eccodes_accessor_data_g1simple_packing_h
#define eccodes_accessor_data_g1simple_packing_h
#pragma once

#include "grib_api_internal.h"
#include "grib_accessor_class_data_simple_packing.h"

class grib_accessor_data_g1simple_packing_t : public grib_accessor_data_simple_packing_t
Expand All @@ -34,4 +32,3 @@ class grib_accessor_class_data_g1simple_packing_t : public grib_accessor_class_d
int value_count(grib_accessor*, long*) override;
void init(grib_accessor*, const long, grib_arguments*) override;
};
#endif /* eccodes_accessor_data_g1simple_packing_h */
Loading

0 comments on commit e0f2213

Please sign in to comment.