CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
bool operator<(const ESStripGroupId &rhs) const
unsigned int id_
const unsigned int id() const
ESStripGroupId(const unsigned int &id)
Definition: ESStripGroupId.h:9
#define COND_SERIALIZABLE
Definition: Serializable.h:39
bool operator>=(const ESStripGroupId &rhs) const
bool operator<=(const ESStripGroupId &rhs) const