Primary Table structure. More...
#include <hdu.h>
Public Types | |
typedef TYPE | ElementType |
Public Member Functions | |
PrimaryTable (FitsInput &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
PrimaryTable (FitsKeywordList &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
PrimaryTable (FITSErrorHandler errhandler=FITSError::defaultHandler) | |
constructor for header consisted required keywords only | |
~PrimaryTable () | |
int | write_priTable_hdr (FitsOutput &fout, int bitpix, int naxis, long *naxes) |
write required keywords for PrimaryTable | |
int | read () |
The `read()' and `write()' functions control reading and writing data from the external FITS I/O medium into the FITS array. | |
int | read (int) |
int | write (FitsOutput &) |
char * | object () const |
char * | telescop () const |
char * | instrume () const |
char * | dateobs () const |
char * | datemap () const |
char * | bunit () const |
float | bscal () const |
float | bzero () const |
float | equinox () const |
float | altrpix () const |
Protected Attributes | |
char * | object_x |
char * | telescop_x |
char * | instrume_x |
char * | dateobs_x |
char * | datemap_x |
Float | bscale_x |
Float | bzero_x |
char * | bunit_x |
Float | equinox_x |
Float | altrpix_x |
Private Member Functions | |
void | pt_assign () |
Primary Table structure.
Definition at line 706 of file hdu.h.
typedef TYPE casacore::PrimaryTable< TYPE >::ElementType |
Reimplemented from casacore::PrimaryArray< TYPE >.
casacore::PrimaryTable< TYPE >::PrimaryTable | ( | FitsInput & | , | |
FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
) |
casacore::PrimaryTable< TYPE >::PrimaryTable | ( | FitsKeywordList & | , | |
FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
) |
casacore::PrimaryTable< TYPE >::PrimaryTable | ( | FITSErrorHandler | errhandler = FITSError::defaultHandler |
) |
constructor for header consisted required keywords only
casacore::PrimaryTable< TYPE >::~PrimaryTable | ( | ) |
float casacore::PrimaryTable< TYPE >::altrpix | ( | ) | const [inline] |
float casacore::PrimaryTable< TYPE >::bscal | ( | ) | const [inline] |
char* casacore::PrimaryTable< TYPE >::bunit | ( | ) | const [inline] |
Reimplemented from casacore::PrimaryArray< TYPE >.
float casacore::PrimaryTable< TYPE >::bzero | ( | ) | const [inline] |
Reimplemented from casacore::PrimaryArray< TYPE >.
char* casacore::PrimaryTable< TYPE >::datemap | ( | ) | const [inline] |
char* casacore::PrimaryTable< TYPE >::dateobs | ( | ) | const [inline] |
float casacore::PrimaryTable< TYPE >::equinox | ( | ) | const [inline] |
char* casacore::PrimaryTable< TYPE >::instrume | ( | ) | const [inline] |
char* casacore::PrimaryTable< TYPE >::object | ( | ) | const [inline] |
void casacore::PrimaryTable< TYPE >::pt_assign | ( | ) | [private] |
int casacore::PrimaryTable< TYPE >::read | ( | int | ) | [inline, virtual] |
Reimplemented from casacore::PrimaryArray< TYPE >.
int casacore::PrimaryTable< TYPE >::read | ( | ) | [virtual] |
The `read()' and `write()' functions control reading and writing data from the external FITS I/O medium into the FITS array.
Appropriate conversions are made between FITS and local data representations. One can read the entire array into memory, or one can only read portions of the array. In the latter case, one must specify that the next N elements are to be read or written. Note that the number of elements must be specified, NOT the number of bytes. If one reads portions of the array, as opposed to the entire array, only that portion is in memory at a given time. One can still access the elements of the array via the `()' and `data()' functions, as if the entire array was in memory; obviously care must be taken in this case to access only those portions that are actually in memory.
Reimplemented from casacore::PrimaryArray< TYPE >.
Referenced by casacore::MSPrimaryTableHolder::read().
char* casacore::PrimaryTable< TYPE >::telescop | ( | ) | const [inline] |
int casacore::PrimaryTable< TYPE >::write | ( | FitsOutput & | ) | [inline, virtual] |
Reimplemented from casacore::PrimaryArray< TYPE >.
int casacore::PrimaryTable< TYPE >::write_priTable_hdr | ( | FitsOutput & | fout, | |
int | bitpix, | |||
int | naxis, | |||
long * | naxes | |||
) |
write required keywords for PrimaryTable
Float casacore::PrimaryTable< TYPE >::altrpix_x [protected] |
Definition at line 747 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::altrpix().
Float casacore::PrimaryTable< TYPE >::bscale_x [protected] |
Reimplemented from casacore::PrimaryArray< TYPE >.
Definition at line 743 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::bscal().
char* casacore::PrimaryTable< TYPE >::bunit_x [protected] |
Reimplemented from casacore::PrimaryArray< TYPE >.
Definition at line 745 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::bunit().
Float casacore::PrimaryTable< TYPE >::bzero_x [protected] |
Reimplemented from casacore::PrimaryArray< TYPE >.
Definition at line 744 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::bzero().
char* casacore::PrimaryTable< TYPE >::datemap_x [protected] |
Definition at line 742 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::datemap().
char* casacore::PrimaryTable< TYPE >::dateobs_x [protected] |
Definition at line 741 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::dateobs().
Float casacore::PrimaryTable< TYPE >::equinox_x [protected] |
Definition at line 746 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::equinox().
char* casacore::PrimaryTable< TYPE >::instrume_x [protected] |
Definition at line 740 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::instrume().
char* casacore::PrimaryTable< TYPE >::object_x [protected] |
Definition at line 738 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::object().
char* casacore::PrimaryTable< TYPE >::telescop_x [protected] |
Definition at line 739 of file hdu.h.
Referenced by casacore::PrimaryTable< Short >::telescop().