Loading...
Searching...
No Matches
fitsio.h
Go to the documentation of this file.
//# fitsio.h:
//# Copyright (C) 1993,1994,1995,1996,1999,2001,2003
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: casa-feedback@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
#ifndef FITS_FITSIO_H
#define FITS_FITSIO_H
#include <casacore/casa/aips.h>
# include <casacore/fits/FITS/fits.h>
# include <casacore/fits/FITS/blockio.h>
# include <casacore/fits/FITS/hdu.h>
//# include <casacore/casa/stdvector.h>
# include <casacore/casa/Arrays/Vector.h>
namespace casacore { //# NAMESPACE CASACORE - BEGIN
//<summary> sequential FITS I/O </summary>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
// </reviewed>
//<synopsis>
// FitsIO is a base class that handles all the sequential blocked
// FITS I/O. Special derived classes do the input and output.
// No interpretation of the data is attempted here, there are
// special FITS classes that handle syntax and interpretation.
//</synopsis>
//<example>
//<srcblock>
// FitsInput fin("myfile.fits",FITS::Disk); // open disk file for FITS input
// if (fin.err() == FitsIO::IOERR) { // check if open succeeded
// cout << "Could not open FITS input\n";
// exit(0);
// }
// if (fin.rectype() == FITS::HDURecord && // test for primary array
// fin.hdutype() == FITS::PrimaryArrayHDU) {
// }
//</srcblock>
//</example>
class FitsIO {
public:
virtual ~FitsIO();
// error return code. Should be one of an
// enumerated type:
//
//# until cxx2html can handle enum() we duplicate it here
//
//<srcblock>
// enum FitsErrs { OK, IOERR, MISSKEY, BADBEGIN, EMPTYFILE,
// NOPRIMARY, BADOPER, BADEOF, MEMERR, BADBITPIX, NOAXISN,
// NOPCOUNT, NOGCOUNT, BADPCOUNT, BADGCOUNT, NOGROUPS,
// BADNAXIS, BADPRIMARY, BADSIZE, HDUERR };
//</srcblock>
//<group>
enum FitsErrs { OK, IOERR, MISSKEY, BADBEGIN, EMPTYFILE,
NOPRIMARY, BADOPER, BADEOF, MEMERR, BADBITPIX, NOAXISN,
NOPCOUNT, NOGCOUNT, BADPCOUNT, BADGCOUNT, NOGROUPS,
BADNAXIS, BADPRIMARY, BADSIZE, HDUERR };
int err() const { return m_err_status; }
//</group>
//
// record size, in bytes, of a FITS block.
// Normally set at 2880, unless some form of blocking was used.
int fitsrecsize() const { return m_recsize; }
// is it a valid fits file (SIMPLE==T). If not, the only
// safest operation is to skip the data portion of the
// current HeaderDataUnit
Bool isafits() const { return m_valid_fits; }
// see if there may be FITS extensions present (EXTENT==T)
Bool isextend() const { return m_extend; }
// test if end of file has been reached
Bool eof() const { return Bool(m_rec_type == FITS::EndOfFile); }
// the FITS record type
FITS::FitsRecType rectype() const { return m_rec_type; }
// Header Data Unit type (e.g.
FITS::HDUType hdutype() const { return m_hdu_type; }
FITS::ValueType datatype() const { return m_data_type; }
// return the datasize of the current HDU. This excludes
// the trailing end of the blocked data portion.
OFF_T datasize() const { return m_data_size; }
// data characteristics
Int itemsize() const { return m_item_size; }
// for input, size of remaining data
// for output, size of data written
OFF_T currsize() const { return m_curr_size; }
// get FitsKeyCardTranslator
FitsKeyCardTranslator& getkc(){ return m_kc; }
// get the fitsfile pointer
fitsfile *getfptr() const { return m_fptr; }
// get the size of the last skipped HDU
OFF_T getskipsize() const {return m_skipHDU_size;}
protected:
FitsIO(FITSErrorHandler);
fitsfile *m_fptr;
const int m_recsize;
Bool m_valid_fits; // True if SIMPLE == T
Bool m_extend; // True if EXTEND == T
Bool m_isaprimary; // True if there is a primary HDU
Bool m_header_done; // True if header has been processed
FITS::FitsRecType m_rec_type; // always set
FITS::HDUType m_hdu_type; // always set
FITSErrorHandler m_errfn; // error handler function
FitsErrs m_err_status;
FitsKeyCardTranslator m_kc;
FitsKeywordList m_kw;
char *m_curr; // pointer to current record
int m_bytepos; // current byte position within record
Int m_item_size; // data characteristics
FITS::ValueType m_data_type;
//uInt m_data_size;
OFF_T m_data_size;
// for input, size of remaining data
// for output, size of data written
//uInt m_curr_size;
OFF_T m_curr_size;
// for size of the last HDU skipped
OFF_T m_skipHDU_size;
// set error message that belongs to one of the enumerated types
virtual void errmsg(FitsErrs, const char *) = 0;
};
//<summary> fixed-length sequential blocked FITS input </summary>
class FitsInput : public FitsIO {
friend int HeaderDataUnit::get_hdr(FITS::HDUType, FitsKeywordList &);
friend OFF_T HeaderDataUnit::read_all_data(char *);
friend int HeaderDataUnit::read_data(char *, Int);
friend int HeaderDataUnit::skip(uInt);
friend int HeaderDataUnit::skip();
public:
//<group>
FitsInput(const char *, const FITS::FitsDevice &, int = 10,
FITSErrorHandler errhandler = FITSError::defaultHandler);
FitsInput(FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsInput();
//</group>
int skip_hdu();
// skip all remaining data
void skip_all(FITS::HDUType);
//int skip_hdu2();
// read special or unrecognizable records
char *read_sp();
// get hdu header image cards as strings. By default the strings will be of
// variable length. You can optionally ask for them to be length 80 (padded
// with spaces).
Vector<String> kwlist_str(Bool length80=False);
// number of physical blocks read/written
int blockno() const {return m_fin.blockno();}
// number of logical records read/written
int recno() const {return m_fin.recno();}
BlockInput & getfin(){ return m_fin; } // for test use only
// the number of hdu in this fits file
int getnumhdu() const {return m_thdunum;}
private:
BlockInput &m_fin;
BlockInput &make_input(const char *, const FITS::FitsDevice &, int,
FITSErrorHandler errhandler = FITSError::defaultHandler);
// flag used for read control in errors
Bool m_got_rec;
// total number of hdu in this fits file
int m_thdunum;
virtual void errmsg(FitsErrs, const char *);
void init();
void read_header_rec();
bool current_hdu_type( FITS::HDUType &);
bool get_data_type( FITS::ValueType &);
//# check if this comes out ok in cxx2html
// Special interface to class HeaderDataUnit
//<group>
// special way to process header
int process_header(FITS::HDUType, FitsKeywordList &);
// read all data into a given address - all responsibility is given
// to the user
OFF_T read_all(FITS::HDUType, char *);
// read N bytes into address
int read(FITS::HDUType, char *, int );
// skip N bytes
int skip(FITS::HDUType, OFF_T);
//</group>
};
//<summary> fixed-length sequential blocked FITS output </summary>
class FitsOutput : public FitsIO {
friend int HeaderDataUnit::write_hdr(FitsOutput &);
friend int HeaderDataUnit::write_all_data(FitsOutput &, char *);
friend int HeaderDataUnit::write_data(FitsOutput &, char *, Int);
public:
//<group>
FitsOutput(const char *, const FITS::FitsDevice &, int = 10,
FITSErrorHandler errhandler = FITSError::defaultHandler);
FitsOutput(FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsOutput();
//</group>
// used by PrimaryArray, BinaryTabelExtention etc to work with the constructor without keyword list.
void set_data_info( FitsKeywordList &kwl, FITS::HDUType t, FITS::ValueType dt, OFF_T ds, Int is);
// write a special record. For this the record type must also
// be to set to FITS::SpecialRecord
int write_sp(char *rec);
// check if the current hdu is done. It was private.
int hdu_complete() {
return (m_rec_type == FITS::HDURecord && m_data_size == 0);
}
BlockOutput & getfout(){ return m_fout; }
void setfptr( fitsfile* ffp );
Bool required_keys_only(){ return m_required_keys_only; }
private:
BlockOutput &m_fout;
Bool m_required_keys_only;
BlockOutput &make_output(const char *, const FITS::FitsDevice &, int,
FITSErrorHandler errhandler = FITSError::defaultHandler);
virtual void errmsg(FitsErrs, const char *);
int hdu_inprogress() {
return (m_rec_type == FITS::HDURecord && m_data_size > 0 && m_curr_size < m_data_size);
}
// Special interface to class HeaderDataUnit
//<group>
int write_hdr(FitsKeywordList &, FITS::HDUType, FITS::ValueType, OFF_T, Int);
// write all data from address
int write_all(FITS::HDUType, char *, char);
// write N bytes from address
int write(FITS::HDUType, char *, Int, char);
//</group>
};
//<summary> FITS input from disk </summary>
class FitsDiskInput : public BlockInput {
public:
FitsDiskInput(const char *, int, int = 1,
FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsDiskInput();
// implements skip in terms of lseek
char *skip(int);
};
//<summary> FITS output to disk </summary>
class FitsDiskOutput : public BlockOutput {
public:
FitsDiskOutput(const char *, int, int = 1,
FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsDiskOutput();
};
//<summary> FITS input from standard input </summary>
class FitsStdInput : public BlockInput {
public:
FitsStdInput(int,
FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsStdInput();
};
//<summary> FITS output to standard output </summary>
class FitsStdOutput : public BlockOutput {
public:
FitsStdOutput(int,
FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsStdOutput();
};
//<summary> FITS input from 9-track tape </summary>
class FitsTape9Input : public BlockInput {
public:
FitsTape9Input(const char *, int, int = 10,
FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsTape9Input();
};
//<summary> FITS output to 9-track tape </summary>
class FitsTape9Output : public BlockOutput {
public:
FitsTape9Output(const char *, int, int = 10,
FITSErrorHandler errhandler = FITSError::defaultHandler);
~FitsTape9Output();
};
} //# NAMESPACE CASACORE - END
# endif
casacore::BlockInput
fixed-length blocked sequential input base class
Definition blockio.h:137
casacore::BlockInput::BlockInput
BlockInput(const char *, int, int=1, FITSErrorHandler errhandler=FITSError::defaultHandler)
Construction can be done either from a filename or from a file descriptor.
casacore::BlockOutput
fixed-length blocked sequential output base class
Definition blockio.h:173
casacore::BlockOutput::BlockOutput
BlockOutput(const char *, int, int=1, FITSErrorHandler errhandler=FITSError::defaultHandler)
Construction can be done either from a filename or from a file descriptor.
casacore::FITSError::defaultHandler
static void defaultHandler(const char *errMessage, ErrorLevel severity)
The default error handler.
casacore::FITS::FitsRecType
FitsRecType
Types of FITS Records.
Definition fits.h:250
casacore::FITS::HDURecord
@ HDURecord
Definition fits.h:251
casacore::FITS::EndOfFile
@ EndOfFile
Definition fits.h:252
casacore::FITS::ValueType
ValueType
FITS I/O Error message types.
Definition fits.h:165
casacore::FITS::HDUType
HDUType
Types of FITS Header-Data Units.
Definition fits.h:261
casacore::FITS::FitsDevice
FitsDevice
Supported FITS Physical Devices.
Definition fits.h:256
casacore::FitsDiskInput::FitsDiskInput
FitsDiskInput(const char *, int, int=1, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsDiskInput::skip
char * skip(int)
implements skip in terms of lseek
casacore::FitsDiskInput::~FitsDiskInput
~FitsDiskInput()
casacore::FitsDiskOutput::FitsDiskOutput
FitsDiskOutput(const char *, int, int=1, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsDiskOutput::~FitsDiskOutput
~FitsDiskOutput()
casacore::FitsIO::eof
Bool eof() const
test if end of file has been reached
Definition fitsio.h:93
casacore::FitsIO::err
int err() const
Definition fitsio.h:80
casacore::FitsIO::itemsize
Int itemsize() const
data characteristics
Definition fitsio.h:103
casacore::FitsIO::isafits
Bool isafits() const
is it a valid fits file (SIMPLE==T).
Definition fitsio.h:89
casacore::FitsIO::m_rec_type
FITS::FitsRecType m_rec_type
Definition fitsio.h:125
casacore::FitsIO::m_recsize
const int m_recsize
Definition fitsio.h:120
casacore::FitsIO::currsize
OFF_T currsize() const
for input, size of remaining data for output, size of data written
Definition fitsio.h:106
casacore::FitsIO::rectype
FITS::FitsRecType rectype() const
the FITS record type
Definition fitsio.h:95
casacore::FitsIO::getkc
FitsKeyCardTranslator & getkc()
get FitsKeyCardTranslator
Definition fitsio.h:108
casacore::FitsIO::isextend
Bool isextend() const
see if there may be FITS extensions present (EXTENT==T)
Definition fitsio.h:91
casacore::FitsIO::m_bytepos
int m_bytepos
Definition fitsio.h:134
casacore::FitsIO::fitsrecsize
int fitsrecsize() const
record size, in bytes, of a FITS block.
Definition fitsio.h:85
casacore::FitsIO::errmsg
virtual void errmsg(FitsErrs, const char *)=0
set error message that belongs to one of the enumerated types
casacore::FitsIO::FitsIO
FitsIO(FITSErrorHandler)
casacore::FitsIO::m_fptr
fitsfile * m_fptr
Definition fitsio.h:119
casacore::FitsIO::getfptr
fitsfile * getfptr() const
get the fitsfile pointer
Definition fitsio.h:110
casacore::FitsIO::m_skipHDU_size
OFF_T m_skipHDU_size
for size of the last HDU skipped
Definition fitsio.h:145
casacore::FitsIO::~FitsIO
virtual ~FitsIO()
casacore::FitsIO::m_data_type
FITS::ValueType m_data_type
Definition fitsio.h:136
casacore::FitsIO::m_curr_size
OFF_T m_curr_size
for input, size of remaining data for output, size of data written uInt m_curr_size;
Definition fitsio.h:142
casacore::FitsIO::m_err_status
FitsErrs m_err_status
Definition fitsio.h:129
casacore::FitsIO::getskipsize
OFF_T getskipsize() const
get the size of the last skipped HDU
Definition fitsio.h:113
casacore::FitsIO::m_extend
Bool m_extend
Definition fitsio.h:122
casacore::FitsIO::m_errfn
FITSErrorHandler m_errfn
Definition fitsio.h:128
casacore::FitsIO::m_kc
FitsKeyCardTranslator m_kc
Definition fitsio.h:130
casacore::FitsIO::m_isaprimary
Bool m_isaprimary
Definition fitsio.h:123
casacore::FitsIO::m_item_size
Int m_item_size
Definition fitsio.h:135
casacore::FitsIO::hdutype
FITS::HDUType hdutype() const
Header Data Unit type (e.g.
Definition fitsio.h:97
casacore::FitsIO::m_valid_fits
Bool m_valid_fits
Definition fitsio.h:121
casacore::FitsIO::FitsErrs
FitsErrs
error return code.
Definition fitsio.h:76
casacore::FitsIO::BADOPER
@ BADOPER
Definition fitsio.h:77
casacore::FitsIO::NOGCOUNT
@ NOGCOUNT
Definition fitsio.h:78
casacore::FitsIO::NOAXISN
@ NOAXISN
Definition fitsio.h:77
casacore::FitsIO::BADBEGIN
@ BADBEGIN
Definition fitsio.h:76
casacore::FitsIO::BADPCOUNT
@ BADPCOUNT
Definition fitsio.h:78
casacore::FitsIO::NOGROUPS
@ NOGROUPS
Definition fitsio.h:78
casacore::FitsIO::BADPRIMARY
@ BADPRIMARY
Definition fitsio.h:79
casacore::FitsIO::EMPTYFILE
@ EMPTYFILE
Definition fitsio.h:76
casacore::FitsIO::MEMERR
@ MEMERR
Definition fitsio.h:77
casacore::FitsIO::HDUERR
@ HDUERR
Definition fitsio.h:79
casacore::FitsIO::BADEOF
@ BADEOF
Definition fitsio.h:77
casacore::FitsIO::BADBITPIX
@ BADBITPIX
Definition fitsio.h:77
casacore::FitsIO::OK
@ OK
Definition fitsio.h:76
casacore::FitsIO::NOPCOUNT
@ NOPCOUNT
Definition fitsio.h:78
casacore::FitsIO::BADGCOUNT
@ BADGCOUNT
Definition fitsio.h:78
casacore::FitsIO::BADNAXIS
@ BADNAXIS
Definition fitsio.h:79
casacore::FitsIO::IOERR
@ IOERR
Definition fitsio.h:76
casacore::FitsIO::MISSKEY
@ MISSKEY
Definition fitsio.h:76
casacore::FitsIO::NOPRIMARY
@ NOPRIMARY
Definition fitsio.h:77
casacore::FitsIO::BADSIZE
@ BADSIZE
Definition fitsio.h:79
casacore::FitsIO::m_header_done
Bool m_header_done
Definition fitsio.h:124
casacore::FitsIO::m_kw
FitsKeywordList m_kw
Definition fitsio.h:131
casacore::FitsIO::m_curr
char * m_curr
Definition fitsio.h:133
casacore::FitsIO::m_data_size
OFF_T m_data_size
uInt m_data_size;
Definition fitsio.h:138
casacore::FitsIO::datasize
OFF_T datasize() const
return the datasize of the current HDU.
Definition fitsio.h:101
casacore::FitsIO::datatype
FITS::ValueType datatype() const
Definition fitsio.h:98
casacore::FitsIO::m_hdu_type
FITS::HDUType m_hdu_type
Definition fitsio.h:126
casacore::FitsInput::m_thdunum
int m_thdunum
total number of hdu in this fits file
Definition fitsio.h:201
casacore::FitsInput::kwlist_str
Vector< String > kwlist_str(Bool length80=False)
get hdu header image cards as strings.
casacore::FitsInput::m_got_rec
Bool m_got_rec
flag used for read control in errors
Definition fitsio.h:199
casacore::FitsInput::FitsInput
FitsInput(const char *, const FITS::FitsDevice &, int=10, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsInput::make_input
BlockInput & make_input(const char *, const FITS::FitsDevice &, int, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsInput::read_all
OFF_T read_all(FITS::HDUType, char *)
read all data into a given address - all responsibility is given to the user
casacore::FitsInput::~FitsInput
~FitsInput()
casacore::FitsInput::read_header_rec
void read_header_rec()
casacore::FitsInput::skip_hdu
int skip_hdu()
casacore::FitsInput::init
void init()
casacore::FitsInput::process_header
int process_header(FITS::HDUType, FitsKeywordList &)
Special interface to class HeaderDataUnit.
casacore::FitsInput::getnumhdu
int getnumhdu() const
the number of hdu in this fits file
Definition fitsio.h:191
casacore::FitsInput::FitsInput
FitsInput(FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsInput::m_fin
BlockInput & m_fin
Definition fitsio.h:194
casacore::FitsInput::recno
int recno() const
number of logical records read/written
Definition fitsio.h:187
casacore::FitsInput::get_data_type
bool get_data_type(FITS::ValueType &)
casacore::FitsInput::current_hdu_type
bool current_hdu_type(FITS::HDUType &)
casacore::FitsInput::blockno
int blockno() const
number of physical blocks read/written
Definition fitsio.h:184
casacore::FitsInput::errmsg
virtual void errmsg(FitsErrs, const char *)
set error message that belongs to one of the enumerated types
casacore::FitsInput::skip
int skip(FITS::HDUType, OFF_T)
skip N bytes
casacore::FitsInput::read
int read(FITS::HDUType, char *, int)
read N bytes into address
casacore::FitsInput::read_sp
char * read_sp()
int skip_hdu2(); read special or unrecognizable records
casacore::FitsInput::skip_all
void skip_all(FITS::HDUType)
skip all remaining data
casacore::FitsInput::getfin
BlockInput & getfin()
Definition fitsio.h:188
casacore::FitsKeyCardTranslator
translator between Keyword lists and fixed FITS cars
Definition fits.h:983
casacore::FitsKeywordList
linked list of FITS keywords
Definition fits.h:735
casacore::FitsOutput::make_output
BlockOutput & make_output(const char *, const FITS::FitsDevice &, int, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsOutput::hdu_complete
int hdu_complete()
check if the current hdu is done.
Definition fitsio.h:244
casacore::FitsOutput::write
int write(FITS::HDUType, char *, Int, char)
write N bytes from address
casacore::FitsOutput::write_sp
int write_sp(char *rec)
write a special record.
casacore::FitsOutput::m_fout
BlockOutput & m_fout
Definition fitsio.h:252
casacore::FitsOutput::~FitsOutput
~FitsOutput()
casacore::FitsOutput::setfptr
void setfptr(fitsfile *ffp)
casacore::FitsOutput::required_keys_only
Bool required_keys_only()
Definition fitsio.h:249
casacore::FitsOutput::m_required_keys_only
Bool m_required_keys_only
Definition fitsio.h:253
casacore::FitsOutput::FitsOutput
FitsOutput(FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsOutput::set_data_info
void set_data_info(FitsKeywordList &kwl, FITS::HDUType t, FITS::ValueType dt, OFF_T ds, Int is)
used by PrimaryArray, BinaryTabelExtention etc to work with the constructor without keyword list.
casacore::FitsOutput::getfout
BlockOutput & getfout()
Definition fitsio.h:247
casacore::FitsOutput::FitsOutput
FitsOutput(const char *, const FITS::FitsDevice &, int=10, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsOutput::write_all
int write_all(FITS::HDUType, char *, char)
write all data from address
casacore::FitsOutput::errmsg
virtual void errmsg(FitsErrs, const char *)
set error message that belongs to one of the enumerated types
casacore::FitsOutput::write_hdr
int write_hdr(FitsKeywordList &, FITS::HDUType, FITS::ValueType, OFF_T, Int)
Special interface to class HeaderDataUnit.
casacore::FitsOutput::hdu_inprogress
int hdu_inprogress()
Definition fitsio.h:259
casacore::FitsStdInput::FitsStdInput
FitsStdInput(int, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsStdInput::~FitsStdInput
~FitsStdInput()
casacore::FitsStdOutput::~FitsStdOutput
~FitsStdOutput()
casacore::FitsStdOutput::FitsStdOutput
FitsStdOutput(int, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsTape9Input::~FitsTape9Input
~FitsTape9Input()
casacore::FitsTape9Input::FitsTape9Input
FitsTape9Input(const char *, int, int=10, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::FitsTape9Output::~FitsTape9Output
~FitsTape9Output()
casacore::FitsTape9Output::FitsTape9Output
FitsTape9Output(const char *, int, int=10, FITSErrorHandler errhandler=FITSError::defaultHandler)
casacore::HeaderDataUnit::read_all_data
OFF_T read_all_data(char *)
casacore::HeaderDataUnit::skip
int skip()
casacore::HeaderDataUnit::read_data
int read_data(char *, Int)
casacore::HeaderDataUnit::write_data
int write_data(FitsOutput &, char *, Int)
casacore::HeaderDataUnit::write_all_data
int write_all_data(FitsOutput &, char *)
casacore::HeaderDataUnit::get_hdr
int get_hdr(FITS::HDUType, FitsKeywordList &)
casacore::HeaderDataUnit::write_hdr
int write_hdr(FitsOutput &)
write the current header
casacore::Vector
Definition Vector.h:82
casacore::FITSErrorHandler
void(* FITSErrorHandler)(const char *errMessage, FITSError::ErrorLevel severity)
Define a typedef for the handler function signature for convenience.
Definition FITSError.h:108
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28
casacore::False
const Bool False
Definition aipstype.h:42
casacore::uInt
unsigned int uInt
Definition aipstype.h:49
casacore::Int
int Int
Definition aipstype.h:48
casacore::Bool
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40