TwiceAsNice  2019-02-18
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
Laos::FitsVector< Type > Class Template Reference

Reads one dimensional data from a FITS file into a std::vector. More...

#include <FitsVector.h>

Inheritance diagram for Laos::FitsVector< Type >:
Inheritance graph
Collaboration diagram for Laos::FitsVector< Type >:
Collaboration graph

Public Member Functions

 FitsVector (const std::string &_filename)
 Construct vector and read values from a FITS file. More...
 
 FitsVector ()
 
virtual ~FitsVector ()
 
void readFits (const std::string &_filename)
 Reads FITSfile into Vector. More...
 
bool hasKey (const std::string &_keyword)
 Checks, if keyword is present in the FITS header. More...
 
 FitsVector (const std::string &_filename)
 Construct vector and read values from a FITS file. More...
 
 FitsVector ()
 
virtual ~FitsVector ()
 
void readFits (const std::string &_filename)
 Reads FITSfile into Vector. More...
 
bool hasKey (const std::string &_keyword)
 Checks, if keyword is present in the FITS header. More...
 
 FitsVector (const std::string &_filename)
 Construct vector and read values from a FITS file. More...
 
 FitsVector ()
 
virtual ~FitsVector ()
 
void readFits (const std::string &_filename)
 Reads FITSfile into Vector. More...
 
bool hasKey (const std::string &_keyword)
 Checks, if keyword is present in the FITS header. More...
 

Private Member Functions

void loadFits (fitsfile *_fitsptr)
 
bool hasKey (fitsfile *_fitsptr, const std::string &_keyword)
 
void closeFits (fitsfile *_fitsptr)
 
void loadFits (fitsfile *_fitsptr)
 
bool hasKey (fitsfile *_fitsptr, const std::string &_keyword)
 
void closeFits (fitsfile *_fitsptr)
 
void loadFits (fitsfile *_fitsptr)
 
bool hasKey (fitsfile *_fitsptr, const std::string &_keyword)
 
void closeFits (fitsfile *_fitsptr)
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 
template<>
int fitsDepth ()
 

Static Private Member Functions

static fitsfile * openFits (const std::string &_filename)
 
static int fitsDepth ()
 
static fitsfile * openFits (const std::string &_filename)
 
static int fitsDepth ()
 
static fitsfile * openFits (const std::string &_filename)
 
static int fitsDepth ()
 

Private Attributes

std::string m_filename
 

Detailed Description

template<typename Type>
class Laos::FitsVector< Type >

Reads one dimensional data from a FITS file into a std::vector.

Template Parameters
TypeNice::I8, Nice::U8, Nice::I16, Nice::U16, Nice::I32, Nice::U32, Nice::I64, float, double
Author
Thomas Bertram

Constructor & Destructor Documentation

◆ FitsVector() [1/6]

template<typename Type >
Laos::FitsVector< Type >::FitsVector ( const std::string &  _filename)

Construct vector and read values from a FITS file.

Parameters
_filenameFITS file name.

◆ FitsVector() [2/6]

template<typename Type>
Laos::FitsVector< Type >::FitsVector ( )
inline

◆ ~FitsVector() [1/3]

template<typename Type>
virtual Laos::FitsVector< Type >::~FitsVector ( )
inlinevirtual

◆ FitsVector() [3/6]

template<typename Type>
Laos::FitsVector< Type >::FitsVector ( const std::string &  _filename)

Construct vector and read values from a FITS file.

Parameters
_filenameFITS file name.

◆ FitsVector() [4/6]

template<typename Type>
Laos::FitsVector< Type >::FitsVector ( )
inline

◆ ~FitsVector() [2/3]

template<typename Type>
virtual Laos::FitsVector< Type >::~FitsVector ( )
inlinevirtual

◆ FitsVector() [5/6]

template<typename Type>
Laos::FitsVector< Type >::FitsVector ( const std::string &  _filename)

Construct vector and read values from a FITS file.

Parameters
_filenameFITS file name.

◆ FitsVector() [6/6]

template<typename Type>
Laos::FitsVector< Type >::FitsVector ( )
inline

◆ ~FitsVector() [3/3]

template<typename Type>
virtual Laos::FitsVector< Type >::~FitsVector ( )
inlinevirtual

Member Function Documentation

◆ closeFits() [1/3]

template<typename Type >
void Laos::FitsVector< Type >::closeFits ( fitsfile *  _fitsptr)
private

◆ closeFits() [2/3]

template<typename Type>
void Laos::FitsVector< Type >::closeFits ( fitsfile *  _fitsptr)
private

◆ closeFits() [3/3]

