Coverage Report

Created: 2026-02-14 06:52

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/gdal/apps/gdalalg_vector_read.h
Line
Count
Source
1
/******************************************************************************
2
 *
3
 * Project:  GDAL
4
 * Purpose:  "read" 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_READ_INCLUDED
14
#define GDALALG_VECTOR_READ_INCLUDED
15
16
#include "gdalalg_vector_pipeline.h"
17
18
//! @cond Doxygen_Suppress
19
20
/************************************************************************/
21
/*                       GDALVectorReadAlgorithm                        */
22
/************************************************************************/
23
24
class GDALVectorReadAlgorithm final : public GDALVectorPipelineStepAlgorithm
25
{
26
  public:
27
    static constexpr const char *NAME = "read";
28
    static constexpr const char *DESCRIPTION = "Read a vector dataset.";
29
    static constexpr const char *HELP_URL =
30
        "/programs/gdal_vector_pipeline.html";
31
32
    GDALVectorReadAlgorithm();
33
34
    bool CanBeFirstStep() const override
35
0
    {
36
0
        return true;
37
0
    }
38
39
  private:
40
    bool RunStep(GDALPipelineStepRunContext &ctxt) override;
41
};
42
43
//! @endcond
44
45
#endif