/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
CondFormats/ESObjects/interface/ESStripGroupId.h
24 строки
787 B
Cms Build
Clang-Format
20 май 2019, 13:01
20 май 2019, 13:01
a27185a
Код
Авторство
О чём код?
#ifndef CondFormats_ESObjects_ESStripGroupId_H #define CondFormats_ESObjects_ESStripGroupId_H #include "CondFormats/Serialization/interface/Serializable.h" class ESStripGroupId { public: ESStripGroupId() : id_(0) {} ESStripGroupId(const unsigned int& id) : id_(id) {} bool operator>(const ESStripGroupId& rhs) const { return (id_ > rhs.id()); } bool operator>=(const ESStripGroupId& rhs) const { return (id_ >= rhs.id()); } bool operator==(const ESStripGroupId& rhs) const { return (id_ == rhs.id()); } bool operator<(const ESStripGroupId& rhs) const { return (id_ < rhs.id()); } bool operator<=(const ESStripGroupId& rhs) const { return (id_ <= rhs.id()); } const unsigned int id() const { return id_; } private: unsigned int id_; COND_SERIALIZABLE; }; #endif