Merge branch 'develop' into bugfix/bufr_memory_leak

This commit is contained in:
Eugen Betke 2024-10-23 17:27:48 +02:00
commit dfb20eeb8d
188 changed files with 815 additions and 886 deletions

View File

@ -17,10 +17,14 @@ class grib_accessor
{
public:
grib_accessor() :
context_(nullptr), name_(nullptr), class_name_(nullptr), name_space_(nullptr), h_(nullptr), creator_(nullptr), length_(0), offset_(0), parent_(nullptr), next_(nullptr), previous_(nullptr), flags_(0), sub_section_(nullptr), dirty_(0), same_(nullptr), loop_(0), vvalue_(nullptr), set_(nullptr), parent_as_attribute_(nullptr) {}
context_(nullptr), name_(nullptr), class_name_(nullptr), name_space_(nullptr), h_(nullptr),
creator_(nullptr), length_(0), offset_(0), parent_(nullptr), next_(nullptr), previous_(nullptr),
flags_(0), sub_section_(nullptr), dirty_(0), same_(nullptr), loop_(0), vvalue_(nullptr), set_(nullptr), parent_as_attribute_(nullptr) {}
grib_accessor(const char* name) :
context_(nullptr), name_(name), class_name_(nullptr), name_space_(nullptr), h_(nullptr), creator_(nullptr), length_(0), offset_(0), parent_(nullptr), next_(nullptr), previous_(nullptr), flags_(0), sub_section_(nullptr), dirty_(0), same_(nullptr), loop_(0), vvalue_(nullptr), set_(nullptr), parent_as_attribute_(nullptr) {}
context_(nullptr), name_(name), class_name_(nullptr), name_space_(nullptr), h_(nullptr),
creator_(nullptr), length_(0), offset_(0), parent_(nullptr), next_(nullptr), previous_(nullptr),
flags_(0), sub_section_(nullptr), dirty_(0), same_(nullptr), loop_(0), vvalue_(nullptr), set_(nullptr), parent_as_attribute_(nullptr) {}
virtual ~grib_accessor() {}
virtual void init_accessor(const long, grib_arguments*) = 0;
@ -78,34 +82,28 @@ public:
public:
// TODO(maee): make private
grib_context* context_;
const char* name_; /** < name of the accessor */
const char* class_name_; /** < name of the class (Artifact from C version of ecCodes) */
const char* name_space_; /** < namespace to which the accessor belongs */
grib_handle* h_;
grib_action* creator_; /** < action that created the accessor */
long length_; /** < byte length of the accessor */
long offset_; /** < offset of the data in the buffer */
grib_section* parent_; /** < section to which the accessor is attached */
grib_accessor* next_; /** < next accessor in list */
grib_accessor* previous_; /** < next accessor in list */
unsigned long flags_; /** < Various flags */
grib_section* sub_section_;
grib_context* context_ = nullptr;
const char* name_ = nullptr; // name of the accessor
const char* class_name_ = nullptr; // name of the class (Artifact from C version of ecCodes)
const char* name_space_ = nullptr; // namespace to which the accessor belongs
grib_handle* h_ = nullptr;
grib_action* creator_ = nullptr; // action that created the accessor
long length_ = 0; // byte length of the accessor
long offset_ = 0; // offset of the data in the buffer
grib_section* parent_ = nullptr; // section to which the accessor is attached
grib_accessor* next_ = nullptr; // next accessor in list
grib_accessor* previous_ = nullptr; // next accessor in list
unsigned long flags_ = 0; // Various flags
grib_section* sub_section_ = nullptr;
const char* all_names_[MAX_ACCESSOR_NAMES] = {
0,
}; /** < name of the accessor */
const char* all_name_spaces_[MAX_ACCESSOR_NAMES] = {
0,
}; /** < namespace to which the accessor belongs */
int dirty_;
const char* all_names_[MAX_ACCESSOR_NAMES] = {0,}; // name of the accessor
const char* all_name_spaces_[MAX_ACCESSOR_NAMES] = {0,}; // namespace to which the accessor belongs
int dirty_ = 0;
grib_accessor* same_; /** < accessors with the same name */
long loop_; /** < used in lists */
grib_virtual_value* vvalue_; /** < virtual value used when transient flag on **/
const char* set_;
grib_accessor* attributes_[MAX_ACCESSOR_ATTRIBUTES] = {
0,
}; /** < attributes are accessors */
grib_accessor* parent_as_attribute_;
grib_accessor* same_ = nullptr; // accessors with the same name
long loop_ = 0; // used in lists
grib_virtual_value* vvalue_ = nullptr; // virtual value used when transient flag on
const char* set_ = nullptr;
grib_accessor* attributes_[MAX_ACCESSOR_ATTRIBUTES] = {0,}; // attributes are accessors
grib_accessor* parent_as_attribute_ = nullptr;
};

View File

@ -21,7 +21,7 @@ public:
public:
// TODO(maee): make private
long* v_;
long pack_index_;
int number_of_elements_;
long* v_ = nullptr;
long pack_index_ = 0;
int number_of_elements_ = 0;
};

View File

@ -21,6 +21,6 @@ public:
public:
// TODO(maee): make private
double* v_;
int number_of_elements_;
double* v_ = nullptr;
int number_of_elements_ = 0;
};

View File

@ -23,6 +23,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* owner_;
int bit_index_;
const char* owner_ = nullptr;
int bit_index_ = 0;
};

View File

@ -31,12 +31,12 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
protected:
const char* missing_value_;
const char* missing_value_ = nullptr;
private:
const char* tableReference_;
const char* offsetbsec_;
const char* sLength_;
const char* tableReference_ = nullptr;
const char* offsetbsec_ = nullptr;
const char* sLength_ = nullptr;
void compute_size();
};

View File

@ -29,10 +29,10 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* argument_;
long start_;
long len_;
double referenceValue_;
double referenceValuePresent_;
double scale_;
const char* argument_ = nullptr;
long start_ = 0;
long len_ = 0;
double referenceValue_ = 0.;
double referenceValuePresent_ = 0.;
double scale_ = 0.;
};

View File

@ -23,6 +23,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* values_;
const char* bits_per_value_;
const char* values_ = nullptr;
const char* bits_per_value_ = nullptr;
};

View File

@ -23,7 +23,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* year_;
const char* month_;
const char* day_;
const char* year_ = nullptr;
const char* month_ = nullptr;
const char* day_ = nullptr;
};

