CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ESStripGroupId.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESStripGroupId_H
2 #define CondFormats_ESObjects_ESStripGroupId_H
3 
5 public:
6  ESStripGroupId() : id_(0){}
7  ESStripGroupId(const unsigned int& id) : id_(id){}
8 
9  bool operator>(const ESStripGroupId& rhs) const{ return ( id_>rhs.id() ); }
10  bool operator>=(const ESStripGroupId& rhs) const { return ( id_>=rhs.id() ); }
11  bool operator==(const ESStripGroupId& rhs) const { return ( id_==rhs.id() ); }
12  bool operator<(const ESStripGroupId& rhs) const { return ( id_<rhs.id() ); }
13  bool operator<=(const ESStripGroupId& rhs) const { return ( id_<=rhs.id() ); }
14 
15  const unsigned int id() const { return id_; }
16 
17 private:
18  unsigned int id_;
19 
20 };
21 #endif
bool operator==(const ESStripGroupId &rhs) const
bool operator>(const ESStripGroupId &rhs) const
Definition: ESStripGroupId.h:9
bool operator<(const ESStripGroupId &rhs) const
unsigned int id_
const unsigned int id() const
ESStripGroupId(const unsigned int &id)
Definition: ESStripGroupId.h:7
bool operator>=(const ESStripGroupId &rhs) const
bool operator<=(const ESStripGroupId &rhs) const