/** * @RDE_HEADER@ * Helper for Player Info Dialogues * $Id$ * $HeadURL$ * $Author$ * Created by Christian Ehrlicher, SLSE, 2016-02-29 */ #pragma once #include namespace ParticipantManagement { inline bool compareGear(const GearInformation &a, const GearInformation &b) { if (a.gearId() != b.gearId()) return a.gearId() < b.gearId(); return a.chargeTypeId() < b.chargeTypeId(); } inline bool compareSanMat(const SanitationMaterial &a, const SanitationMaterial &b) { return a.materialId() < b.materialId(); } } //namespace