View File

@ -47,53 +47,53 @@ public:
grib_vsarray* accessor_bufr_data_array_get_stringValues();
private:
const char* bufrDataEncodedName_;
const char* numberOfSubsetsName_;
const char* expandedDescriptorsName_;
const char* flagsName_;
const char* unitsName_;
const char* elementsDescriptorsIndexName_;
const char* compressedDataName_;
bufr_descriptors_array* expanded_;
grib_accessor_expanded_descriptors_t* expandedAccessor_;
int* canBeMissing_;
long numberOfSubsets_;
long compressedData_;
grib_vdarray* numericValues_;
grib_vsarray* stringValues_;
grib_viarray* elementsDescriptorsIndex_;
int do_decode_;
int bitmapStartElementsDescriptorsIndex_;
int bitmapCurrentElementsDescriptorsIndex_;
int bitmapSize_;
int bitmapStart_;
int bitmapCurrent_;
grib_accessors_list* dataAccessors_;
int unpackMode_;
int bitsToEndData_;
grib_section* dataKeys_;
double* inputBitmap_;
int nInputBitmap_;
int iInputBitmap_;
long* inputReplications_;
int nInputReplications_;
int iInputReplications_;
long* inputExtendedReplications_;
int nInputExtendedReplications_;
int iInputExtendedReplications_;
long* inputShortReplications_;
int nInputShortReplications_;
int iInputShortReplications_;
grib_iarray* iss_list_;
grib_trie_with_rank* dataAccessorsTrie_;
grib_sarray* tempStrings_;
grib_vdarray* tempDoubleValues_;
int change_ref_value_operand_;
size_t refValListSize_;
long* refValList_;
long refValIndex_;
bufr_tableb_override* tableb_override_;
int set_to_missing_if_out_of_range_;
const char* bufrDataEncodedName_ = nullptr;
const char* numberOfSubsetsName_ = nullptr;
const char* expandedDescriptorsName_ = nullptr;
const char* flagsName_ = nullptr;
const char* unitsName_ = nullptr;
const char* elementsDescriptorsIndexName_ = nullptr;
const char* compressedDataName_ = nullptr;
bufr_descriptors_array* expanded_ = nullptr;
grib_accessor_expanded_descriptors_t* expandedAccessor_ = nullptr;
int* canBeMissing_ = nullptr;
long numberOfSubsets_ = 0;
long compressedData_ = 0;
grib_vdarray* numericValues_ = nullptr;
grib_vsarray* stringValues_ = nullptr;
grib_viarray* elementsDescriptorsIndex_ = nullptr;
int do_decode_ = 0;
int bitmapStartElementsDescriptorsIndex_ = 0;
int bitmapCurrentElementsDescriptorsIndex_ = 0;
int bitmapSize_ = 0;
int bitmapStart_ = 0;
int bitmapCurrent_ = 0;
grib_accessors_list* dataAccessors_ = nullptr;
int unpackMode_ = 0;
int bitsToEndData_ = 0;
grib_section* dataKeys_ = nullptr;
double* inputBitmap_ = nullptr;
int nInputBitmap_ = 0;
int iInputBitmap_ = 0;
long* inputReplications_ = nullptr;
int nInputReplications_ = 0;
int iInputReplications_ = 0;
long* inputExtendedReplications_ = nullptr;
int nInputExtendedReplications_ = 0;
int iInputExtendedReplications_ = 0;
long* inputShortReplications_ = nullptr;
int nInputShortReplications_ = 0;
int iInputShortReplications_ = 0;
grib_iarray* iss_list_ = nullptr;
grib_trie_with_rank* dataAccessorsTrie_ = nullptr;
grib_sarray* tempStrings_ = nullptr;
grib_vdarray* tempDoubleValues_ = nullptr;
int change_ref_value_operand_ = 0;
size_t refValListSize_ = 0;
long* refValList_ = nullptr;
long refValIndex_ = 0;
bufr_tableb_override* tableb_override_ = nullptr;
int set_to_missing_if_out_of_range_ = 0;
void restart_bitmap();
void cancel_bitmap();

View File

@ -48,14 +48,14 @@ public:
void elementsDescriptorsIndex(grib_viarray* elementsDescriptorsIndex) { elementsDescriptorsIndex_ = elementsDescriptorsIndex; }
private:
long index_;
int type_;
long compressedData_;
long subsetNumber_;
long numberOfSubsets_;
bufr_descriptors_array* descriptors_;
grib_vdarray* numericValues_;
grib_vsarray* stringValues_;
grib_viarray* elementsDescriptorsIndex_;
char* cname_;
long index_ = 0;
int type_ = 0;
long compressedData_ = 0;
long subsetNumber_ = 0;
long numberOfSubsets_ = 0;
bufr_descriptors_array* descriptors_ = nullptr;
grib_vdarray* numericValues_ = nullptr;
grib_vsarray* stringValues_ = nullptr;
grib_viarray* elementsDescriptorsIndex_ = nullptr;
char* cname_ = nullptr;
};

View File

@ -26,9 +26,9 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* dictionary_;
const char* masterDir_;
const char* localDir_;
const char* dictionary_ = nullptr;
const char* masterDir_ = nullptr;
const char* localDir_ = nullptr;
grib_trie* load_bufr_elements_table(int* err);
int bufr_get_from_table(bufr_descriptor* v);

View File

@ -23,16 +23,16 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* doExtractSubsets_;
const char* numberOfSubsets_;
const char* extractSubsetList_;
const char* extractAreaWestLongitude_;
const char* extractAreaEastLongitude_;
const char* extractAreaNorthLatitude_;
const char* extractAreaSouthLatitude_;
const char* extractAreaLongitudeRank_;
const char* extractAreaLatitudeRank_;
const char* extractedAreaNumberOfSubsets_;
const char* doExtractSubsets_ = nullptr;
const char* numberOfSubsets_ = nullptr;
const char* extractSubsetList_ = nullptr;
const char* extractAreaWestLongitude_ = nullptr;
const char* extractAreaEastLongitude_ = nullptr;
const char* extractAreaNorthLatitude_ = nullptr;
const char* extractAreaSouthLatitude_ = nullptr;
const char* extractAreaLongitudeRank_ = nullptr;
const char* extractAreaLatitudeRank_ = nullptr;
const char* extractedAreaNumberOfSubsets_ = nullptr;
int select_area();
};

View File

