CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ESStripGroupId Class Reference

#include <ESStripGroupId.h>

Public Member Functions

 ESStripGroupId ()
 
 ESStripGroupId (const unsigned int &id)
 
const unsigned int id () const
 
bool operator< (const ESStripGroupId &rhs) const
 
bool operator<= (const ESStripGroupId &rhs) const
 
bool operator== (const ESStripGroupId &rhs) const
 
bool operator> (const ESStripGroupId &rhs) const
 
bool operator>= (const ESStripGroupId &rhs) const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

unsigned int id_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 6 of file ESStripGroupId.h.

Constructor & Destructor Documentation

◆ ESStripGroupId() [1/2]

ESStripGroupId::ESStripGroupId ( )
inline

Definition at line 8 of file ESStripGroupId.h.

8 : id_(0) {}
unsigned int id_

◆ ESStripGroupId() [2/2]

ESStripGroupId::ESStripGroupId ( const unsigned int &  id)
inline

Definition at line 9 of file ESStripGroupId.h.

9 : id_(id) {}
unsigned int id_

Member Function Documentation

◆ id()

const unsigned int ESStripGroupId::id ( ) const
inline

Definition at line 17 of file ESStripGroupId.h.

References id_.

Referenced by operator<(), operator<=(), operator==(), operator>(), and operator>=().

17 { return id_; }
unsigned int id_

◆ operator<()

bool ESStripGroupId::operator< ( const ESStripGroupId rhs) const
inline

Definition at line 14 of file ESStripGroupId.h.

References id(), and id_.

14 { return (id_ < rhs.id()); }
unsigned int id_
const unsigned int id() const

◆ operator<=()

bool ESStripGroupId::operator<= ( const ESStripGroupId rhs) const
inline

Definition at line 15 of file ESStripGroupId.h.

References id(), and id_.

15 { return (id_ <= rhs.id()); }
unsigned int id_
const unsigned int id() const

◆ operator==()

bool ESStripGroupId::operator== ( const ESStripGroupId rhs) const
inline

Definition at line 13 of file ESStripGroupId.h.

References id(), and id_.

13 { return (id_ == rhs.id()); }
unsigned int id_
const unsigned int id() const

◆ operator>()

bool ESStripGroupId::operator> ( const ESStripGroupId rhs) const
inline

Definition at line 11 of file ESStripGroupId.h.

References id(), and id_.

11 { return (id_ > rhs.id()); }
unsigned int id_
const unsigned int id() const

◆ operator>=()

bool ESStripGroupId::operator>= ( const ESStripGroupId rhs) const
inline

Definition at line 12 of file ESStripGroupId.h.

References id(), and id_.

12 { return (id_ >= rhs.id()); }
unsigned int id_
const unsigned int id() const

◆ serialize()

template<class Archive >
void ESStripGroupId::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 22 of file ESStripGroupId.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 22 of file ESStripGroupId.h.

Member Data Documentation

◆ id_

unsigned int ESStripGroupId::id_
private

Definition at line 20 of file ESStripGroupId.h.

Referenced by id(), operator<(), operator<=(), operator==(), operator>(), and operator>=().