Definition at line 368 of file FitsFile.cc.
References Error(), and str.
Referenced by WriteKeyNT().
372 Error(
"FitsFile::AddRow - No table open.");
378 fits_insert_rows(
fFile->fitsPointer(),
fNumRows, 1, &status);
385 fits_get_errstatus(status, text);
388 str <<
"Inserting row " <<
fNumRows <<
" failed in '"+
fFile->name()+
"': " << text <<
" (fits_insert_rows,rc=" << status <<
")";
size_t fNumRows
The pointer to the CCfits binary table.
CCfits::Table * fTable
The pointer to the CCfits FITS file.
int Error(const std::string &str)
size_t fCursor
the number of rows that have been written already to the FITS file.