Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1FitsOutput.html
Дата изменения: Unknown Дата индексирования: Mon Feb 14 21:34:05 2011 Кодировка: Поисковые слова: п р п р п р п р п р п р п |
fixed-length sequential blocked FITS output More...
#include <fitsio.h>
Public Member Functions | |
FitsOutput (const char *, const FITS::FitsDevice &, int=10, FITSErrorHandler errhandler=FITSError::defaultHandler) | |
FitsOutput (FITSErrorHandler errhandler=FITSError::defaultHandler) | |
~FitsOutput () | |
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. | |
int | write_sp (char *rec) |
write a special record. | |
int | hdu_complete () |
check if the current hdu is done. | |
BlockOutput & | getfout () |
void | setfptr (fitsfile *ffp) |
Bool | required_keys_only () |
Private Member Functions | |
BlockOutput & | make_output (const char *, const FITS::FitsDevice &, int, FITSErrorHandler errhandler=FITSError::defaultHandler) |
virtual void | errmsg (FitsErrs, const char *) |
set error message that belongs to one of the enumerated types | |
int | hdu_inprogress () |
int | write_hdr (FitsKeywordList &, FITS::HDUType, FITS::ValueType, OFF_T, Int) |
Special interface to class HeaderDataUnit. | |
int | write_all (FITS::HDUType, char *, char) |
write all data from address | |
int | write (FITS::HDUType, char *, Int, char) |
write N bytes from address | |
Private Attributes | |
BlockOutput & | m_fout |
Bool | m_required_keys_only |
Friends | |
int | HeaderDataUnit::write_hdr (FitsOutput &) |
int | HeaderDataUnit::write_all_data (FitsOutput &, char *) |
int | HeaderDataUnit::write_data (FitsOutput &, char *, Int) |
fixed-length sequential blocked FITS output
Definition at line 215 of file fitsio.h.
casa::FitsOutput::FitsOutput | ( | const char * | , | |
const FITS::FitsDevice & | , | |||
int | = 10 , |
|||
FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
) |
casa::FitsOutput::FitsOutput | ( | FITSErrorHandler | errhandler = FITSError::defaultHandler |
) |
casa::FitsOutput::~FitsOutput | ( | ) |
virtual void casa::FitsOutput::errmsg | ( | FitsErrs | , | |
const char * | ||||
) | [private, virtual] |
set error message that belongs to one of the enumerated types
Implements casa::FitsIO.
BlockOutput& casa::FitsOutput::getfout | ( | ) | [inline] |
int casa::FitsOutput::hdu_complete | ( | ) | [inline] |
check if the current hdu is done.
It was private.
Definition at line 233 of file fitsio.h.
References casa::FITS::HDURecord, casa::FitsIO::m_data_size, and casa::FitsIO::m_rec_type.
int casa::FitsOutput::hdu_inprogress | ( | ) | [inline, private] |
Definition at line 248 of file fitsio.h.
References casa::FITS::HDURecord, casa::FitsIO::m_curr_size, casa::FitsIO::m_data_size, and casa::FitsIO::m_rec_type.
BlockOutput& casa::FitsOutput::make_output | ( | const char * | , | |
const FITS::FitsDevice & | , | |||
int | , | |||
FITSErrorHandler | errhandler = FITSError::defaultHandler | |||
) | [private] |
Bool casa::FitsOutput::required_keys_only | ( | ) | [inline] |
Definition at line 238 of file fitsio.h.
References m_required_keys_only.
void casa::FitsOutput::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.
void casa::FitsOutput::setfptr | ( | fitsfile * | ffp | ) |
int casa::FitsOutput::write | ( | FITS::HDUType | , | |
char * | , | |||
Int | , | |||
char | ||||
) | [private] |
write N bytes from address
int casa::FitsOutput::write_all | ( | FITS::HDUType | , | |
char * | , | |||
char | ||||
) | [private] |
write all data from address
int casa::FitsOutput::write_hdr | ( | FitsKeywordList & | , | |
FITS::HDUType | , | |||
FITS::ValueType | , | |||
OFF_T | , | |||
Int | ||||
) | [private] |
Special interface to class HeaderDataUnit.
int casa::FitsOutput::write_sp | ( | char * | rec | ) |
write a special record.
For this the record type must also be to set to FITS::SpecialRecord
int HeaderDataUnit::write_all_data | ( | FitsOutput & | , | |
char * | ||||
) | [friend] |
int HeaderDataUnit::write_data | ( | FitsOutput & | , | |
char * | , | |||
Int | ||||
) | [friend] |
int HeaderDataUnit::write_hdr | ( | FitsOutput & | ) | [friend] |
BlockOutput& casa::FitsOutput::m_fout [private] |
Bool casa::FitsOutput::m_required_keys_only [private] |
Definition at line 242 of file fitsio.h.
Referenced by required_keys_only().