EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
List of all members
Strategy Class Reference

#include <Strategy.h>

Detailed Description

MEF file strategy.

A strategy is a list of actions to be performed at various steps of the MEF file lifetime. Actions generally act on HDUs according to their category.

A specific component of the strategy is the compression strategy. In this case, compression actions are not performed one after the other: instead, they are tried one after the other, and the iteration stops as soon as a suitable compression action is found. If none is suitable, then compression is disabled.

Public Member Functions

Data modifiers
template<typename TAction >
void push_back (TAction &&action)
 Append an action. More...
 
template<typename TAction0 , typename... TActions>
void append (TAction0 &&action0, TActions &&... actions)
 Append actions. More...
 
Strategyclear ()
 Clear the strategy.
 
Operations
void opened (const Hdu &hdu)
 Method called just after openning the file. More...
 
void accessed (const Hdu &hdu)
 Method called just after accessing an HDU for the first time. More...
 
void copied (const Hdu &hdu)
 Method called just after copying an HDU. More...
 
void created (const Hdu &hdu)
 Method called just after creating an HDU. More...
 
void closing (const Hdu &hdu)
 Method called just before closing the file. More...
 

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