HighFive 2.10.0
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
H5Easy::Compression Class Reference

Signal to set compression level for written DataSets. More...

#include <H5Easy.hpp>

Public Member Functions

 Compression (bool enable=true)
 Enable compression with the highest compression level (9). or disable compression (set compression level to 0).
 
template<class T >
 Compression (T level)
 Set compression level.
 
unsigned get () const
 Return compression level.
 

Detailed Description

Signal to set compression level for written DataSets.

Constructor & Destructor Documentation

◆ Compression() [1/2]

H5Easy::Compression::Compression ( bool enable = true)
inlineexplicit

Enable compression with the highest compression level (9). or disable compression (set compression level to 0).

Parameters
enabletrue to enable with highest compression level

◆ Compression() [2/2]

template<class T >
H5Easy::Compression::Compression ( T level)
inline

Set compression level.

Parameters
levelthe compression level

Member Function Documentation

◆ get()

unsigned H5Easy::Compression::get ( ) const
inline

Return compression level.


The documentation for this class was generated from the following files: