#include <CompressionStrategy.h>
A compression action made of a single algorithm.
TAlgo | The compression algorithm |
Public Member Functions | |
Construction | |
template<typename... Ts> | |
Compress (Ts &&... args) | |
Constructor. | |
Operations | |
template<typename T > | |
bool | apply (fitsfile *fptr, const ImageHdu::Initializer< T > &init) |
Try compressing. More... | |
template<typename T > | |
std::unique_ptr< TAlgo > | compression (const ImageHdu::Initializer< T > &init) |
Try creating a compression algorithm. More... | |
Public Member Functions inherited from CompressionActionMixin< Compress< TAlgo > > | |
CompressionActionMixin ()=default | |
Public Member Functions inherited from CompressionAction | |
CompressionAction ()=default | |