This class is interface for a CPL image extensions functions. It provides a simplified interface that allows to call CPL routines INS applications.
More...
#include <imageExtensions.hpp>
|
| ImageExtensions () |
| Class constructor.
|
|
virtual | ~ImageExtensions () |
| Class destructor.
|
|
void | GetNumExt (const std::string &filename, cpl_size *extnum) |
| Get the number of image extensions.
|
|
cpl_size | GetNumExt (const std::string &filename) |
| Get the number of image extensions.
|
|
void | FindExt (const std::string &filename, const std::string &extname, cpl_size *extnum) |
| Get the place of a give extension in a FITS file.
|
|
cpl_size | FindExt (const std::string &filename, const std::string &extname) |
| Get the place of a give extension in a FITS file.
|
|
| Error () |
| Class constructor.
|
|
virtual | ~Error () |
| Class destructor.
|
|
void | ResetCplError () |
| Reset CPL error and internal error flag.
|
|
bool | CheckCplError () const |
| Check if there is an error in CPL.
|
|
|
std::string | GetErrorMsg () const |
| Get CPL error message.
|
|
This class is interface for a CPL image extensions functions. It provides a simplified interface that allows to call CPL routines INS applications.
ImageExtensions - CPL image extension interface class
- See also
- CPL Reference: http://www.eso.org/observing/cpl/reference_3.0/ or above
◆ ImageExtensions()
ifw::odp::ImageExtensions::ImageExtensions |
( |
| ) |
|
|
explicit |
Class constructor.
- Returns
- none
◆ ~ImageExtensions()
ifw::odp::ImageExtensions::~ImageExtensions |
( |
| ) |
|
|
virtual |
Class destructor.
- Returns
- none
◆ FindExt() [1/2]
cpl_size ifw::odp::ImageExtensions::FindExt |
( |
const std::string & | filename, |
|
|
const std::string & | extname ) |
Get the place of a give extension in a FITS file.
- Parameters
-
[in] | filename | FIT file. |
[in] | extname | Extension name. |
- Returns
- Extension number
- See also
- CPL function: cpl_fits_find_extension
◆ FindExt() [2/2]
void ifw::odp::ImageExtensions::FindExt |
( |
const std::string & | filename, |
|
|
const std::string & | extname, |
|
|
cpl_size * | extnum ) |
Get the place of a give extension in a FITS file.
- Parameters
-
[in] | filename | FIT file. |
[in] | extname | Extension name. |
[out] | extnum | Extension number. |
- Returns
- none
- See also
- CPL function: cpl_fits_find_extension
◆ GetNumExt() [1/2]
cpl_size ifw::odp::ImageExtensions::GetNumExt |
( |
const std::string & | filename | ) |
|
Get the number of image extensions.
- Parameters
-
- Returns
- Number of extensions
- See also
- CPL function: cpl_fits_count_extensions
◆ GetNumExt() [2/2]
void ifw::odp::ImageExtensions::GetNumExt |
( |
const std::string & | filename, |
|
|
cpl_size * | extnum ) |
Get the number of image extensions.
- Parameters
-
[in] | filename | FIT file. |
[out] | extnum | Number of extensions. |
- Returns
- none
- See also
- CPL function: cpl_fits_count_extensions
The documentation for this class was generated from the following files: