Coverage Report

Created: 2026-08-11 08:26

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/gdal/ogr/ogrsf_frmts/generic/ogr_attrind.cpp
Line
Count
Source
1
/******************************************************************************
2
 *
3
 * Project:  OpenGIS Simple Features Reference Implementation
4
 * Purpose:  Implementation of OGRLayerAttrIndex and OGRAttrIndex base classes.
5
 * Author:   Frank Warmerdam, warmerdam@pobox.com
6
 *
7
 ******************************************************************************
8
 * Copyright (c) 2003, Frank Warmerdam
9
 *
10
 * SPDX-License-Identifier: MIT
11
 ****************************************************************************/
12
13
#include "ogr_attrind.h"
14
#include "cpl_conv.h"
15
16
//! @cond Doxygen_Suppress
17
18
/************************************************************************/
19
/* ==================================================================== */
20
/*                           OGRLayerAttrIndex                          */
21
/* ==================================================================== */
22
/************************************************************************/
23
24
/************************************************************************/
25
/*                         OGRLayerAttrIndex()                          */
26
/************************************************************************/
27
28
1.43k
OGRLayerAttrIndex::OGRLayerAttrIndex() : poLayer(nullptr), pszIndexPath(nullptr)
29
1.43k
{
30
1.43k
}
31
32
/************************************************************************/
33
/*                         ~OGRLayerAttrIndex()                         */
34
/************************************************************************/
35
36
OGRLayerAttrIndex::~OGRLayerAttrIndex()
37
38
1.43k
{
39
1.43k
    CPLFree(pszIndexPath);
40
1.43k
    pszIndexPath = nullptr;
41
1.43k
}
42
43
/************************************************************************/
44
/* ==================================================================== */
45
/*                             OGRAttrIndex                             */
46
/* ==================================================================== */
47
/************************************************************************/
48
49
/************************************************************************/
50
/*                            OGRAttrIndex()                            */
51
/************************************************************************/
52
53
OGRAttrIndex::OGRAttrIndex()
54
1.03k
{
55
1.03k
}
56
57
/************************************************************************/
58
/*                           ~OGRAttrIndex()                            */
59
/************************************************************************/
60
61
OGRAttrIndex::~OGRAttrIndex()
62
1.03k
{
63
1.03k
}
64
65
//! @endcond