Modernisation: Nearest: Missing headers

This commit is contained in:
Eugen Betke 2024-11-04 15:56:40 +01:00
parent cea46fa6c6
commit 37376bf4a0
4 changed files with 17 additions and 3 deletions

View File

@ -11,6 +11,7 @@
#pragma once
#include "grib_accessor_class_gen.h"
#include "geo_iterator/grib_iterator.h"
class grib_accessor_iterator_t : public grib_accessor_gen_t
{

View File

@ -11,7 +11,9 @@
/***************************************************************************
* Jean Baptiste Filippi - 01.11.2005 *
***************************************************************************/
#include "grib_iterator.h"
#include "grib_iterator_factory.h"
#include "accessor/grib_accessor_class_iterator.h"
namespace eccodes::geo_iterator {
@ -55,7 +57,6 @@ int gribIteratorDelete(eccodes::geo_iterator::Iterator* i)
return GRIB_SUCCESS;
}
} // namespace eccodes::geo_iterator

View File

@ -8,8 +8,7 @@
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/
#include "grib_api_internal.h"
#include "geo_iterator/grib_iterator.h"
#include "grib_iterator_factory.h"
#include "accessor/grib_accessor_class_iterator.h"
#if GRIB_PTHREADS

View File

@ -1,3 +1,16 @@
/*
* (C) Copyright 2005- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
* virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction.
*/
#pragma once
#include "grib_api_internal.h"
#include "geo_iterator/grib_iterator.h"
eccodes::geo_iterator::Iterator* grib_iterator_factory(grib_handle* h, grib_arguments* args, unsigned long flags, int* error);