#include <fits.h>
Collaboration diagram for casa::FITS:

Many of the static functions are utility functions used internally in the implementation of the member functions of the FITS classes. They are placed in a single class to encapsulate them and to avoid adding many names to the global name space. More important, from the user's perspective, are the enumerations. They form the basic vocabulary of a FITS application. For example, instead of referring to the FITS NAXIS keyword, FITS::NAXIS should be used
Definition at line 169 of file fits.h.
Public Types | |
| enum | ValueType |
| FITS I/O Error message types. More... | |
| enum | ReservedName |
| FITS Reserved Names. More... | |
| enum | FitsRecType |
| Types of FITS Records. More... | |
| enum | FitsDevice |
| Supported FITS Physical Devices. More... | |
| enum | HDUType |
| Types of FITS Header-Data Units. More... | |
| enum | FitsArrayOption |
| Options on FITS array manipulations. More... | |
Static Public Member Functions | |
| static FITS::ValueType | getfitstype (NoConvert< FitsLogical > x) |
| STRING and FSTRING are used internally in parsing keywords. | |
| static FITS::ValueType | getfitstype (NoConvert< FitsBit > x) |
| static FITS::ValueType | getfitstype (NoConvert< char > x) |
| static FITS::ValueType | getfitstype (NoConvert< unsigned char > x) |
| static FITS::ValueType | getfitstype (NoConvert< short > x) |
| static FITS::ValueType | getfitstype (NoConvert< Int > x) |
| static FITS::ValueType | getfitstype (NoConvert< long > x) |
| static FITS::ValueType | getfitstype (NoConvert< float > x) |
| static FITS::ValueType | getfitstype (NoConvert< double > x) |
| static FITS::ValueType | getfitstype (NoConvert< Complex > x) |
| static FITS::ValueType | getfitstype (NoConvert< IComplex > x) |
| static FITS::ValueType | getfitstype (NoConvert< DComplex > x) |
| static FITS::ValueType | getfitstype (NoConvert< FitsVADesc > x) |
| static int | fitssize (FITS::ValueType t) |
| static int | localsize (FITS::ValueType t) |
| static void | f2l (FitsLogical *, void *, int) |
| data conversion routines: FITS - local | |
| static void | l2f (void *, FitsLogical *, int) |
| static void | f2l (FitsBit *, void *, int) |
| static void | l2f (void *, FitsBit *, int) |
| static void | f2l (char *, void *, int) |
| static void | l2f (void *, char *, int) |
| static void | f2l (unsigned char *, void *, int) |
| static void | l2f (void *, unsigned char *, int) |
| static void | f2l (short *, void *, int) |
| static void | l2f (void *, short *, int) |
| static void | f2l (Int *, void *, int) |
| static void | l2f (void *, Int *, int) |
| static void | f2l (long *, void *, int) |
| static void | l2f (void *, long *, int) |
| static void | f2l (float *, void *, int) |
| static void | l2f (void *, float *, int) |
| static void | f2l (double *, void *, int) |
| static void | l2f (void *, double *, int) |
| static void | f2l (Complex *, void *, int) |
| static void | l2f (void *, Complex *, int) |
| static void | f2l (IComplex *, void *, int) |
| static void | l2f (void *, IComplex *, int) |
| static void | f2l (DComplex *, void *, int) |
| static void | l2f (void *, DComplex *, int) |
| static void | f2l (FitsVADesc *, void *, int) |
| static void | l2f (void *, FitsVADesc *, int) |
| static void | swap2 (void *, void *, int) |
| static void | swap4 (void *, void *, int) |
| static void | swap8 (void *, void *, int) |
| static void | valstr (ostream &o, const ValueType &ty, const void *val) |
| static Bool | isa_digit (char c) |
| static int | digit2bin (char c) |
| static Bool | isa_text (char c) |
| static Bool | isa_letter (char) |
| static int | letter2bin (char) |
| static void | fstr2str (char *, const char *, int) |
| static int | str2fstr (char *, const char *, int) |
| static void | get_name (const char *s, int len, FitsNameResult &result) |
| static int | get_value_id (const char *s, int l, int &pos) |
| static void | get_value (const char *s, int len, FitsValueResult &result) |
| static int | trim_comment (const char *s, int len) |
| static int | chk_comment (const char *s, int len) |
| static int | get_comment (const char *s, int len, int &begpos) |
| static void | get_numeric (const char *s, int len, FitsValueResult &result) |
| static void | parse_vatform (const char *s, FITS::ValueType &valType, int &maxelem) |
| utility function to parse the binary table variable array column (i.e. | |
Static Public Attributes | |
| static ReservedFitsKeywordCollection & | ResWord |
| static const Int | minInt |
| static const Int | maxInt |
| static const float | minfloat |
| static const float | maxfloat |
| static const double | mindouble |
| static const double | maxdouble |
Private Member Functions | |
| FITS () | |
Static Private Member Functions | |
| static double | tenD (Int, int) |
| static float | tenF (Int, int) |
| static int | ckaccum (double &, Int, int) |
| static int | ckaccum (float &, Int, int) |
Static Private Attributes | |
| static double | tenpowerD [309] |
| static float | tenpowerF [39] |
| static const int | minfltexp |
| static const int | maxfltexp |
| static const int | mindblexp |
| static const int | maxdblexp |
| static const int | maxsigdigits |
| static const int | maxdigl |
| static const int | maxexpdig |
| enum casa::FITS::HDUType |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< FitsLogical > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< FitsBit > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< char > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< unsigned char > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< short > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< Int > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< long > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< float > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< double > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< Complex > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< IComplex > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< DComplex > | x | ) | [inline, static] |
| static FITS::ValueType casa::FITS::getfitstype | ( | NoConvert< FitsVADesc > | x | ) | [inline, static] |
| static int casa::FITS::fitssize | ( | FITS::ValueType | t | ) | [static] |
| static int casa::FITS::localsize | ( | FITS::ValueType | t | ) | [static] |
| static void casa::FITS::f2l | ( | FitsLogical * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
data conversion routines: FITS - local
| static void casa::FITS::l2f | ( | void * | , | |
| FitsLogical * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | FitsBit * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| FitsBit * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | char * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| char * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | unsigned char * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| unsigned char * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | short * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| short * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | Int * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| Int * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | long * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| long * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | float * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| float * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | double * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| double * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | Complex * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| Complex * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | IComplex * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| IComplex * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | DComplex * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| DComplex * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::f2l | ( | FitsVADesc * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::l2f | ( | void * | , | |
| FitsVADesc * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::swap2 | ( | void * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::swap4 | ( | void * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::swap8 | ( | void * | , | |
| void * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::valstr | ( | ostream & | o, | |
| const ValueType & | ty, | |||
| const void * | val | |||
| ) | [static] |
| Bool casa::FITS::isa_digit | ( | char | c | ) | [inline, static] |
| Bool casa::FITS::isa_text | ( | char | c | ) | [inline, static] |
| Bool casa::FITS::isa_letter | ( | char | ) | [inline, static] |
| static void casa::FITS::fstr2str | ( | char * | , | |
| const char * | , | |||
| int | ||||
| ) | [static] |
| static int casa::FITS::str2fstr | ( | char * | , | |
| const char * | , | |||
| int | ||||
| ) | [static] |
| static void casa::FITS::get_name | ( | const char * | s, | |
| int | len, | |||
| FitsNameResult & | result | |||
| ) | [static] |
| static int casa::FITS::get_value_id | ( | const char * | s, | |
| int | l, | |||
| int & | pos | |||
| ) | [static] |
| static void casa::FITS::get_value | ( | const char * | s, | |
| int | len, | |||
| FitsValueResult & | result | |||
| ) | [static] |
| static int casa::FITS::trim_comment | ( | const char * | s, | |
| int | len | |||
| ) | [static] |
| static int casa::FITS::chk_comment | ( | const char * | s, | |
| int | len | |||
| ) | [static] |
| static int casa::FITS::get_comment | ( | const char * | s, | |
| int | len, | |||
| int & | begpos | |||
| ) | [static] |
| static void casa::FITS::get_numeric | ( | const char * | s, | |
| int | len, | |||
| FitsValueResult & | result | |||
| ) | [static] |
| static void casa::FITS::parse_vatform | ( | const char * | s, | |
| FITS::ValueType & | valType, | |||
| int & | maxelem | |||
| ) | [static] |
utility function to parse the binary table variable array column (i.e.
uses the heap) of the form nPt(dddd) where n is either 0 or 1, t is one of the standard FITS binary table column types and dddd is the maximum number of elements used by this column. If there is a format error in the input string (*s), then valType will have the value NOVALUE and maxelem will be -1.
| double casa::FITS::tenD | ( | Int | , | |
| int | ||||
| ) | [inline, static, private] |
| float casa::FITS::tenF | ( | Int | , | |
| int | ||||
| ) | [inline, static, private] |
| static int casa::FITS::ckaccum | ( | double & | , | |
| Int | , | |||
| int | ||||
| ) | [static, private] |
| static int casa::FITS::ckaccum | ( | float & | , | |
| Int | , | |||
| int | ||||
| ) | [static, private] |
const Int casa::FITS::minInt [static] |
const Int casa::FITS::maxInt [static] |
const float casa::FITS::minfloat [static] |
const float casa::FITS::maxfloat [static] |
const double casa::FITS::mindouble [static] |
const double casa::FITS::maxdouble [static] |
double casa::FITS::tenpowerD[309] [static, private] |
float casa::FITS::tenpowerF[39] [static, private] |
const int casa::FITS::minfltexp [static, private] |
const int casa::FITS::maxfltexp [static, private] |
const int casa::FITS::mindblexp [static, private] |
const int casa::FITS::maxdblexp [static, private] |
const int casa::FITS::maxsigdigits [static, private] |
const int casa::FITS::maxdigl [static, private] |
const int casa::FITS::maxexpdig [static, private] |
1.5.1