@ -23,9 +23,9 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* doExtractSubsets_;
const char* numberOfSubsets_;
const char* extractSubsetList_;
const char* doExtractSubsets_ = nullptr;
const char* numberOfSubsets_ = nullptr;
const char* extractSubsetList_ = nullptr;
int select_datetime();
};

View File

@ -23,10 +23,10 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* numericValues_;
const char* pack_;
grib_accessor* numericValuesAccessor_;
grib_accessor* packAccessor_;
const char* numericValues_ = nullptr;
const char* pack_ = nullptr;
grib_accessor* numericValuesAccessor_ = nullptr;
grib_accessor* packAccessor_ = nullptr;
void get_accessors();
};

View File

@ -23,12 +23,12 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* doExtractSubsets_;
const char* numberOfSubsets_;
const char* extractSubsetList_;
const char* simpleThinningStart_;
const char* simpleThinningMissingRadius_;
const char* simpleThinningSkip_;
const char* doExtractSubsets_ = nullptr;
const char* numberOfSubsets_ = nullptr;
const char* extractSubsetList_ = nullptr;
const char* simpleThinningStart_ = nullptr;
const char* simpleThinningMissingRadius_ = nullptr;
const char* simpleThinningSkip_ = nullptr;
int apply_thinning();
};

View File

@ -26,8 +26,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* dataAccessorName_;
grib_accessor* dataAccessor_;
const char* dataAccessorName_ = nullptr;
grib_accessor* dataAccessor_ = nullptr;
grib_accessor* get_accessor();
};

View File

@ -25,8 +25,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* expandedDescriptors_;
grib_accessor* expandedDescriptorsAccessor_;
const char* expandedDescriptors_ = nullptr;
grib_accessor* expandedDescriptorsAccessor_ = nullptr;
grib_accessor* get_accessor();
};

View File

@ -23,6 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
/* Members defined in cf_var_name */
const char* defaultKey_;
const char* defaultKey_ = nullptr;
};

View File

@ -24,8 +24,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* values_;
const char* Ni_;
const char* Nj_;
const char* alternativeRowScanning_;
const char* values_ = nullptr;
const char* Ni_ = nullptr;
const char* Nj_ = nullptr;
const char* alternativeRowScanning_ = nullptr;
};

View File

@ -24,12 +24,12 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* values_;
const char* Ni_;
const char* Nj_;
const char* i_scans_negatively_;
const char* j_scans_positively_;
const char* first_;
const char* last_;
const char* axis_;
const char* values_ = nullptr;
const char* Ni_ = nullptr;
const char* Nj_ = nullptr;
const char* i_scans_negatively_ = nullptr;
const char* j_scans_positively_ = nullptr;
const char* first_ = nullptr;
const char* last_ = nullptr;
const char* axis_ = nullptr;
};

View File

@ -24,13 +24,13 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* dateLocal_;
const char* timeLocal_;
const char* numForecasts_;
const char* year_;
const char* month_;
const char* day_;
const char* hour_;
const char* minute_;
const char* second_;
const char* dateLocal_ = nullptr;
const char* timeLocal_ = nullptr;
const char* numForecasts_ = nullptr;
const char* year_ = nullptr;
const char* month_ = nullptr;
const char* day_ = nullptr;
const char* hour_ = nullptr;
const char* minute_ = nullptr;
const char* second_ = nullptr;
};

View File

@ -23,7 +23,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* tablename_;
const char* tablename_ = nullptr;
int grib_get_codeflag(long code, char* codename);
};

View File

@ -33,11 +33,11 @@ public:
grib_codetable* codetable() const { return table_; }
private:
grib_codetable* table_;
const char* tablename_;
const char* masterDir_;
const char* localDir_;
int table_loaded_;
grib_codetable* table_ = nullptr;
const char* tablename_ = nullptr;
const char* masterDir_ = nullptr;
const char* localDir_ = nullptr;
int table_loaded_ = 0;
grib_codetable* load_table();
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* codetable_;
const char* codetable_ = nullptr;
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* codetable_;
const char* codetable_ = nullptr;
};

View File

@ -23,8 +23,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* bitmap_;
const char* unusedBitsInBitmap_;
const char* numberOfDataPoints_;
const char* missingValueManagementUsed_;
const char* bitmap_ = nullptr;
const char* unusedBitsInBitmap_ = nullptr;
const char* numberOfDataPoints_ = nullptr;
const char* missingValueManagementUsed_ = nullptr;
};

View File

@ -30,12 +30,12 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* coded_values_;
const char* bitmap_;
const char* missing_value_;
const char* number_of_data_points_;
const char* number_of_values_;
const char* binary_scale_factor_;
const char* coded_values_ = nullptr;
const char* bitmap_ = nullptr;
const char* missing_value_ = nullptr;
const char* number_of_data_points_ = nullptr;
const char* number_of_values_ = nullptr;
const char* binary_scale_factor_ = nullptr;
template <typename T> int unpack(T* val, size_t* len);
};

View File

@ -29,11 +29,11 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* values_;
const char* numberOfRows_;
const char* numberOfColumns_;
const char* numberOfPoints_;
const char* pl_;
const char* values_ = nullptr;
const char* numberOfRows_ = nullptr;
const char* numberOfColumns_ = nullptr;
const char* numberOfPoints_ = nullptr;
const char* pl_ = nullptr;
template <typename T> int unpack(T* val, size_t* len);
};

View File

@ -28,11 +28,11 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* coded_values_;
const char* bitmap_;
const char* missing_value_;
const char* binary_scale_factor_;
const char* numberOfRows_;
const char* numberOfColumns_;
const char* numberOfPoints_;
const char* coded_values_ = nullptr;
const char* bitmap_ = nullptr;
const char* missing_value_ = nullptr;
const char* binary_scale_factor_ = nullptr;
const char* numberOfRows_ = nullptr;
const char* numberOfColumns_ = nullptr;
const char* numberOfPoints_ = nullptr;
};

View File

@ -28,16 +28,16 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* number_of_values_;
const char* reference_value_;
const char* binary_scale_factor_;
const char* decimal_scale_factor_;
const char* optimize_scaling_factor_;
const char* bits_per_value_;
const char* number_of_data_points_;
const char* ccsds_flags_;
const char* ccsds_block_size_;
const char* ccsds_rsi_;
const char* number_of_values_ = nullptr;
const char* reference_value_ = nullptr;
const char* binary_scale_factor_ = nullptr;
const char* decimal_scale_factor_ = nullptr;
const char* optimize_scaling_factor_ = nullptr;
const char* bits_per_value_ = nullptr;
const char* number_of_data_points_ = nullptr;
const char* ccsds_flags_ = nullptr;
const char* ccsds_block_size_ = nullptr;
const char* ccsds_rsi_ = nullptr;
template <typename T> int unpack(T* val, size_t* len);
};

