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) {}

◆ ESStripGroupId() [2/2]

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

Definition at line 9 of file ESStripGroupId.h.

9 : id_(id) {}

Member Function Documentation

◆ id()

const unsigned int ESStripGroupId::id ( ) const
inline

Definition at line 17 of file ESStripGroupId.h.

17 { return id_; }

References id_.

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

◆ operator<()

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

Definition at line 14 of file ESStripGroupId.h.

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

References id(), and id_.

◆ operator<=()

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

Definition at line 15 of file ESStripGroupId.h.

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

References id(), and id_.

◆ operator==()

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

Definition at line 13 of file ESStripGroupId.h.

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

References id(), and id_.

◆ operator>()

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

Definition at line 11 of file ESStripGroupId.h.

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

References id(), and id_.

◆ operator>=()

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

Definition at line 12 of file ESStripGroupId.h.

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

References id(), and id_.

◆ 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>=().

ESStripGroupId::id
const unsigned int id() const
Definition: ESStripGroupId.h:17
ESStripGroupId::id_
unsigned int id_
Definition: ESStripGroupId.h:20