Go to the documentation of this file. 1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignableDataIO_H
2 #define Alignment_CommonAlignmentAlgorithm_AlignableDataIO_H
26 virtual int close(
void) = 0;
AlignableDataIO(PosType p)
Constructor.
AlignableAbsData readOrgPos(Alignable *ali, int &ierr)
Read original positions of one Alignable.
virtual int open(const char *filename, int iteration, bool writemode)=0
Open IO handle.
virtual int writeRelRaw(const AlignableRelData &ad)=0
Write relative positions.
int writeOrgPos(Alignable *ali, bool validCheck)
Write original positions of one Alignable.
int writeAbsPos(Alignable *ali, bool validCheck)
Write absolute positions of one Alignable.
std::vector< AlignableRelData > AlignableShifts
virtual int writeAbsRaw(const AlignableAbsData &ad)=0
Write absolute positions.
virtual AlignableAbsData readAbsRaw(Alignable *ali, int &ierr)=0
Read absolute positions.
virtual AlignableRelData readRelRaw(Alignable *ali, int &ierr)=0
Read relative positions.
AlignableAbsData readAbsPos(Alignable *ali, int &ierr)
Read absolute positions of one Alignable.
virtual ~AlignableDataIO()
Destructor.
int writeRelPos(Alignable *ali, bool validCheck)
Write relative positions of one Alignable.
virtual int close(void)=0
Close IO handle.
std::vector< Alignable * > Alignables
AlignableRelData readRelPos(Alignable *ali, int &ierr)
Read relative positions of one Alignable.
std::vector< AlignableAbsData > AlignablePositions