Options for dumping data.
More...
#include <H5Easy.hpp>
Options for dumping data.
By default:
◆ DumpOptions() [1/2]
H5Easy::DumpOptions::DumpOptions |
( |
| ) |
|
|
default |
Constructor: accept all defaults.
◆ DumpOptions() [2/2]
template<class... Args>
H5Easy::DumpOptions::DumpOptions |
( |
Args... |
args | ) |
|
|
inline |
Constructor: overwrite (some of the) defaults.
- Parameters
-
Any | of DumpMode, Flush, Compression in arbitrary number and order. |
◆ compress()
bool H5Easy::DumpOptions::compress |
( |
| ) |
const |
|
inline |
◆ flush()
bool H5Easy::DumpOptions::flush |
( |
| ) |
const |
|
inline |
◆ getChunkSize()
std::vector< hsize_t > H5Easy::DumpOptions::getChunkSize |
( |
| ) |
const |
|
inline |
◆ getCompressionLevel()
unsigned H5Easy::DumpOptions::getCompressionLevel |
( |
| ) |
const |
|
inline |
◆ isChunked()
bool H5Easy::DumpOptions::isChunked |
( |
| ) |
const |
|
inline |
Check if chunk-size is manually set (or should be computed automatically).
◆ overwrite()
bool H5Easy::DumpOptions::overwrite |
( |
| ) |
const |
|
inline |
◆ set() [1/4]
void H5Easy::DumpOptions::set |
( |
const Compression & |
level | ) |
|
|
inline |
Overwrite setting.
- Parameters
-
◆ set() [2/4]
void H5Easy::DumpOptions::set |
( |
DumpMode |
mode | ) |
|
|
inline |
Overwrite setting.
- Parameters
-
◆ set() [3/4]
void H5Easy::DumpOptions::set |
( |
Flush |
mode | ) |
|
|
inline |
Overwrite setting.
- Parameters
-
◆ set() [4/4]
template<class T , class... Args>
void H5Easy::DumpOptions::set |
( |
T |
arg, |
|
|
Args... |
args |
|
) |
| |
|
inline |
Overwrite settings.
- Parameters
-
Any | of DumpMode, Flush, Compression in arbitrary number and order. |
◆ setChunkSize() [1/2]
template<class T >
void H5Easy::DumpOptions::setChunkSize |
( |
const std::vector< T > & |
shape | ) |
|
|
inline |
Set chunk-size. If the input is rank (size) zero, automatic chunking is enabled.
- Parameters
-
shape | Chunk size along each dimension. |
◆ setChunkSize() [2/2]
void H5Easy::DumpOptions::setChunkSize |
( |
std::initializer_list< size_t > |
shape | ) |
|
|
inline |
Set chunk-size. If the input is rank (size) zero, automatic chunking is enabled.
- Parameters
-
shape | Chunk size along each dimension. |
The documentation for this class was generated from the following files: