GDAL
gdalalg_mdim.h
1/******************************************************************************
2 *
3 * Project: GDAL
4 * Purpose: gdal "mdim" subcommand
5 * Author: Even Rouault <even dot rouault at spatialys.com>
6 *
7 ******************************************************************************
8 * Copyright (c) 2024, Even Rouault <even dot rouault at spatialys.com>
9 *
10 * SPDX-License-Identifier: MIT
11 ****************************************************************************/
12
13#ifndef GDALALG_MDIM_INCLUDED
14#define GDALALG_MDIM_INCLUDED
15
17
18#include "gdalalgorithm.h"
19
20/************************************************************************/
21/* GDALMdimAlgorithm */
22/************************************************************************/
23
24class GDALMdimAlgorithm final : public GDALAlgorithm
25{
26 public:
27 static constexpr const char *NAME = "mdim";
28 static constexpr const char *DESCRIPTION = "Multidimensional commands.";
29 static constexpr const char *HELP_URL = "/programs/gdal_mdim.html";
30
31 GDALMdimAlgorithm();
32
33 private:
34 std::string m_output{};
35 bool m_drivers = false;
36
37 bool RunImpl(GDALProgressFunc, void *) override;
38};
39
41
42#endif
GDAL algorithm.
Definition gdalalgorithm_cpp.h:2261