/*
 * SPDX-FileCopyrightText: 2007 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */

#include <tango/client/AttributeEventInfo.h>

namespace Tango
{

bool AttributeEventInfo::operator==(const AttributeEventInfo &aei)
{
    return ch_event.rel_change == aei.ch_event.rel_change && ch_event.abs_change == aei.ch_event.abs_change &&
           ch_event.extensions == aei.ch_event.extensions && per_event.period == aei.per_event.period &&
           per_event.extensions == aei.per_event.extensions &&
           arch_event.archive_abs_change == aei.arch_event.archive_abs_change &&
           arch_event.archive_rel_change == aei.arch_event.archive_rel_change &&
           arch_event.archive_period == aei.arch_event.archive_period &&
           arch_event.extensions == aei.arch_event.extensions;
}

} // namespace Tango
