2009-12-11 17:56:31 +01:00
|
|
|
#include "calibrationmeasurement.hh"
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-07 16:26:13 +01:00
|
|
|
/*** Opérateurs ***/
|
2009-12-11 17:56:31 +01:00
|
|
|
|
|
|
|
|
2010-01-13 15:29:44 +01:00
|
|
|
const CalibrationMeasurement&
|
2009-12-11 17:56:31 +01:00
|
|
|
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 ;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-04 17:10:42 +01:00
|
|
|
std::ostream &operator<<(std::ostream &os, const CalibrationMeasurement &cm)
|
2009-12-11 17:56:31 +01:00
|
|
|
{
|
|
|
|
os
|
2009-12-14 15:45:16 +01:00
|
|
|
<< (Measurement) cm ;
|
|
|
|
|
|
|
|
return os ;
|
2009-12-11 17:56:31 +01:00
|
|
|
}
|