template<typename Type>
void Laos::FitsVector< Type >::closeFits ( fitsfile *  _fitsptr)
private

◆ fitsDepth() [1/48]

template<typename Type>
static int Laos::FitsVector< Type >::fitsDepth ( )
staticprivate

◆ fitsDepth() [2/48]

template<typename Type>
static int Laos::FitsVector< Type >::fitsDepth ( )
staticprivate

◆ fitsDepth() [3/48]

template<typename Type>
static int Laos::FitsVector< Type >::fitsDepth ( )
staticprivate

◆ fitsDepth() [4/48]

template<>
int Laos::FitsVector< Nice::I8 >::fitsDepth ( )
private

◆ fitsDepth() [5/48]

template<>
int Laos::FitsVector< Nice::I8 >::fitsDepth ( )
private

◆ fitsDepth() [6/48]

template<>
int Laos::FitsVector< Nice::I8 >::fitsDepth ( )
private

◆ fitsDepth() [7/48]

template<>
int Laos::FitsVector< Nice::U8 >::fitsDepth ( )
private

◆ fitsDepth() [8/48]

template<>
int Laos::FitsVector< Nice::U8 >::fitsDepth ( )
private

◆ fitsDepth() [9/48]

template<>
int Laos::FitsVector< Nice::U8 >::fitsDepth ( )
private

◆ fitsDepth() [10/48]

template<>
int Laos::FitsVector< Nice::I16 >::fitsDepth ( )
private

◆ fitsDepth() [11/48]

template<>
int Laos::FitsVector< Nice::I16 >::fitsDepth ( )
private

◆ fitsDepth() [12/48]

template<>
int Laos::FitsVector< Nice::I16 >::fitsDepth ( )
private

◆ fitsDepth() [13/48]

template<>
int Laos::FitsVector< Nice::U16 >::fitsDepth ( )
private

◆ fitsDepth() [14/48]

template<>
int Laos::FitsVector< Nice::U16 >::fitsDepth ( )
private

◆ fitsDepth() [15/48]

template<>
int Laos::FitsVector< Nice::U16 >::fitsDepth ( )
private

◆ fitsDepth() [16/48]

template<>
int Laos::FitsVector< Nice::I32 >::fitsDepth ( )
private

◆ fitsDepth() [17/48]

template<>
int Laos::FitsVector< Nice::I32 >::fitsDepth ( )
private

◆ fitsDepth() [18/48]

template<>
int Laos::FitsVector< Nice::I32 >::fitsDepth ( )
private

◆ fitsDepth() [19/48]

template<>
int Laos::FitsVector< Nice::U32 >::fitsDepth ( )
private

◆ fitsDepth() [20/48]

template<>
int Laos::FitsVector< Nice::U32 >::fitsDepth ( )
private

◆ fitsDepth() [21/48]

template<>
int Laos::FitsVector< Nice::U32 >::fitsDepth ( )
private

◆ fitsDepth() [22/48]

template<>
int Laos::FitsVector< Nice::I64 >::fitsDepth ( )
private

◆ fitsDepth() [23/48]

template<>
int Laos::FitsVector< Nice::I64 >::fitsDepth ( )
private

◆ fitsDepth() [24/48]

template<>
int Laos::FitsVector< Nice::I64 >::fitsDepth ( )
private

◆ fitsDepth() [25/48]

template<>
int Laos::FitsVector< float >::fitsDepth ( )
private

◆ fitsDepth() [26/48]

template<>
int Laos::FitsVector< float >::fitsDepth ( )
private

◆ fitsDepth() [27/48]

template<>
int Laos::FitsVector< float >::fitsDepth ( )
private

◆ fitsDepth() [28/48]

template<>
int Laos::FitsVector< double >::fitsDepth ( )
private

◆ fitsDepth() [29/48]

template<>
int Laos::FitsVector< double >::fitsDepth ( )
private

◆ fitsDepth() [30/48]

template<>
int Laos::FitsVector< double >::fitsDepth ( )
private

◆ fitsDepth() [31/48]

template<>
int Laos::FitsVector< Nice::I8 >::fitsDepth ( )
private

◆ fitsDepth() [32/48]

template<>
int Laos::FitsVector< Nice::I8 >::fitsDepth ( )
private

◆ fitsDepth() [33/48]

template<>
int Laos::FitsVector< Nice::U8 >::fitsDepth ( )
private

◆ fitsDepth() [34/48]

template<>
int Laos::FitsVector< Nice::U8 >::fitsDepth ( )
private

◆ fitsDepth() [35/48]

template<>
int Laos::FitsVector< Nice::I16 >::fitsDepth ( )
private

