#include "aviobase.h" namespace BlackMisc { namespace Aviation { bool CAvionicsBase::operator ==(const CAvionicsBase &other) const { if (this == &other) return true; return TupleConverter::toTuple(*this) == TupleConverter::toTuple(other); } int CAvionicsBase::compareImpl(const CValueObject &otherBase) const { const auto &other = static_cast(otherBase); return compare(TupleConverter::toTuple(*this), TupleConverter::toTuple(other)); } void CAvionicsBase::marshallToDbus(QDBusArgument &argument) const { argument << TupleConverter::toTuple(*this); } void CAvionicsBase::unmarshallFromDbus(const QDBusArgument &argument) { argument >> TupleConverter::toTuple(*this); } uint CAvionicsBase::getValueHash() const { return qHash(TupleConverter::toTuple(*this)); } } }