casa
$Rev:20696$
|
BINTABLE extension. More...
#include <hdu.h>
Public Member Functions | |
BinaryTableExtension (FitsInput &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
BinaryTableExtension (FitsKeywordList &, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
BinaryTableExtension (FITSErrorHandler errhandler=FITSError::defaultHandler) | |
constructor to match write_bintbl_hdr() | |
virtual | ~BinaryTableExtension () |
Int | nrows () const |
return basic elements of a table | |
Int | ncols () const |
uInt | rowsize () const |
Int | tfields () const |
const char * | tform (int n) const |
double | tscal (int n) const |
double | tzero (int n) const |
Bool | isatnull (int n) const |
Int | tnull (int n) const |
const char * | ttype (int n) const |
const char * | tunit (int n) const |
const char * | tdisp (int n) const |
const char * | tdim (int n) const |
const char * | ctype (int n) const |
double | crpix (int n) const |
double | crota (int n) const |
double | crval (int n) const |
double | cdelt (int n) const |
Int | theap () const |
const char * | author () const |
const char * | referenc () const |
int | bind (int, FitsBase &) |
binds a FitsField to a column | |
BinaryTableExtension & | operator++ () |
row selector functions | |
BinaryTableExtension & | operator-- () |
BinaryTableExtension & | operator() (int) |
int | read () |
read entire table into memory | |
int | read (int) |
read next N rows into memory | |
int | set_next (int) |
prepare to write the next N rows | |
int | write (FitsOutput &) |
write current rows | |
int | write_binTbl_hdr (FitsOutput &, long, int, const char **, const char **, const char **, const char *, long) |
create a binary table header without using FitsKeywordList objet. | |
FitsBase & | field (int i) const |
select a field | |
Int | currrow () const |
get current row | |
Protected Member Functions | |
BinaryTableExtension (FitsInput &, FITS::HDUType, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
sets field addresses in the current row void set_fitsrow(Int); | |
BinaryTableExtension (FitsKeywordList &, FITS::HDUType, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
BinaryTableExtension (FITS::HDUType, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
virtual int | readrow () |
read and write the next FITS data row | |
virtual int | writerow (FitsOutput &) |
void | set_fitsrow (Int) |
sets field addresses in the current row | |
Protected Attributes | |
Int | tfields_x |
char ** | tform_x |
double * | tscal_x |
double * | tzero_x |
Bool * | isatnull_x |
Int * | tnull_x |
char ** | ttype_x |
char ** | tunit_x |
char ** | tdisp_x |
char ** | tdim_x |
char ** | ctype_x |
double * | crpix_x |
double * | crota_x |
double * | crval_x |
double * | cdelt_x |
Int | nAxis |
Int | theap_x |
char * | author_x |
char * | referenc_x |
unsigned char * | fitsrow |
uInt * | fits_offset |
uInt | fitsrowsize |
Bool | isoptimum |
unsigned char * | table |
uInt | tablerowsize |
uInt | alloc_row |
Int | beg_row |
Int | end_row |
Int | curr_row |
FitsBase ** | fld |
uInt * | table_offset |
void ** | data_addr |
data addresses of fields of current row | |
Private Member Functions | |
void | bt_assign () |
casa::BinaryTableExtension::BinaryTableExtension | ( | FitsInput & | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) |
casa::BinaryTableExtension::BinaryTableExtension | ( | FitsKeywordList & | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) |
casa::BinaryTableExtension::BinaryTableExtension | ( | FITSErrorHandler | errhandler = FITSError::defaultHandler | ) |
constructor to match write_bintbl_hdr()
virtual casa::BinaryTableExtension::~BinaryTableExtension | ( | ) | [virtual] |
casa::BinaryTableExtension::BinaryTableExtension | ( | FitsInput & | , |
FITS::HDUType | , | ||
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) | [protected] |
sets field addresses in the current row void set_fitsrow(Int);
casa::BinaryTableExtension::BinaryTableExtension | ( | FitsKeywordList & | , |
FITS::HDUType | , | ||
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) | [protected] |
casa::BinaryTableExtension::BinaryTableExtension | ( | FITS::HDUType | , |
FITSErrorHandler | errhandler = FITSError::defaultHandler |
||
) | [protected] |
const char* casa::BinaryTableExtension::author | ( | ) | const [inline] |
int casa::BinaryTableExtension::bind | ( | int | , |
FitsBase & | |||
) |
binds a FitsField to a column
void casa::BinaryTableExtension::bt_assign | ( | ) | [private] |
double casa::BinaryTableExtension::cdelt | ( | int | n | ) | const [inline] |
double casa::BinaryTableExtension::crota | ( | int | n | ) | const [inline] |
double casa::BinaryTableExtension::crpix | ( | int | n | ) | const [inline] |
double casa::BinaryTableExtension::crval | ( | int | n | ) | const [inline] |
const char* casa::BinaryTableExtension::ctype | ( | int | n | ) | const [inline] |
Int casa::BinaryTableExtension::currrow | ( | ) | const [inline] |
FitsBase& casa::BinaryTableExtension::field | ( | int | i | ) | const [inline] |
Bool casa::BinaryTableExtension::isatnull | ( | int | n | ) | const [inline] |
Definition at line 1070 of file hdu.h.
References isatnull_x.
Int casa::BinaryTableExtension::ncols | ( | ) | const [inline] |
Int casa::BinaryTableExtension::nrows | ( | ) | const [inline] |
return basic elements of a table
Definition at line 1063 of file hdu.h.
References casa::HeaderDataUnit::dim().
Referenced by casa::FITSTable::nrow().
BinaryTableExtension& casa::BinaryTableExtension::operator() | ( | int | ) |
BinaryTableExtension& casa::BinaryTableExtension::operator++ | ( | ) |
row selector functions
BinaryTableExtension& casa::BinaryTableExtension::operator-- | ( | ) |
int casa::BinaryTableExtension::read | ( | ) |
read entire table into memory
int casa::BinaryTableExtension::read | ( | int | ) |
read next N rows into memory
virtual int casa::BinaryTableExtension::readrow | ( | ) | [protected, virtual] |
read and write the next FITS data row
Reimplemented in casa::AsciiTableExtension.
const char* casa::BinaryTableExtension::referenc | ( | ) | const [inline] |
Definition at line 1083 of file hdu.h.
References referenc_x.
uInt casa::BinaryTableExtension::rowsize | ( | ) | const [inline] |
Definition at line 1065 of file hdu.h.
References fitsrowsize.
void casa::BinaryTableExtension::set_fitsrow | ( | Int | ) | [protected] |
sets field addresses in the current row
int casa::BinaryTableExtension::set_next | ( | int | ) |
prepare to write the next N rows
const char* casa::BinaryTableExtension::tdim | ( | int | n | ) | const [inline] |
const char* casa::BinaryTableExtension::tdisp | ( | int | n | ) | const [inline] |
Int casa::BinaryTableExtension::tfields | ( | ) | const [inline] |
const char* casa::BinaryTableExtension::tform | ( | int | n | ) | const [inline] |
Int casa::BinaryTableExtension::theap | ( | ) | const [inline] |
Int casa::BinaryTableExtension::tnull | ( | int | n | ) | const [inline] |
double casa::BinaryTableExtension::tscal | ( | int | n | ) | const [inline] |
const char* casa::BinaryTableExtension::ttype | ( | int | n | ) | const [inline] |
const char* casa::BinaryTableExtension::tunit | ( | int | n | ) | const [inline] |
double casa::BinaryTableExtension::tzero | ( | int | n | ) | const [inline] |
int casa::BinaryTableExtension::write | ( | FitsOutput & | ) |
write current rows
int casa::BinaryTableExtension::write_binTbl_hdr | ( | FitsOutput & | , |
long | , | ||
int | , | ||
const char ** | , | ||
const char ** | , | ||
const char ** | , | ||
const char * | , | ||
long | |||
) |
create a binary table header without using FitsKeywordList objet.
virtual int casa::BinaryTableExtension::writerow | ( | FitsOutput & | ) | [protected, virtual] |
Reimplemented in casa::AsciiTableExtension.
uInt casa::BinaryTableExtension::alloc_row [protected] |
char* casa::BinaryTableExtension::author_x [protected] |
Int casa::BinaryTableExtension::beg_row [protected] |
double* casa::BinaryTableExtension::cdelt_x [protected] |
double* casa::BinaryTableExtension::crota_x [protected] |
double* casa::BinaryTableExtension::crpix_x [protected] |
double* casa::BinaryTableExtension::crval_x [protected] |
char** casa::BinaryTableExtension::ctype_x [protected] |
Int casa::BinaryTableExtension::curr_row [protected] |
void** casa::BinaryTableExtension::data_addr [protected] |
Int casa::BinaryTableExtension::end_row [protected] |
uInt* casa::BinaryTableExtension::fits_offset [protected] |
unsigned char* casa::BinaryTableExtension::fitsrow [protected] |
uInt casa::BinaryTableExtension::fitsrowsize [protected] |
FitsBase** casa::BinaryTableExtension::fld [protected] |
Bool* casa::BinaryTableExtension::isatnull_x [protected] |
Definition at line 1127 of file hdu.h.
Referenced by isatnull().
Bool casa::BinaryTableExtension::isoptimum [protected] |
Int casa::BinaryTableExtension::nAxis [protected] |
char* casa::BinaryTableExtension::referenc_x [protected] |
Definition at line 1141 of file hdu.h.
Referenced by referenc().
unsigned char* casa::BinaryTableExtension::table [protected] |
uInt* casa::BinaryTableExtension::table_offset [protected] |
uInt casa::BinaryTableExtension::tablerowsize [protected] |
char** casa::BinaryTableExtension::tdim_x [protected] |
char** casa::BinaryTableExtension::tdisp_x [protected] |
Int casa::BinaryTableExtension::tfields_x [protected] |
char** casa::BinaryTableExtension::tform_x [protected] |
Int casa::BinaryTableExtension::theap_x [protected] |
Int* casa::BinaryTableExtension::tnull_x [protected] |
double* casa::BinaryTableExtension::tscal_x [protected] |
char** casa::BinaryTableExtension::ttype_x [protected] |
char** casa::BinaryTableExtension::tunit_x [protected] |
double* casa::BinaryTableExtension::tzero_x [protected] |