◆ fitsDepth() [36/48]

template<>
int Laos::FitsVector< Nice::I16 >::fitsDepth ( )
private

◆ fitsDepth() [37/48]

template<>
int Laos::FitsVector< Nice::U16 >::fitsDepth ( )
private

◆ fitsDepth() [38/48]

template<>
int Laos::FitsVector< Nice::U16 >::fitsDepth ( )
private

◆ fitsDepth() [39/48]

template<>
int Laos::FitsVector< Nice::I32 >::fitsDepth ( )
private

◆ fitsDepth() [40/48]

template<>
int Laos::FitsVector< Nice::I32 >::fitsDepth ( )
private

◆ fitsDepth() [41/48]

template<>
int Laos::FitsVector< Nice::U32 >::fitsDepth ( )
private

◆ fitsDepth() [42/48]

template<>
int Laos::FitsVector< Nice::U32 >::fitsDepth ( )
private

◆ fitsDepth() [43/48]

template<>
int Laos::FitsVector< Nice::I64 >::fitsDepth ( )
private

◆ fitsDepth() [44/48]

template<>
int Laos::FitsVector< Nice::I64 >::fitsDepth ( )
private

◆ fitsDepth() [45/48]

template<>
int Laos::FitsVector< float >::fitsDepth ( )
private

◆ fitsDepth() [46/48]

template<>
int Laos::FitsVector< float >::fitsDepth ( )
private

◆ fitsDepth() [47/48]

template<>
int Laos::FitsVector< double >::fitsDepth ( )
private

◆ fitsDepth() [48/48]

template<>
int Laos::FitsVector< double >::fitsDepth ( )
private

◆ hasKey() [1/6]

template<typename Type>
bool Laos::FitsVector< Type >::hasKey ( const std::string &  _keyword)

Checks, if keyword is present in the FITS header.

Parameters
_keywordThe keyword
Returns
bool

◆ hasKey() [2/6]

template<typename Type >
bool Laos::FitsVector< Type >::hasKey ( const std::string &  _keyword)

Checks, if keyword is present in the FITS header.

Parameters
_keywordThe keyword
Returns
bool

◆ hasKey() [3/6]

template<typename Type>
bool Laos::FitsVector< Type >::hasKey ( const std::string &  _keyword)

Checks, if keyword is present in the FITS header.

Parameters
_keywordThe keyword
Returns
bool

◆ hasKey() [4/6]

template<typename Type >
bool Laos::FitsVector< Type >::hasKey ( fitsfile *  _fitsptr,
const std::string &  _keyword 
)
private

◆ hasKey() [5/6]

template<typename Type>
bool Laos::FitsVector< Type >::hasKey ( fitsfile *  _fitsptr,
const std::string &  _keyword 
)
private

◆ hasKey() [6/6]

template<typename Type>
bool Laos::FitsVector< Type >::hasKey ( fitsfile *  _fitsptr,
const std::string &  _keyword 
)
private

◆ loadFits() [1/3]

template<typename Type>
void Laos::FitsVector< Type >::loadFits ( fitsfile *  _fitsptr)
private

◆ loadFits() [2/3]

template<typename Type>
void Laos::FitsVector< Type >::loadFits ( fitsfile *  _fitsptr)
private

◆ loadFits() [3/3]

template<typename Type >
void Laos::FitsVector< Type >::loadFits ( fitsfile *  _fitsptr)
private

◆ openFits() [1/3]

template<typename Type>
static fitsfile* Laos::FitsVector< Type >::openFits ( const std::string &  _filename)
staticprivate

◆ openFits() [2/3]

template<typename Type >
fitsfile * Laos::FitsVector< Type >::openFits ( const std::string &  _filename)
staticprivate

◆ openFits() [3/3]

template<typename Type>
static fitsfile* Laos::FitsVector< Type >::openFits ( const std::string &  _filename)
staticprivate

◆ readFits() [1/3]

template<typename Type >
void Laos::FitsVector< Type >::readFits ( const std::string &  _filename)

Reads FITSfile into Vector.

Parameters
_filenameFITS file name

◆ readFits() [2/3]

template<typename Type>
void Laos::FitsVector< Type >::readFits ( const std::string &  _filename)

Reads FITSfile into Vector.

Parameters
_filenameFITS file name

◆ readFits() [3/3]

template<typename Type>
void Laos::FitsVector< Type >::readFits ( const std::string &  _filename)

Reads FITSfile into Vector.

Parameters
_filenameFITS file name

Member Data Documentation

◆ m_filename

template<typename Type>
std::string Laos::FitsVector< Type >::m_filename
private

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