LCOV - code coverage report
Current view: top level - frmts/icechunk - icechunkfile.h (source / functions) Hit Total Coverage
Test: gdal_filtered.info Lines: 3 3 100.0 %
Date: 2026-06-19 21:24:00 Functions: 3 4 75.0 %

          Line data    Source code
       1             : /******************************************************************************
       2             :  *
       3             :  * Project:  GDAL
       4             :  * Purpose:  Icechunk driver
       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 ICECHUNKFILE_H
      14             : #define ICECHUNKFILE_H
      15             : 
      16             : #include <string>
      17             : 
      18             : namespace gdal::icechunk
      19             : {
      20             : 
      21       12976 : class IcechunkFile /* non final */
      22             : {
      23             :   public:
      24             :     virtual ~IcechunkFile();
      25             : 
      26        2190 :     const std::string &GetFilename() const
      27             :     {
      28        2190 :         return m_osFilename;
      29             :     }
      30             : 
      31             :   protected:
      32             :     IcechunkFile();
      33             : 
      34             :     std::string m_osFilename{};
      35             : };
      36             : 
      37             : }  // namespace gdal::icechunk
      38             : 
      39             : #endif

Generated by: LCOV version 1.14