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;
Definition at line 594 of file hdu.h.
| casacore::PrimaryGroup< TYPE >::PrimaryGroup | ( | FitsInput & | , | |
| FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
| ) |
| casacore::PrimaryGroup< TYPE >::PrimaryGroup | ( | FitsKeywordList & | , | |
| FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
| ) |
| casacore::PrimaryGroup< TYPE >::PrimaryGroup | ( | FITSErrorHandler | errhandler = FITSError::defaultHandler |
) |
constructor for header consisted required keywords only
| casacore::PrimaryGroup< TYPE >::~PrimaryGroup | ( | ) |
| void casacore::PrimaryGroup< TYPE >::copyparm | ( | float * | target | ) | const |
| void casacore::PrimaryGroup< TYPE >::copyparm | ( | double * | target | ) | const |
| Int casacore::PrimaryGroup< TYPE >::currgroup | ( | ) | const [inline] |
| Int casacore::PrimaryGroup< TYPE >::gcount | ( | ) | const [inline] |
Return basic parameters of a random group.
Definition at line 607 of file hdu.h.
Referenced by casacore::MSPrimaryGroupHolder::gcount().
| void casacore::PrimaryGroup< TYPE >::moveparm | ( | TYPE * | target | ) | const |
| double casacore::PrimaryGroup< TYPE >::parm | ( | int | ) |
Referenced by casacore::MSPrimaryGroupHolder::parm().
| Int casacore::PrimaryGroup< TYPE >::pcount | ( | ) | const [inline] |
Definition at line 608 of file hdu.h.
Referenced by casacore::MSPrimaryGroupHolder::pcount().
| void casacore::PrimaryGroup< TYPE >::pg_assign | ( | ) | [private] |
| double casacore::PrimaryGroup< TYPE >::pscal | ( | int | n | ) | const [inline] |
| char* casacore::PrimaryGroup< TYPE >::ptype | ( | int | n | ) | const [inline] |
Definition at line 609 of file hdu.h.
Referenced by casacore::MSPrimaryGroupHolder::ptype().
| double casacore::PrimaryGroup< TYPE >::pzero | ( | int | n | ) | const [inline] |
| TYPE& casacore::PrimaryGroup< TYPE >::rawparm | ( | int | ) |
| int casacore::PrimaryGroup< TYPE >::read | ( | int | ) | [inline, virtual] |
Reimplemented from casacore::PrimaryArray< TYPE >.
| int casacore::PrimaryGroup< TYPE >::read | ( | ) | [virtual] |
read, or write the next group
Reimplemented from casacore::PrimaryArray< TYPE >.
Referenced by casacore::MSPrimaryGroupHolder::read().
| OFF_T casacore::PrimaryGroup< TYPE >::set_next | ( | OFF_T | ) | [inline, virtual] |
disable these functions, since they are inherited from PrimaryArray
Reimplemented from casacore::PrimaryArray< TYPE >.
| void casacore::PrimaryGroup< TYPE >::storeparm | ( | const TYPE * | source | ) |
| int casacore::PrimaryGroup< TYPE >::write | ( | FitsOutput & | ) | [virtual] |
Reimplemented from casacore::PrimaryArray< TYPE >.
| int casacore::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 casacore::PrimaryGroup< TYPE >::current_group [protected] |
Definition at line 649 of file hdu.h.
Referenced by casacore::PrimaryGroup< Short >::currgroup().
Int casacore::PrimaryGroup< TYPE >::gcount_x [protected] |
Definition at line 644 of file hdu.h.
Referenced by casacore::PrimaryGroup< Short >::gcount().
TYPE* casacore::PrimaryGroup< TYPE >::group_parm [protected] |
Int casacore::PrimaryGroup< TYPE >::pcount_x [protected] |
Definition at line 643 of file hdu.h.
Referenced by casacore::PrimaryGroup< Short >::pcount().
double* casacore::PrimaryGroup< TYPE >::pscal_x [protected] |
Definition at line 646 of file hdu.h.
Referenced by casacore::PrimaryGroup< Short >::pscal().
char** casacore::PrimaryGroup< TYPE >::ptype_x [protected] |
Definition at line 645 of file hdu.h.
Referenced by casacore::PrimaryGroup< Short >::ptype().
double* casacore::PrimaryGroup< TYPE >::pzero_x [protected] |
Definition at line 647 of file hdu.h.
Referenced by casacore::PrimaryGroup< Short >::pzero().
1.6.1