30 lines
515 B
C++
30 lines
515 B
C++
#include "calibrationmeasurement.hh"
|
|
|
|
|
|
|
|
/* *** Operators *** */
|
|
|
|
|
|
const CalibrationMeasurement&
|
|
CalibrationMeasurement::operator=(const CalibrationMeasurement &cm)
|
|
{
|
|
if (this == &cm)
|
|
return *this ;
|
|
|
|
this->Measurement::operator=(cm) ;
|
|
reference_point = cm.reference_point ;
|
|
|
|
return *this ;
|
|
}
|
|
|
|
|
|
bool CalibrationMeasurement::operator==(const CalibrationMeasurement &cm)
|
|
{
|
|
if (this == &cm)
|
|
return true ;
|
|
|
|
return
|
|
this->Measurement::operator==(cm) &&
|
|
reference_point == cm.reference_point ;
|
|
}
|