owlps/owlps-positioning/src/mobile.cc

36 lines
438 B
C++

#include "mobile.hh"
/* *** Operators *** */
const Mobile& Mobile::operator=(const Mobile &m)
{
if (this == &m)
return *this ;
this->WifiDevice::operator=(m) ;
return *this ;
}
bool Mobile::operator==(const Mobile &m) const
{
if (this == &m)
return true ;
return
this->WifiDevice::operator==(m) ;
}
std::ostream &operator<<(std::ostream &os, const Mobile &m)
{
os << (WifiDevice) m ;
return os ;
}