8 #ifndef IDATAFILETRANSMISSION_HH
9 #define IDATAFILETRANSMISSION_HH 1
This class is designed to be a mother virtual class for Datafile.
This header file is mainly used to declare some macro definitions and all includes needed from the st...
int ComputeSizeEvent()
This function is implemented in child classes Computation of the size of each event according to th...
int CheckSpecificConsistencyWithAnotherDatafile(vDataFile *ap_Datafile)
Check consistency between 'this' and the provided datafile, for specific characteristics.
virtual ~iDataFileTransmission()
int PROJ_WriteHeader()
This function is implemented in child classes. Generate a header file according to the projection a...
int CheckSpecificParameters()
This function is implemented in child classes Check specific parameters of child classes...
Declaration of class vScanner.
Declaration of class vDataFile.
int CheckFileSizeConsistency()
int PROJ_WriteEvent(vEvent *ap_Event, int a_th)
This function is implemented in child classes Write event according to the chosen type of data...
int ReadSpecificInfoInHeader(bool a_affectQuantificationFlag)
This function is implemented in child classes Read and check modality-specific information from the...
vEvent * GetEventFromBuffer(char *ap_buffer, int a_th)
This function is implemented in child classes Read an event from the position pointed by 'ap_buffer...
int PROJ_InitFile()
This function is implemented in child classes Initialize the fstream objets for output writing as w...
Mother class for the Event objects.
int PrepareDataFile()
This function is implemented in child classes Store different kind of information inside arrays (da...
int PROJ_GetScannerSpecificParameters()
This function is implemented in child classes It is used to set several variables of the datafile w...