casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Types | Public Member Functions | Protected Attributes | Private Member Functions
casa::PrimaryTable< TYPE > Class Template Reference

Primary Table structure. More...

#include <hdu.h>

Inheritance diagram for casa::PrimaryTable< TYPE >:
casa::PrimaryArray< TYPE > casa::HeaderDataUnit

List of all members.

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 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 ()

Detailed Description

template<class TYPE>
class casa::PrimaryTable< TYPE >

Primary Table structure.

Template Type Argument Requirements

Definition at line 706 of file hdu.h.


Member Typedef Documentation

template<class TYPE>
typedef TYPE casa::PrimaryTable< TYPE >::ElementType

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 708 of file hdu.h.


Constructor & Destructor Documentation

template<class TYPE>
casa::PrimaryTable< TYPE >::PrimaryTable ( FitsInput ,
FITSErrorHandler  errhandler = FITSError::defaultHandler 
)
template<class TYPE>
casa::PrimaryTable< TYPE >::PrimaryTable ( FitsKeywordList ,
FITSErrorHandler  errhandler = FITSError::defaultHandler 
)
template<class TYPE>
casa::PrimaryTable< TYPE >::PrimaryTable ( FITSErrorHandler  errhandler = FITSError::defaultHandler)

constructor for header consisted required keywords only

template<class TYPE>
casa::PrimaryTable< TYPE >::~PrimaryTable ( )

Member Function Documentation

template<class TYPE>
float casa::PrimaryTable< TYPE >::altrpix ( ) const [inline]

Definition at line 734 of file hdu.h.

template<class TYPE>
float casa::PrimaryTable< TYPE >::bscal ( ) const [inline]

Definition at line 731 of file hdu.h.

template<class TYPE>
char* casa::PrimaryTable< TYPE >::bunit ( ) const [inline]

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 730 of file hdu.h.

template<class TYPE>
float casa::PrimaryTable< TYPE >::bzero ( ) const [inline]

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 732 of file hdu.h.

template<class TYPE>
char* casa::PrimaryTable< TYPE >::datemap ( ) const [inline]

Definition at line 729 of file hdu.h.

template<class TYPE>
char* casa::PrimaryTable< TYPE >::dateobs ( ) const [inline]

Definition at line 728 of file hdu.h.

template<class TYPE>
float casa::PrimaryTable< TYPE >::equinox ( ) const [inline]

Definition at line 733 of file hdu.h.

template<class TYPE>
char* casa::PrimaryTable< TYPE >::instrume ( ) const [inline]

Definition at line 727 of file hdu.h.

template<class TYPE>
char* casa::PrimaryTable< TYPE >::object ( ) const [inline]

Definition at line 725 of file hdu.h.

template<class TYPE>
void casa::PrimaryTable< TYPE >::pt_assign ( ) [private]
template<class TYPE>
int casa::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 casa::PrimaryArray< TYPE >.

Referenced by casa::MSPrimaryTableHolder::read().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::telescop ( ) const [inline]

Definition at line 726 of file hdu.h.

template<class TYPE>
int casa::PrimaryTable< TYPE >::write ( FitsOutput ) [inline, virtual]

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 723 of file hdu.h.

template<class TYPE>
int casa::PrimaryTable< TYPE >::write_priTable_hdr ( FitsOutput fout,
int  bitpix,
int  naxis,
long *  naxes 
)

write required keywords for PrimaryTable


Member Data Documentation

template<class TYPE>
Float casa::PrimaryTable< TYPE >::altrpix_x [protected]

Definition at line 746 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::altrpix().

template<class TYPE>
Float casa::PrimaryTable< TYPE >::bscale_x [protected]

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 742 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::bscal().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::bunit_x [protected]

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 744 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::bunit().

template<class TYPE>
Float casa::PrimaryTable< TYPE >::bzero_x [protected]

Reimplemented from casa::PrimaryArray< TYPE >.

Definition at line 743 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::bzero().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::datemap_x [protected]

Definition at line 741 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::datemap().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::dateobs_x [protected]

Definition at line 740 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::dateobs().

template<class TYPE>
Float casa::PrimaryTable< TYPE >::equinox_x [protected]

Definition at line 745 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::equinox().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::instrume_x [protected]

Definition at line 739 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::instrume().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::object_x [protected]

Definition at line 737 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::object().

template<class TYPE>
char* casa::PrimaryTable< TYPE >::telescop_x [protected]

Definition at line 738 of file hdu.h.

Referenced by casa::PrimaryTable< Short >::telescop().


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