1 #ifndef CondFormats_HcalObjects_AbsHcalFunctor_h 2 #define CondFormats_HcalObjects_AbsHcalFunctor_h 7 #include "boost/serialization/access.hpp" 8 #include "boost/serialization/base_object.hpp" 9 #include "boost/serialization/export.hpp" 13 #if !defined(__GCCXML__) 15 #include "CondFormats/Serialization/interface/eos/portable_iarchive.hpp" 16 #include "CondFormats/Serialization/interface/eos/portable_oarchive.hpp" 28 inline virtual double xmin()
const {
return -DBL_MAX;}
29 inline virtual double xmax()
const {
return DBL_MAX;}
35 {
return (
typeid(*
this) ==
typeid(r)) && this->
isEqual(r);}
37 {
return !(*
this ==
r);}
53 if (!(*first < *begin))
67 if (!(*begin < *first))
74 template <
typename Ar>
80 #endif // CondFormats_HcalObjects_AbsHcalFunctor_h static bool isStrictlyIncreasing(Iter begin, Iter const end)
virtual ~AbsHcalFunctor()
virtual double xmax() const
bool operator!=(const AbsHcalFunctor &r) const
static bool isStrictlyDecreasing(Iter begin, Iter const end)
virtual double operator()(double x) const =0
friend class boost::serialization::access
void serialize(Ar &ar, unsigned)
virtual bool isEqual(const AbsHcalFunctor &) const =0
virtual double xmin() const
bool operator==(const AbsHcalFunctor &r) const