LCOV - code coverage report
Current view: top level - apps - gdalrasterpipelinestepalgorithm.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 5 5 100.0 %
Date: 2026-06-03 12:46:18 Functions: 3 4 75.0 %

          Line data    Source code
       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        6608 : 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        1095 :     int GetInputType() const override
      45             :     {
      46        1095 :         return GDAL_OF_RASTER;
      47             :     }
      48             : 
      49         900 :     int GetOutputType() const override
      50             :     {
      51         900 :         return GDAL_OF_RASTER;
      52             :     }
      53             : 
      54             :     void SetOutputVRTCompatible(bool b);
      55             : };
      56             : 
      57             : //! @endcond
      58             : 
      59             : #endif

Generated by: LCOV version 1.14