LCOV - code coverage report
Current view: top level - apps - gdalmdimpipelinestepalgorithm.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 5 5 100.0 %
Date: 2026-06-23 16:35:19 Functions: 3 4 75.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Project:  GDAL
       4             :  * Purpose:  Step of a gdal mdim pipeline
       5             :  * Author:   Even Rouault <even dot rouault at spatialys.com>
       6             :  *
       7             :  ******************************************************************************
       8             :  * Copyright (c) 2026, Even Rouault <even dot rouault at spatialys.com>
       9             :  *
      10             :  * SPDX-License-Identifier: MIT
      11             :  ****************************************************************************/
      12             : 
      13             : #ifndef GDALMDIMPIPELINESTEPALGORITHM_INCLUDED
      14             : #define GDALMDIMPIPELINESTEPALGORITHM_INCLUDED
      15             : 
      16             : //! @cond Doxygen_Suppress
      17             : 
      18             : #include "gdalpipelinestepalgorithm.h"
      19             : 
      20             : /************************************************************************/
      21             : /*                    GDALMdimPipelineStepAlgorithm                     */
      22             : /************************************************************************/
      23             : 
      24         306 : class GDALMdimPipelineStepAlgorithm /* non final */
      25             :     : public GDALPipelineStepAlgorithm
      26             : {
      27             :   public:
      28             :     ~GDALMdimPipelineStepAlgorithm() override;
      29             : 
      30             :   protected:
      31             :     GDALMdimPipelineStepAlgorithm(const std::string &name,
      32             :                                   const std::string &description,
      33             :                                   const std::string &helpURL,
      34             :                                   const ConstructorOptions &options);
      35             : 
      36             :     friend class GDALMdimPipelineAlgorithm;
      37             :     friend class GDALMdimMosaicAlgorithm;
      38             : 
      39          21 :     int GetInputType() const override
      40             :     {
      41          21 :         return GDAL_OF_MULTIDIM_RASTER;
      42             :     }
      43             : 
      44          12 :     int GetOutputType() const override
      45             :     {
      46          12 :         return GDAL_OF_MULTIDIM_RASTER;
      47             :     }
      48             : 
      49             :     void SetOutputVRTCompatible(bool b);
      50             : };
      51             : 
      52             : //! @endcond
      53             : 
      54             : #endif

Generated by: LCOV version 1.14