CMS 3D CMS Logo

ESStripGroupId.h
Go to the documentation of this file.
1 #ifndef CondFormats_ESObjects_ESStripGroupId_H
2 #define CondFormats_ESObjects_ESStripGroupId_H
3 
5 
7 public:
8  ESStripGroupId() : id_(0) {}
9  ESStripGroupId(const unsigned int& id) : id_(id) {}
10 
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  bool operator<(const ESStripGroupId& rhs) const { return (id_ < rhs.id()); }
15  bool operator<=(const ESStripGroupId& rhs) const { return (id_ <= rhs.id()); }
16 
17  const unsigned int id() const { return id_; }
18 
19 private:
20  unsigned int id_;
21 
23 };
24 #endif
bool operator<=(const ESStripGroupId &rhs) const
bool operator>(const ESStripGroupId &rhs) const
unsigned int id_
bool operator>=(const ESStripGroupId &rhs) const
bool operator==(const ESStripGroupId &rhs) const
ESStripGroupId(const unsigned int &id)
Definition: ESStripGroupId.h:9
bool operator<(const ESStripGroupId &rhs) const
#define COND_SERIALIZABLE
Definition: Serializable.h:39
const unsigned int id() const