View File

@ -30,18 +30,18 @@ public:
void init(const long, grib_arguments*) override;
protected:
const char* sub_j_;
const char* sub_k_;
const char* sub_m_;
const char* sub_j_ = nullptr;
const char* sub_k_ = nullptr;
const char* sub_m_ = nullptr;
private:
const char* GRIBEX_sh_bug_present_;
const char* ieee_floats_;
const char* laplacianOperatorIsSet_;
const char* laplacianOperator_;
const char* pen_j_;
const char* pen_k_;
const char* pen_m_;
const char* GRIBEX_sh_bug_present_ = nullptr;
const char* ieee_floats_ = nullptr;
const char* laplacianOperatorIsSet_ = nullptr;
const char* laplacianOperator_ = nullptr;
const char* pen_j_ = nullptr;
const char* pen_k_ = nullptr;
const char* pen_m_ = nullptr;
template <typename T> int unpack_real(T* val, size_t* len);
};

View File

@ -24,7 +24,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* missing_value_;
const char* numberOfPoints_;
const char* bitmap_;
const char* missing_value_ = nullptr;
const char* numberOfPoints_ = nullptr;
const char* bitmap_ = nullptr;
};

View File

@ -22,9 +22,9 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* N_;
const char* half_byte_;
const char* packingType_;
const char* ieee_packing_;
const char* precision_;
const char* N_ = nullptr;
const char* half_byte_ = nullptr;
const char* packingType_ = nullptr;
const char* ieee_packing_ = nullptr;
const char* precision_ = nullptr;
};

View File

@ -27,20 +27,20 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* half_byte_;
const char* packingType_;
const char* ieee_packing_;
const char* precision_;
const char* widthOfFirstOrderValues_;
const char* N1_;
const char* N2_;
const char* numberOfGroups_;
const char* numberOfSecondOrderPackedValues_;
const char* extraValues_;
const char* pl_;
const char* Ni_;
const char* Nj_;
const char* jPointsAreConsecutive_;
const char* bitmap_;
const char* groupWidth_;
const char* half_byte_ = nullptr;
const char* packingType_ = nullptr;
const char* ieee_packing_ = nullptr;
const char* precision_ = nullptr;
const char* widthOfFirstOrderValues_ = nullptr;
const char* N1_ = nullptr;
const char* N2_ = nullptr;
const char* numberOfGroups_ = nullptr;
const char* numberOfSecondOrderPackedValues_ = nullptr;
const char* extraValues_ = nullptr;
const char* pl_ = nullptr;
const char* Ni_ = nullptr;
const char* Nj_ = nullptr;
const char* jPointsAreConsecutive_ = nullptr;
const char* bitmap_ = nullptr;
const char* groupWidth_ = nullptr;
};

View File

@ -31,31 +31,31 @@ private:
int unpack(double*, float*, size_t*);
private:
const char* half_byte_;
const char* packingType_;
const char* ieee_packing_;
const char* precision_;
const char* widthOfFirstOrderValues_;
const char* firstOrderValues_;
const char* N1_;
const char* N2_;
const char* numberOfGroups_;
const char* codedNumberOfGroups_;
const char* numberOfSecondOrderPackedValues_;
const char* extraValues_;
const char* groupWidths_;
const char* widthOfWidths_;
const char* groupLengths_;
const char* widthOfLengths_;
const char* NL_;
const char* SPD_;
const char* widthOfSPD_;
const char* orderOfSPD_;
const char* numberOfPoints_;
const char* dataFlag_;
double* dvalues_;
float* fvalues_;
int double_dirty_;
int float_dirty_;
size_t size_;
const char* half_byte_ = nullptr;
const char* packingType_ = nullptr;
const char* ieee_packing_ = nullptr;
const char* precision_ = nullptr;
const char* widthOfFirstOrderValues_ = nullptr;
const char* firstOrderValues_ = nullptr;
const char* N1_ = nullptr;
const char* N2_ = nullptr;
const char* numberOfGroups_ = nullptr;
const char* codedNumberOfGroups_ = nullptr;
const char* numberOfSecondOrderPackedValues_ = nullptr;
const char* extraValues_ = nullptr;
const char* groupWidths_ = nullptr;
const char* widthOfWidths_ = nullptr;
const char* groupLengths_ = nullptr;
const char* widthOfLengths_ = nullptr;
const char* NL_ = nullptr;
const char* SPD_ = nullptr;
const char* widthOfSPD_ = nullptr;
const char* orderOfSPD_ = nullptr;
const char* numberOfPoints_ = nullptr;
const char* dataFlag_ = nullptr;
double* dvalues_ = nullptr;
float* fvalues_ = nullptr;
int double_dirty_ = 0;
int float_dirty_ = 0;
size_t size_ = 0;
};

View File

@ -26,22 +26,22 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* half_byte_;
const char* packingType_;
const char* ieee_packing_;
const char* precision_;
const char* widthOfFirstOrderValues_;
const char* N1_;
const char* N2_;
const char* numberOfGroups_;
const char* numberOfSecondOrderPackedValues_;
const char* extraValues_;
const char* pl_;
const char* Ni_;
const char* Nj_;
const char* jPointsAreConsecutive_;
const char* bitmap_;
const char* groupWidths_;
const char* half_byte_ = nullptr;
const char* packingType_ = nullptr;
const char* ieee_packing_ = nullptr;
const char* precision_ = nullptr;
const char* widthOfFirstOrderValues_ = nullptr;
const char* N1_ = nullptr;
const char* N2_ = nullptr;
const char* numberOfGroups_ = nullptr;
const char* numberOfSecondOrderPackedValues_ = nullptr;
const char* extraValues_ = nullptr;
const char* pl_ = nullptr;
const char* Ni_ = nullptr;
const char* Nj_ = nullptr;
const char* jPointsAreConsecutive_ = nullptr;
const char* bitmap_ = nullptr;
const char* groupWidths_ = nullptr;
template <typename T> int unpack_real(T* values, size_t* len);
};

View File

