LCOV - code coverage report
Current view: top level - apps - gdalalg_vector_write.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 2 2 100.0 %
Date: 2025-01-18 12:42:00 Functions: 1 1 100.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Project:  GDAL
       4             :  * Purpose:  "write" step of "vector pipeline"
       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_VECTOR_WRITE_INCLUDED
      14             : #define GDALALG_VECTOR_WRITE_INCLUDED
      15             : 
      16             : #include "gdalalg_vector_pipeline.h"
      17             : 
      18             : //! @cond Doxygen_Suppress
      19             : 
      20             : /************************************************************************/
      21             : /*                       GDALVectorWriteAlgorithm                       */
      22             : /************************************************************************/
      23             : 
      24             : class GDALVectorWriteAlgorithm final : public GDALVectorPipelineStepAlgorithm
      25             : {
      26             :   public:
      27             :     static constexpr const char *NAME = "write";
      28             :     static constexpr const char *DESCRIPTION = "Write a vector dataset.";
      29             :     static constexpr const char *HELP_URL =
      30             :         "/programs/gdal_vector_pipeline.html";
      31             : 
      32          57 :     static std::vector<std::string> GetAliases()
      33             :     {
      34          57 :         return {};
      35             :     }
      36             : 
      37             :     GDALVectorWriteAlgorithm();
      38             : 
      39             :   private:
      40             :     bool RunStep(GDALProgressFunc pfnProgress, void *pProgressData) override;
      41             : };
      42             : 
      43             : //! @endcond
      44             : 
      45             : #endif /* GDALALG_VECTOR_WRITE_INCLUDED */

Generated by: LCOV version 1.14