13#ifndef GDALALG_MAIN_INCLUDED
14#define GDALALG_MAIN_INCLUDED
16#include "gdalalgorithm.h"
27 static constexpr const char *NAME =
29 static constexpr const char *DESCRIPTION =
"Main gdal entry point.";
30 static constexpr const char *HELP_URL =
"/programs/index.html";
35 ParseCommandLineArguments(
const std::vector<std::string> &args)
override;
37 std::string GetUsageForCLI(
bool shortUsage,
38 const UsageOptions &usageOptions)
const override;
41 std::unique_ptr<GDALAlgorithm> m_subAlg{};
42 std::string m_output{};
43 bool m_showUsage =
true;
44 bool m_drivers =
false;
45 bool m_version =
false;
47 bool RunImpl(GDALProgressFunc,
void *)
override;
GDAL algorithm.
Definition gdalalgorithm_cpp.h:2445
static constexpr const char * ROOT_ALG_NAME
Name of the root "gdal" algorithm.
Definition gdalalgorithm_cpp.h:3348