@ -26,22 +26,22 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* half_byte_;
const char* packingType_;
const char* ieee_packing_;
const char* precision_;
const char* widthOfFirstOrderValues_;
const char* N1_;
const char* N2_;
const char* numberOfGroups_;
const char* numberOfSecondOrderPackedValues_;
const char* extraValues_;
const char* pl_;
const char* Ni_;
const char* Nj_;
const char* jPointsAreConsecutive_;
const char* bitmap_;
const char* groupWidths_;
const char* half_byte_ = nullptr;
const char* packingType_ = nullptr;
const char* ieee_packing_ = nullptr;
const char* precision_ = nullptr;
const char* widthOfFirstOrderValues_ = nullptr;
const char* N1_ = nullptr;
const char* N2_ = nullptr;
const char* numberOfGroups_ = nullptr;
const char* numberOfSecondOrderPackedValues_ = nullptr;
const char* extraValues_ = nullptr;
const char* pl_ = nullptr;
const char* Ni_ = nullptr;
const char* Nj_ = nullptr;
const char* jPointsAreConsecutive_ = nullptr;
const char* bitmap_ = nullptr;
const char* groupWidths_ = nullptr;
template <typename T> int unpack_real(T* values, size_t* len);
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* number_of_ones_;
const char* number_of_ones_ = nullptr;
};

View File

@ -23,8 +23,8 @@ public:
void init(const long, grib_arguments*) override;
protected:
const char* half_byte_;
const char* packingType_;
const char* ieee_packing_;
const char* precision_;
const char* half_byte_ = nullptr;
const char* packingType_ = nullptr;
const char* ieee_packing_ = nullptr;
const char* precision_ = nullptr;
};

View File

@ -28,26 +28,26 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* numberOfValues_;
const char* bits_per_value_;
const char* reference_value_;
const char* binary_scale_factor_;
const char* decimal_scale_factor_;
const char* optimize_scale_factor_;
const char* typeOfOriginalFieldValues_;
const char* groupSplittingMethodUsed_;
const char* missingValueManagementUsed_;
const char* primaryMissingValueSubstitute_;
const char* secondaryMissingValueSubstitute_;
const char* numberOfGroupsOfDataValues_;
const char* referenceForGroupWidths_;
const char* numberOfBitsUsedForTheGroupWidths_;
const char* referenceForGroupLengths_;
const char* lengthIncrementForTheGroupLengths_;
const char* trueLengthOfLastGroup_;
const char* numberOfBitsUsedForTheScaledGroupLengths_;
const char* orderOfSpatialDifferencing_;
const char* numberOfOctetsExtraDescriptors_;
const char* numberOfValues_ = nullptr;
const char* bits_per_value_ = nullptr;
const char* reference_value_ = nullptr;
const char* binary_scale_factor_ = nullptr;
const char* decimal_scale_factor_ = nullptr;
const char* optimize_scale_factor_ = nullptr;
const char* typeOfOriginalFieldValues_ = nullptr;
const char* groupSplittingMethodUsed_ = nullptr;
const char* missingValueManagementUsed_ = nullptr;
const char* primaryMissingValueSubstitute_ = nullptr;
const char* secondaryMissingValueSubstitute_ = nullptr;
const char* numberOfGroupsOfDataValues_ = nullptr;
const char* referenceForGroupWidths_ = nullptr;
const char* numberOfBitsUsedForTheGroupWidths_ = nullptr;
const char* referenceForGroupLengths_ = nullptr;
const char* lengthIncrementForTheGroupLengths_ = nullptr;
const char* trueLengthOfLastGroup_ = nullptr;
const char* numberOfBitsUsedForTheScaledGroupLengths_ = nullptr;
const char* orderOfSpatialDifferencing_ = nullptr;
const char* numberOfOctetsExtraDescriptors_ = nullptr;
template <typename T> int unpack(T* val, size_t* len);
};

View File

@ -53,19 +53,19 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* ieee_floats_;
const char* laplacianOperatorIsSet_;
const char* laplacianOperator_;
const char* biFourierTruncationType_;
const char* sub_i_;
const char* sub_j_;
const char* bif_i_;
const char* bif_j_;
const char* biFourierSubTruncationType_;
const char* biFourierDoNotPackAxes_;
const char* biFourierMakeTemplate_;
const char* totalNumberOfValuesInUnpackedSubset_;
//const char* numberOfValues_;
const char* ieee_floats_ = nullptr;
const char* laplacianOperatorIsSet_ = nullptr;
const char* laplacianOperator_ = nullptr;
const char* biFourierTruncationType_ = nullptr;
const char* sub_i_ = nullptr;
const char* sub_j_ = nullptr;
const char* bif_i_ = nullptr;
const char* bif_j_ = nullptr;
const char* biFourierSubTruncationType_ = nullptr;
const char* biFourierDoNotPackAxes_ = nullptr;
const char* biFourierMakeTemplate_ = nullptr;
const char* totalNumberOfValuesInUnpackedSubset_ = nullptr;
//const char* numberOfValues_ = nullptr;
bif_trunc_t* new_bif_trunc();
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* numberOfValues_;
const char* numberOfValues_ = nullptr;
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* number_of_values_;
const char* number_of_values_ = nullptr;
};

View File

@ -24,6 +24,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* numberOfValues_;
const char* numberOfDataPoints_;
const char* numberOfValues_ = nullptr;
const char* numberOfDataPoints_ = nullptr;
};

View File

@ -24,6 +24,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* pre_processing_;
const char* pre_processing_parameter_;
const char* pre_processing_ = nullptr;
const char* pre_processing_parameter_ = nullptr;
};

View File

@ -27,13 +27,13 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* type_of_compression_used_;
const char* target_compression_ratio_;
const char* ni_;
const char* nj_;
const char* list_defining_points_;
const char* number_of_data_points_;
const char* scanning_mode_;
int jpeg_lib_;
const char* dump_jpg_;
const char* type_of_compression_used_ = nullptr;
const char* target_compression_ratio_ = nullptr;
const char* ni_ = nullptr;
const char* nj_ = nullptr;
const char* list_defining_points_ = nullptr;
const char* number_of_data_points_ = nullptr;
const char* scanning_mode_ = nullptr;
int jpeg_lib_ = 0;
const char* dump_jpg_ = nullptr;
};

View File

