SpECTRE Documentation Coverage Report
Current view: top level - IO/H5 - AccessType.hpp Coverage Total Hit
Commit: 0d1d717af84a81fb1284a20c4013708fe85cc2f0 Lines: 75.0 % 4 3
Test Date: 2026-10-22 17:29:42
Legend: Lines:     hit not hit

            Line data    Source code
       1            1 : // Distributed under the MIT License.
       2              : // See LICENSE.txt for details.
       3              : 
       4              : /// \file
       5              : /// Defines enum for specifying whether the H5 file is ReadWrite or ReadOnly
       6              : 
       7              : #pragma once
       8              : 
       9              : #include <iosfwd>
      10              : 
      11              : /*!
      12              :  * \ingroup HDF5Group
      13              :  * \brief Contains functions and classes for manipulating HDF5 files
      14              :  *
      15              :  * Wraps many underlying C H5 routines making them easier to use and easier to
      16              :  * manipulate H5 files.
      17              :  */
      18            1 : namespace h5 {
      19              : /*!
      20              :  * \ingroup HDF5Group
      21              :  * \brief Set the access type to the H5File
      22              :  */
      23            1 : enum class AccessType {
      24              :   /// Allow read-write access to the file
      25              :   ReadWrite,
      26              :   /// Allow only read access to the file
      27              :   ReadOnly
      28              : };
      29              : 
      30            0 : std::ostream& operator<<(std::ostream& os, AccessType t);
      31              : }  // namespace h5
        

Generated by: LCOV version 2.0-1