|
casacore
|
#include <MSFitsInput.h>
Public Member Functions | |
| MSPrimaryTableHolder () | |
| This is a helper class to avoid cumbersome switch statements on the template type of the primary array It forwards all the PrimaryTable member function we need in the filler. | |
| MSPrimaryTableHolder (FitsInput &infile) | |
| Construct from an input file containing a FITS primary group hdu. | |
| ~MSPrimaryTableHolder () | |
| void | attach (FitsInput &infile) |
| Attach to the input file, create the appropriate PrimaryArray. | |
| void | detach () |
| Detach from the input file. | |
| Int | dims () |
| Number of dimensions. | |
| Int | dim (Int i) |
| Length of i'th axis. | |
| Char * | ctype (Int i) |
| Coordinate type. | |
| Double | crval (Int i) |
| Coordinate reference value. | |
| Double | crpix (Int i) |
| Coordinate reference pixel. | |
| Double | cdelt (Int i) |
| Coordinate delta. | |
| const FitsKeyword * | kw (const FITS::ReservedName &n) |
| Keyword of given type. | |
| ConstFitsKeywordList & | kwlist () |
| All keywords. | |
| const FitsKeyword * | nextkw () |
| Advance to next keyword. | |
| Int | read () |
| Read the next group. | |
Private Attributes | |
| HeaderDataUnit * | hdu_p |
| PrimaryTable< Short > * | ps |
| PrimaryTable< FitsLong > * | pl |
| PrimaryTable< Float > * | pf |
| PrimaryTable< uChar > * | pb |
A helper class for MSFitsInput
Internal
This class can hold a primary array of several datatypes
This is a helper class to avoid cumbersome switch statements on the template type of the primary array It forwards all the PrimaryArray member functions we need in the filler.
Definition at line 63 of file MSFitsInput.h.
| casacore::MSPrimaryTableHolder::MSPrimaryTableHolder | ( | ) |
This is a helper class to avoid cumbersome switch statements on the template type of the primary array It forwards all the PrimaryTable member function we need in the filler.
Construct an empty holder, used to attach to later
| casacore::MSPrimaryTableHolder::MSPrimaryTableHolder | ( | FitsInput & | infile | ) |
| casacore::MSPrimaryTableHolder::~MSPrimaryTableHolder | ( | ) |
| void casacore::MSPrimaryTableHolder::attach | ( | FitsInput & | infile | ) |
Coordinate reference pixel.
Definition at line 104 of file MSFitsInput.h.
Coordinate reference value.
Definition at line 100 of file MSFitsInput.h.
| void casacore::MSPrimaryTableHolder::detach | ( | ) |
Detach from the input file.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
Definition at line 138 of file MSFitsInput.h.
Referenced by read().
|
private |
|
private |
|
private |