@ -26,14 +26,14 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* number_of_values_;
const char* reference_value_;
const char* binary_scale_factor_;
const char* decimal_scale_factor_;
const char* bits_per_value_;
const char* ni_;
const char* nj_;
const char* list_defining_points_;
const char* number_of_data_points_;
const char* scanning_mode_;
const char* number_of_values_ = nullptr;
const char* reference_value_ = nullptr;
const char* binary_scale_factor_ = nullptr;
const char* decimal_scale_factor_ = nullptr;
const char* bits_per_value_ = nullptr;
const char* ni_ = nullptr;
const char* nj_ = nullptr;
const char* list_defining_points_ = nullptr;
const char* number_of_data_points_ = nullptr;
const char* scanning_mode_ = nullptr;
};

View File

@ -26,6 +26,6 @@ public:
int unpack_double_element_set(const size_t* index_array, size_t len, double* val_array) override;
private:
const char* number_of_values_;
const char* precision_;
const char* number_of_values_ = nullptr;
const char* precision_ = nullptr;
};

View File

@ -24,10 +24,10 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* number_of_values_;
const char* bits_per_value_;
const char* max_level_value_;
const char* number_of_level_values_;
const char* decimal_scale_factor_;
const char* level_values_;
const char* number_of_values_ = nullptr;
const char* bits_per_value_ = nullptr;
const char* max_level_value_ = nullptr;
const char* number_of_level_values_ = nullptr;
const char* decimal_scale_factor_ = nullptr;
const char* level_values_ = nullptr;
};

View File

@ -24,8 +24,8 @@ public:
void init(const long, grib_arguments*) override;
protected:
const char* primary_bitmap_;
const char* secondary_bitmap_;
const char* missing_value_;
const char* expand_by_;
const char* primary_bitmap_ = nullptr;
const char* secondary_bitmap_ = nullptr;
const char* missing_value_ = nullptr;
const char* expand_by_ = nullptr;
};

View File

@ -23,14 +23,14 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* GRIBEX_sh_bug_present_;
const char* ieee_floats_;
const char* laplacianOperatorIsSet_;
const char* laplacianOperator_;
const char* sub_j_;
const char* sub_k_;
const char* sub_m_;
const char* pen_j_;
const char* pen_k_;
const char* pen_m_;
const char* GRIBEX_sh_bug_present_ = nullptr;
const char* ieee_floats_ = nullptr;
const char* laplacianOperatorIsSet_ = nullptr;
const char* laplacianOperator_ = nullptr;
const char* sub_j_ = nullptr;
const char* sub_k_ = nullptr;
const char* sub_m_ = nullptr;
const char* pen_j_ = nullptr;
const char* pen_k_ = nullptr;
const char* pen_m_ = nullptr;
};

View File

@ -23,14 +23,14 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* GRIBEX_sh_bug_present_;
const char* ieee_floats_;
const char* laplacianOperatorIsSet_;
const char* laplacianOperator_;
const char* sub_j_;
const char* sub_k_;
const char* sub_m_;
const char* pen_j_;
const char* pen_k_;
const char* pen_m_;
const char* GRIBEX_sh_bug_present_ = nullptr;
const char* ieee_floats_ = nullptr;
const char* laplacianOperatorIsSet_ = nullptr;
const char* laplacianOperator_ = nullptr;
const char* sub_j_ = nullptr;
const char* sub_k_ = nullptr;
const char* sub_m_ = nullptr;
const char* pen_j_ = nullptr;
const char* pen_k_ = nullptr;
const char* pen_m_ = nullptr;
};

View File

@ -24,6 +24,6 @@ public:
void init(const long, grib_arguments*) override;
protected:
const char* coded_values_;
const char* real_part_;
const char* coded_values_ = nullptr;
const char* real_part_ = nullptr;
};

View File

@ -29,16 +29,16 @@ public:
int unpack_double_subarray(double* val, size_t start, size_t len) override;
protected:
int edition_;
const char* units_factor_;
const char* units_bias_;
const char* changing_precision_;
const char* number_of_values_;
const char* bits_per_value_;
const char* reference_value_;
const char* binary_scale_factor_;
const char* decimal_scale_factor_;
const char* optimize_scaling_factor_;
int edition_ = 0;
const char* units_factor_ = nullptr;
const char* units_bias_ = nullptr;
const char* changing_precision_ = nullptr;
const char* number_of_values_ = nullptr;
const char* bits_per_value_ = nullptr;
const char* reference_value_ = nullptr;
const char* binary_scale_factor_ = nullptr;
const char* decimal_scale_factor_ = nullptr;
const char* optimize_scaling_factor_ = nullptr;
private:
template <typename T> int unpack(T* val, size_t* len);

View File

@ -23,8 +23,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* values_;
const char* bits_per_value_;
const char* changing_precision_;
const char* decimal_scale_factor_;
const char* values_ = nullptr;
const char* bits_per_value_ = nullptr;
const char* changing_precision_ = nullptr;
const char* decimal_scale_factor_ = nullptr;
};

View File

@ -27,11 +27,11 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* dictionary_;
const char* key_;
long column_;
const char* masterDir_;
const char* localDir_;
const char* dictionary_ = nullptr;
const char* key_ = nullptr;
long column_ = 0;
const char* masterDir_ = nullptr;
const char* localDir_ = nullptr;
grib_trie* load_dictionary(int* err);
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* accessor_;
const char* accessor_ = nullptr;
};

View File

@ -22,6 +22,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* val_;
double divisor_;
const char* val_ = nullptr;
double divisor_ = 0.;
};

View File

@ -24,6 +24,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* array_;
long element_;
const char* array_ = nullptr;
long element_ = 0;
};

View File

@ -22,5 +22,5 @@ public:
void init(const long, grib_arguments*) override;
protected:
grib_arguments* arg_; // expression to be evaluated
grib_arguments* arg_ = nullptr; // expression to be evaluated
};

View File

@ -41,15 +41,15 @@ public:
bufr_descriptors_array* grib_accessor_expanded_descriptors_get_expanded(int* err);
private:
const char* unexpandedDescriptors_;
const char* sequence_;
const char* expandedName_;
const char* tablesAccessorName_;
bufr_descriptors_array* expanded_;
int rank_;
grib_accessor_expanded_descriptors_t* expandedAccessor_;
int do_expand_;
grib_accessor* tablesAccessor_;
const char* unexpandedDescriptors_ = nullptr;
const char* sequence_ = nullptr;
const char* expandedName_ = nullptr;
const char* tablesAccessorName_ = nullptr;
bufr_descriptors_array* expanded_ = nullptr;
int rank_ = 0;
grib_accessor_expanded_descriptors_t* expandedAccessor_ = nullptr;
int do_expand_ = 0;
grib_accessor* tablesAccessor_ = nullptr;
int expand();
void __expand(bufr_descriptors_array* unexpanded, bufr_descriptors_array* expanded, change_coding_params* ccp, int* err);

