Coverage Report

Created: 2026-07-25 06:50

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/gdal/apps/gdalrasterpipelinestepalgorithm.h
Line
Count
Source
1
/******************************************************************************
2
 *
3
 * Project:  GDAL
4
 * Purpose:  gdal "raster/vector pipeline" 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 GDALRASTERPIPELINESTEPALGORITHM_INCLUDED
14
#define GDALRASTERPIPELINESTEPALGORITHM_INCLUDED
15
16
//! @cond Doxygen_Suppress
17
18
#include "gdalpipelinestepalgorithm.h"
19
20
/************************************************************************/
21
/*                   GDALRasterPipelineStepAlgorithm                    */
22
/************************************************************************/
23
24
class GDALRasterPipelineStepAlgorithm /* non final */
25
    : public GDALPipelineStepAlgorithm
26
{
27
  public:
28
    ~GDALRasterPipelineStepAlgorithm() override;
29
30
  protected:
31
    GDALRasterPipelineStepAlgorithm(const std::string &name,
32
                                    const std::string &description,
33
                                    const std::string &helpURL,
34
                                    bool standaloneStep);
35
36
    GDALRasterPipelineStepAlgorithm(const std::string &name,
37
                                    const std::string &description,
38
                                    const std::string &helpURL,
39
                                    const ConstructorOptions &options);
40
41
    friend class GDALRasterPipelineAlgorithm;
42
    friend class GDALRasterMosaicStackCommonAlgorithm;
43
44
    int GetInputType() const override
45
0
    {
46
0
        return GDAL_OF_RASTER;
47
0
    }
48
49
    int GetOutputType() const override
50
0
    {
51
0
        return GDAL_OF_RASTER;
52
0
    }
53
54
    void SetOutputVRTCompatible(bool b);
55
};
56
57
//! @endcond
58
59
#endif