EleFits  4.0.1
A modern C++ API on top of CFitsIO
Namespaces | Classes | Functions
Euclid::Cfitsio Namespace Reference

Detailed Description

Functions to use CFitsIO with a modern C++ API.

See also
Euclid::Fits for an Object-Oriented API.

Namespaces

 BintableIo
 Binary table-related functions.
 
 FileAccess
 File-related functions.
 
 HduAccess
 HDU-related functions.
 
 HeaderIo
 Header-related functions.
 
 ImageIo
 Image-related functions.
 

Classes

class  CfitsioError
 The error class which is thrown when an error occurs in a CFitsIO routine. More...
 
struct  CStrArray
 A helper structure to safely convert vector<string> to char **. More...
 
struct  TypeCode
 Type traits to convert C++ types to CFitsIO type codes. More...
 

Functions

std::unique_ptr< char[]> toCharPtr (const std::string &str)
 Convert a string to a unique_ptr<char[]>. More...
 
void mayThrowInvalidFileError (fitsfile *fptr)
 Check whether the file is valid and throw an error if not.
 
void mayThrowReadonlyError (fitsfile *fptr)
 Check whether the file is writable and throw an error if not.
 
Euclid::Cfitsio::toCharPtr
std::unique_ptr< char[]> toCharPtr(const std::string &str)
Convert a string to a unique_ptr<char[]>.