View File

@ -25,6 +25,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* scaleFactor_;
const char* scaledValue_;
const char* scaleFactor_ = nullptr;
const char* scaledValue_ = nullptr;
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* sec4_length_;
const char* sec4_length_ = nullptr;
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* total_length_;
const char* total_length_ = nullptr;
};

View File

@ -24,5 +24,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* unusedBits_;
const char* unusedBits_ = nullptr;
};

View File

@ -25,8 +25,8 @@ public:
void init(const long, grib_arguments*) override;
protected:
const char* century_;
const char* year_;
const char* month_;
const char* day_;
const char* century_ = nullptr;
const char* year_ = nullptr;
const char* month_ = nullptr;
const char* day_ = nullptr;
};

View File

@ -25,5 +25,5 @@ public:
int compare(grib_accessor*) override;
private:
const char* verifyingMonth_;
const char* verifyingMonth_ = nullptr;
};

View File

@ -24,12 +24,12 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* verification_yearmonth_;
const char* base_date_;
const char* day_;
const char* hour_;
const char* fcmonth_;
const char* check_;
const char* verification_yearmonth_ = nullptr;
const char* base_date_ = nullptr;
const char* day_ = nullptr;
const char* hour_ = nullptr;
const char* fcmonth_ = nullptr;
const char* check_ = nullptr;
int unpack_long_edition1(long* val, size_t* len);
};

View File

@ -22,5 +22,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* date_;
const char* date_ = nullptr;
};

View File

@ -22,12 +22,12 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* numberOfValues_;
const char* bitsPerValue_;
const char* offsetBeforeData_;
const char* offsetAfterData_;
const char* unusedBits_;
const char* JS_;
const char* KS_;
const char* MS_;
const char* numberOfValues_ = nullptr;
const char* bitsPerValue_ = nullptr;
const char* offsetBeforeData_ = nullptr;
const char* offsetAfterData_ = nullptr;
const char* unusedBits_ = nullptr;
const char* JS_ = nullptr;
const char* KS_ = nullptr;
const char* MS_ = nullptr;
};

View File

@ -22,9 +22,9 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* numberOfValues_;
const char* bitsPerValue_;
const char* offsetBeforeData_;
const char* offsetAfterData_;
const char* unusedBits_;
const char* numberOfValues_ = nullptr;
const char* bitsPerValue_ = nullptr;
const char* offsetBeforeData_ = nullptr;
const char* offsetAfterData_ = nullptr;
const char* unusedBits_ = nullptr;
};

View File

@ -33,12 +33,12 @@ protected:
int grib_g1_step_get_steps(long* start, long* theEnd);
private:
const char* p1_;
const char* p2_;
const char* timeRangeIndicator_;
const char* unit_;
const char* step_unit_;
const char* stepType_;
const char* patch_fp_precip_;
int error_on_units_;
const char* p1_ = nullptr;
const char* p2_ = nullptr;
const char* timeRangeIndicator_ = nullptr;
const char* unit_ = nullptr;
const char* step_unit_ = nullptr;
const char* stepType_ = nullptr;
const char* patch_fp_precip_ = nullptr;
int error_on_units_ = 0;
};

View File

@ -22,7 +22,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* date_;
const char* time_;
const char* step_;
const char* date_ = nullptr;
const char* time_ = nullptr;
const char* step_ = nullptr;
};

View File

@ -24,7 +24,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* productDefinitionTemplateNumber_;
const char* stepType_;
int optical_;
const char* productDefinitionTemplateNumber_ = nullptr;
const char* stepType_ = nullptr;
int optical_ = 0;
};

View File

@ -24,7 +24,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* productDefinitionTemplateNumber_;
const char* stepType_;
int chemical_type_;
const char* productDefinitionTemplateNumber_ = nullptr;
const char* stepType_ = nullptr;
int chemical_type_ = 0;
};

View File

@ -24,9 +24,9 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* productDefinitionTemplateNumber_;
const char* stream_;
const char* type_;
const char* stepType_;
const char* derivedForecast_;
const char* productDefinitionTemplateNumber_ = nullptr;
const char* stream_ = nullptr;
const char* type_ = nullptr;
const char* stepType_ = nullptr;
const char* derivedForecast_ = nullptr;
};

View File

@ -27,16 +27,16 @@ public:
void init(const long, grib_arguments*) override;
private:
int index_;
const char* the_class_;
const char* stream_;
const char* type_;
const char* expver_;
const char* typeOfProcessedData_;
const char* productDefinitionTemplateNumber_;
const char* stepType_;
const char* derivedForecast_;
const char* typeOfGeneratingProcess_;
int index_ = 0;
const char* the_class_ = nullptr;
const char* stream_ = nullptr;
const char* type_ = nullptr;
const char* expver_ = nullptr;
const char* typeOfProcessedData_ = nullptr;
const char* productDefinitionTemplateNumber_ = nullptr;
const char* stepType_ = nullptr;
const char* derivedForecast_ = nullptr;
const char* typeOfGeneratingProcess_ = nullptr;
int extra_set(long val);
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* numberOfValues_;
const char* numberOfValues_ = nullptr;
};

View File

@ -24,5 +24,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* bitmapIndicator_;
const char* bitmapIndicator_ = nullptr;
};

View File

@ -24,7 +24,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* year_;
const char* month_;
const char* day_;
const char* year_ = nullptr;
const char* month_ = nullptr;
const char* day_ = nullptr;
};

View File

