casa
$Rev:20696$
|
Random Group datastructure. More...
#include <hdu.h>
Public Member Functions | |
PrimaryGroup (FitsInput &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
PrimaryGroup (FitsKeywordList &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
PrimaryGroup (FITSErrorHandler errhandler=FITSError::defaultHandler) | |
constructor for header consisted required keywords only | |
~PrimaryGroup () | |
Int | gcount () const |
Return basic parameters of a random group. | |
Int | pcount () const |
char * | ptype (int n) const |
double | pscal (int n) const |
double | pzero (int n) const |
Int | currgroup () const |
double | parm (int) |
TYPE & | rawparm (int) |
void | storeparm (const TYPE *source) |
void | copyparm (double *target) const |
void | copyparm (float *target) const |
void | moveparm (TYPE *target) const |
int | read () |
read, or write the next group | |
int | write (FitsOutput &) |
int | write_priGrp_hdr (FitsOutput &fout, int simple, int bitpix, int naxis, long naxes[], long pcount, long gcount) |
write the required keywords for PrimaryGroup | |
OFF_T | set_next (OFF_T) |
disable these functions, since they are inherited from PrimaryArray | |
int | read (int) |
Protected Attributes | |
Int | pcount_x |
Int | gcount_x |
char ** | ptype_x |
double * | pscal_x |
double * | pzero_x |
TYPE * | group_parm |
Int | current_group |
Private Member Functions | |
void | pg_assign () |
Random Group datastructure.
A Random Group Structure is represented by the following:
struct GroupData {
<Type> group_parms [PCOUNT];
<Type> data_array [NAXIS2][NAXIS3]...[NAXISN];
} group_data[GCOUNT];
Warning: Please note that the NOST has deprecated the Random Group datastructure, it has been replaced by the much more powerfull BINTABLE extension;
casa::PrimaryGroup< TYPE >::PrimaryGroup | ( | FitsInput & | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) |
casa::PrimaryGroup< TYPE >::PrimaryGroup | ( | FitsKeywordList & | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) |
casa::PrimaryGroup< TYPE >::PrimaryGroup | ( | FITSErrorHandler | errhandler = FITSError::defaultHandler | ) |
constructor for header consisted required keywords only
casa::PrimaryGroup< TYPE >::~PrimaryGroup | ( | ) |
void casa::PrimaryGroup< TYPE >::copyparm | ( | double * | target | ) | const |
void casa::PrimaryGroup< TYPE >::copyparm | ( | float * | target | ) | const |
Int casa::PrimaryGroup< TYPE >::currgroup | ( | ) | const [inline] |
Int casa::PrimaryGroup< TYPE >::gcount | ( | ) | const [inline] |
Return basic parameters of a random group.
Definition at line 607 of file hdu.h.
Referenced by casa::MSPrimaryGroupHolder::gcount().
void casa::PrimaryGroup< TYPE >::moveparm | ( | TYPE * | target | ) | const |
double casa::PrimaryGroup< TYPE >::parm | ( | int | ) |
Referenced by casa::MSPrimaryGroupHolder::parm().
Int casa::PrimaryGroup< TYPE >::pcount | ( | ) | const [inline] |
Definition at line 608 of file hdu.h.
Referenced by casa::MSPrimaryGroupHolder::pcount().
void casa::PrimaryGroup< TYPE >::pg_assign | ( | ) | [private] |
double casa::PrimaryGroup< TYPE >::pscal | ( | int | n | ) | const [inline] |
char* casa::PrimaryGroup< TYPE >::ptype | ( | int | n | ) | const [inline] |
Definition at line 609 of file hdu.h.
Referenced by casa::MSPrimaryGroupHolder::ptype().
double casa::PrimaryGroup< TYPE >::pzero | ( | int | n | ) | const [inline] |
TYPE& casa::PrimaryGroup< TYPE >::rawparm | ( | int | ) |
int casa::PrimaryGroup< TYPE >::read | ( | ) | [virtual] |
read, or write the next group
Reimplemented from casa::PrimaryArray< TYPE >.
Referenced by casa::MSPrimaryGroupHolder::read().
int casa::PrimaryGroup< TYPE >::read | ( | int | ) | [inline, virtual] |
Reimplemented from casa::PrimaryArray< TYPE >.
OFF_T casa::PrimaryGroup< TYPE >::set_next | ( | OFF_T | ) | [inline, virtual] |
disable these functions, since they are inherited from PrimaryArray
Reimplemented from casa::PrimaryArray< TYPE >.
void casa::PrimaryGroup< TYPE >::storeparm | ( | const TYPE * | source | ) |
int casa::PrimaryGroup< TYPE >::write | ( | FitsOutput & | ) | [virtual] |
Reimplemented from casa::PrimaryArray< TYPE >.
int casa::PrimaryGroup< TYPE >::write_priGrp_hdr | ( | FitsOutput & | fout, |
int | simple, | ||
int | bitpix, | ||
int | naxis, | ||
long | naxes[], | ||
long | pcount, | ||
long | gcount | ||
) |
write the required keywords for PrimaryGroup
Int casa::PrimaryGroup< TYPE >::current_group [protected] |
Definition at line 649 of file hdu.h.
Referenced by casa::PrimaryGroup< Short >::currgroup().
Int casa::PrimaryGroup< TYPE >::gcount_x [protected] |
Definition at line 644 of file hdu.h.
Referenced by casa::PrimaryGroup< Short >::gcount().
TYPE* casa::PrimaryGroup< TYPE >::group_parm [protected] |
Int casa::PrimaryGroup< TYPE >::pcount_x [protected] |
double* casa::PrimaryGroup< TYPE >::pscal_x [protected] |
Definition at line 646 of file hdu.h.
Referenced by casa::PrimaryGroup< Short >::pscal().
char** casa::PrimaryGroup< TYPE >::ptype_x [protected] |
Definition at line 645 of file hdu.h.
Referenced by casa::PrimaryGroup< Short >::ptype().
double* casa::PrimaryGroup< TYPE >::pzero_x [protected] |
Definition at line 647 of file hdu.h.
Referenced by casa::PrimaryGroup< Short >::pzero().