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
ESStripGroupId::operator<=
bool operator<=(const ESStripGroupId &rhs) const
Definition: ESStripGroupId.h:15
ESStripGroupId::operator>=
bool operator>=(const ESStripGroupId &rhs) const
Definition: ESStripGroupId.h:12
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
ESStripGroupId::id
const unsigned int id() const
Definition: ESStripGroupId.h:17
ESStripGroupId::operator==
bool operator==(const ESStripGroupId &rhs) const
Definition: ESStripGroupId.h:13
ESStripGroupId
Definition: ESStripGroupId.h:6
ESStripGroupId::ESStripGroupId
ESStripGroupId()
Definition: ESStripGroupId.h:8
ESStripGroupId::ESStripGroupId
ESStripGroupId(const unsigned int &id)
Definition: ESStripGroupId.h:9
Serializable.h
ESStripGroupId::operator>
bool operator>(const ESStripGroupId &rhs) const
Definition: ESStripGroupId.h:11
ESStripGroupId::id_
unsigned int id_
Definition: ESStripGroupId.h:20
ESStripGroupId::operator<
bool operator<(const ESStripGroupId &rhs) const
Definition: ESStripGroupId.h:14