@ -28,24 +28,24 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* start_step_value_;
const char* step_units_;
const char* year_;
const char* month_;
const char* day_;
const char* hour_;
const char* minute_;
const char* second_;
const char* year_of_end_of_interval_;
const char* month_of_end_of_interval_;
const char* day_of_end_of_interval_;
const char* hour_of_end_of_interval_;
const char* minute_of_end_of_interval_;
const char* second_of_end_of_interval_;
const char* time_range_unit_;
const char* time_range_value_;
const char* typeOfTimeIncrement_;
const char* numberOfTimeRanges_;
const char* start_step_value_ = nullptr;
const char* step_units_ = nullptr;
const char* year_ = nullptr;
const char* month_ = nullptr;
const char* day_ = nullptr;
const char* hour_ = nullptr;
const char* minute_ = nullptr;
const char* second_ = nullptr;
const char* year_of_end_of_interval_ = nullptr;
const char* month_of_end_of_interval_ = nullptr;
const char* day_of_end_of_interval_ = nullptr;
const char* hour_of_end_of_interval_ = nullptr;
const char* minute_of_end_of_interval_ = nullptr;
const char* second_of_end_of_interval_ = nullptr;
const char* time_range_unit_ = nullptr;
const char* time_range_value_ = nullptr;
const char* typeOfTimeIncrement_ = nullptr;
const char* numberOfTimeRanges_ = nullptr;
int unpack_one_time_range_long_(long* val, size_t* len);
int unpack_one_time_range_double_(double* val, size_t* len);

View File

@ -24,12 +24,12 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* latitude_first_;
const char* longitude_first_;
const char* latitude_last_;
const char* longitude_last_;
const char* i_increment_;
const char* j_increment_;
const char* basic_angle_;
const char* sub_division_;
const char* latitude_first_ = nullptr;
const char* longitude_first_ = nullptr;
const char* latitude_last_ = nullptr;
const char* longitude_last_ = nullptr;
const char* i_increment_ = nullptr;
const char* j_increment_ = nullptr;
const char* basic_angle_ = nullptr;
const char* sub_division_ = nullptr;
};

View File

@ -25,7 +25,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* grid_;
int index_;
const char* given_;
const char* grid_ = nullptr;
int index_ = 0;
const char* given_ = nullptr;
};

View File

@ -26,8 +26,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* type_first_;
const char* scale_first_;
const char* value_first_;
const char* pressure_units_;
const char* type_first_ = nullptr;
const char* scale_first_ = nullptr;
const char* value_first_ = nullptr;
const char* pressure_units_ = nullptr;
};

View File

@ -23,5 +23,5 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* longitude_;
const char* longitude_ = nullptr;
};

View File

@ -29,6 +29,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* start_step_;
const char* end_step_;
const char* start_step_ = nullptr;
const char* end_step_ = nullptr;
};

View File

@ -1,4 +1,3 @@
/*
* (C) Copyright 2005- ECMWF.
*
@ -25,7 +24,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* N_;
const char* Ni_;
const char* isOctahedral_;
const char* N_ = nullptr;
const char* Ni_ = nullptr;
const char* isOctahedral_ = nullptr;
};

View File

@ -1,4 +1,3 @@
/*
* (C) Copyright 2005- ECMWF.
*
@ -24,8 +23,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* gds_present_;
const char* grid_definition_;
const char* bitmap_present_;
const char* values_;
const char* gds_present_ = nullptr;
const char* grid_definition_ = nullptr;
const char* bitmap_present_ = nullptr;
const char* values_ = nullptr;
};

View File

@ -25,7 +25,7 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* envvar_;
char* value_;
const char* default_value_;
const char* envvar_ = nullptr;
char* value_ = nullptr;
const char* default_value_ = nullptr;
};

View File

@ -23,15 +23,15 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* N_;
const char* Ni_;
const char* di_;
const char* latfirst_;
const char* lonfirst_;
const char* latlast_;
const char* lonlast_;
const char* plpresent_;
const char* pl_;
const char* basic_angle_;
const char* subdivision_;
const char* N_ = nullptr;
const char* Ni_ = nullptr;
const char* di_ = nullptr;
const char* latfirst_ = nullptr;
const char* lonfirst_ = nullptr;
const char* latlast_ = nullptr;
const char* lonlast_ = nullptr;
const char* plpresent_ = nullptr;
const char* pl_ = nullptr;
const char* basic_angle_ = nullptr;
const char* subdivision_ = nullptr;
};

View File

@ -30,5 +30,5 @@ public:
int compare(grib_accessor*) override;
private:
char endCharacter_;
char endCharacter_ = 0;
};

View File

@ -24,6 +24,6 @@ public:
void init(const long, grib_arguments*) override;
private:
int gts_offset_;
int gts_length_;
int gts_offset_ = 0;
int gts_length_ = 0;
};

View File

@ -33,8 +33,8 @@ public:
int compare(grib_accessor*) override;
private:
char* key_;
grib_hash_array_value* ha_;
char* key_ = nullptr;
grib_hash_array_value* ha_ = nullptr;
grib_hash_array_value* find_hash_value(int* err);
};

View File

@ -30,5 +30,5 @@ public:
int nearest_smaller_value(double, double*) override;
private:
grib_arguments* arg_;
grib_arguments* arg_ = nullptr;
};

View File

@ -1,4 +1,3 @@
/*
* (C) Copyright 2005- ECMWF.
*
@ -28,5 +27,5 @@ public:
int nearest_smaller_value(double val, double* nearest) override;
private:
grib_arguments* arg_;
grib_arguments* arg_ = nullptr;
};

View File

@ -1,4 +1,3 @@
/*
* (C) Copyright 2005- ECMWF.
*
@ -25,6 +24,6 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* paramId_;
const char* type_;
const char* paramId_ = nullptr;
const char* type_ = nullptr;
};

View File

@ -22,6 +22,6 @@ public:
void dump(grib_dumper* dumper) override;
private:
grib_arguments* args_;
grib_arguments* args_ = nullptr;
friend eccodes::geo_iterator::Iterator* eccodes::geo_iterator::gribIteratorNew(const grib_handle*, unsigned long, int*);
};

View File

@ -30,13 +30,13 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* year_;
const char* month_;
const char* day_;
const char* hour_;
const char* minute_;
const char* second_;
const char* ymd_;
const char* hms_;
const char* year_ = nullptr;
const char* month_ = nullptr;
const char* day_ = nullptr;
const char* hour_ = nullptr;
const char* minute_ = nullptr;
const char* second_ = nullptr;
const char* ymd_ = nullptr;
const char* hms_ = nullptr;
char sep_[5];
};

View File

@ -27,8 +27,8 @@ public:
void init(const long, grib_arguments*) override;
private:
const char* date_;
const char* hour_;
const char* minute_;
const char* second_;
const char* date_ = nullptr;
const char* hour_ = nullptr;
const char* minute_ = nullptr;
const char* second_ = nullptr;
};

View File

@ -1,4 +1,3 @@
/*
* (C) Copyright 2005- ECMWF.
*

Some files were not shown because too many files have changed in this diff Show More