45 bool WriteHeaderKeys();
47 void MoveFileToCorruptedFile();
57 fNumOpenFitsFiles(NULL),
71 void AddStandardColumn(
const Description& desc,
const string &dataFormat,
void* dataPointer,
long unsigned int numDataBytes);
74 void InitDataColumns(
const vector<Description> &desc,
const vector<string>& dataFormat,
MessageImp* out);
77 bool Open(
const string& fileName,
const string& tableName, uint32_t* fitsCounter,
MessageImp* out,
int runNumber, CCfits::FITS *file=0);
89 int GetWrittenSize()
const;
vector< string > fDataFormats
the data format of the data columns
vector< char > fCopyBuffer
the copy buffer. Required to put the standard and data variable in contguous memory ...
The base implementation of a distributed messaging system.
vector< Description > fStandardColDesc
bool IsOpen() const
returns wether or not the file is currently open or not
A struct which stores a name, a unit and a comment.
vector< void * > fStandardPointers
the pointers to the standard variables
MessageImp * fMess
were to log the errors
FITS writter for the FACT project.
uint32_t * fNumOpenFitsFiles
Keep track of number of opened fits.
vector< int > fStandardNumBytes
the number of bytes taken by each standard variable
int32_t fRunNumber
current run number being logged
vector< string > fStandardFormats
Format of the standard columns.
vector< Description > fDataColDesc
the vector of data column names
A compiler for the DIM data format string.
double fEndMjD
to keep track of the time of the latest written entry (to update the header when closing the file) ...