ifw-odp  2.0.0-alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
odp::ImageExtensions Class Reference

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>

Inheritance diagram for odp::ImageExtensions:
odp::Error

Public Member Functions

 ImageExtensions ()
 Class constructor. More...
 
virtual ~ImageExtensions ()
 Class destructor. More...
 
void GetNumExt (const std::string &filename, cpl_size *extnum)
 Get the number of image extensions. More...
 
cpl_size GetNumExt (const std::string &filename)
 Get the number of image extensions. More...
 
void FindExt (const std::string &filename, const std::string &extname, cpl_size *extnum)
 Get the place of a give extension in a FITS file. More...
 
cpl_size FindExt (const std::string &filename, const std::string &extname)
 Get the place of a give extension in a FITS file. More...
 
- Public Member Functions inherited from odp::Error
 Error ()
 Class constructor. More...
 
virtual ~Error ()
 Class destructor. More...
 
void ResetCplError ()
 Reset CPL error and internal error flag. More...
 
bool CheckCplError () const
 Check if there is an error in CPL. More...
 

Additional Inherited Members

- Protected Member Functions inherited from odp::Error
void AddCplError () const
 Add CPL error to the error stack. More...
 
std::string GetErrorMsg () const
 Get CPL error message. More...
 
- Static Protected Member Functions inherited from odp::Error
static void DumpError (unsigned self, unsigned first, unsigned last)
 Dump current CPL error. More...
 

Detailed Description

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

Constructor & Destructor Documentation

odp::ImageExtensions::ImageExtensions ( )
explicit

Class constructor.

Returns
none
odp::ImageExtensions::~ImageExtensions ( )
virtual

Class destructor.

Returns
none

Member Function Documentation

void 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]filenameFIT file.
[in]extnameExtension name.
[out]extnumExtension number.
Returns
none
See Also
CPL function: cpl_fits_find_extension
cpl_size odp::ImageExtensions::FindExt ( const std::string &  filename,
const std::string &  extname 
)

Get the place of a give extension in a FITS file.

Parameters
[in]filenameFIT file.
[in]extnameExtension name.
Returns
Extension number
See Also
CPL function: cpl_fits_find_extension
void odp::ImageExtensions::GetNumExt ( const std::string &  filename,
cpl_size *  extnum 
)

Get the number of image extensions.

Parameters
[in]filenameFIT file.
[out]extnumNumber of extensions.
Returns
none
See Also
CPL function: cpl_fits_count_extensions
cpl_size odp::ImageExtensions::GetNumExt ( const std::string &  filename)

Get the number of image extensions.

Parameters
[in]filenameFIT file.
Returns
Number of extensions
See Also
CPL function: cpl_fits_count_extensions

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