40 lines
645 B
C++
40 lines
645 B
C++
#include "calibrationmeasurement.hh"
|
|
|
|
|
|
|
|
/*** Opérateurs ***/
|
|
|
|
|
|
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 ;
|
|
}
|
|
|
|
|
|
|
|
std::ostream &operator<<(std::ostream &os, const CalibrationMeasurement &cm)
|
|
{
|
|
os
|
|
<< (Measurement) cm ;
|
|
|
|
return os ;
|
|
}
|