163 Error(
"FitsFile::OpenTable - No file open.");
168 Error(
"FitsFile::OpenTable - Table already open.");
173 CCfits::Table *table = 0;
178 catch (
const CCfits::FitsException &e)
180 Error(
"CCfits::Table::addTable failed for '"+tablename+
"' in '"+
fFile->name()+
"': "+e.message());
184 if (table->rows() != 0)
186 Error(
"FITS table '"+tablename+
"' created in '"+
fFile->name()+
"' on the fly looks non-empty.");
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)
std::vector< std::string > fColTypes
std::vector< std::string > fColUnits
std::vector< std::string > fColNames