13#ifndef GDALALG_DATASET_CHECK_INCLUDED
14#define GDALALG_DATASET_CHECK_INCLUDED
16#include "gdalalgorithm.h"
29 static constexpr const char *NAME =
"check";
30 static constexpr const char *DESCRIPTION =
31 "Check whether there are errors when reading the content of a dataset.";
32 static constexpr const char *HELP_URL =
"/programs/gdal_dataset_check.html";
34 GDALDatasetCheckAlgorithm();
38 std::vector<std::string> m_openOptions{};
39 std::vector<std::string> m_inputFormats{};
42 bool CheckDataset(
GDALDataset *poDS,
bool bRasterOnly, GDALProgressFunc,
45 GIntBig nTotalContent, GDALProgressFunc,
void *);
46 bool RunImpl(GDALProgressFunc,
void *)
override;
GDAL algorithm.
Definition gdalalgorithm_cpp.h:2445
Value for an argument that points to a GDALDataset.
Definition gdalalgorithm_cpp.h:163
A set of associated raster bands, usually from one file.
Definition gdal_dataset.h:77
Class modeling a named container of GDALAttribute, GDALMDArray, OGRLayer or other GDALGroup.
Definition gdal_multidim.h:305
long long GIntBig
Large signed integer type (generally 64-bit integer type).
Definition cpl_port.h:195