CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/CondFormats/ESObjects/interface/ESStripGroupId.h

Go to the documentation of this file.
00001 #ifndef CondFormats_ESObjects_ESStripGroupId_H
00002 #define CondFormats_ESObjects_ESStripGroupId_H
00003 
00004 class ESStripGroupId {
00005 public:
00006   ESStripGroupId()  : id_(0){}
00007   ESStripGroupId(const unsigned int& id)  : id_(id){}
00008 
00009   bool operator>(const ESStripGroupId& rhs) const{ return ( id_>rhs.id() ); }
00010   bool operator>=(const ESStripGroupId& rhs) const { return ( id_>=rhs.id() ); }
00011   bool operator==(const ESStripGroupId& rhs) const { return ( id_==rhs.id() ); }
00012   bool operator<(const ESStripGroupId& rhs) const { return ( id_<rhs.id() ); }
00013   bool operator<=(const ESStripGroupId& rhs) const { return ( id_<=rhs.id() ); }
00014     
00015   const unsigned int id() const { return id_; }
00016 
00017 private:
00018   unsigned int id_;
00019   
00020 };
00021 #endif