CMS 3D CMS Logo

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

#include <EcalXtalGroupId.h>

Public Member Functions

 EcalXtalGroupId ()
 
 EcalXtalGroupId (const unsigned int &id)
 
unsigned int id () const
 
bool operator< (const EcalXtalGroupId &rhs) const
 
bool operator<= (const EcalXtalGroupId &rhs) const
 
bool operator== (const EcalXtalGroupId &rhs) const
 
bool operator> (const EcalXtalGroupId &rhs) const
 
bool operator>= (const EcalXtalGroupId &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

Author: Shahram Rahatlou, University of Rome & INFN Created: 22 Feb 2006

Id
EcalXtalGroupId.h,v 1.3 2006/02/23 16:56:34 rahatlou Exp

Definition at line 11 of file EcalXtalGroupId.h.

Constructor & Destructor Documentation

◆ EcalXtalGroupId() [1/2]

EcalXtalGroupId::EcalXtalGroupId ( )
inline

Definition at line 13 of file EcalXtalGroupId.h.

13 : id_(0) {}
unsigned int id_

◆ EcalXtalGroupId() [2/2]

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

Definition at line 14 of file EcalXtalGroupId.h.

14 : id_(id) {}
unsigned int id_

Member Function Documentation

◆ id()

unsigned int EcalXtalGroupId::id ( ) const
inline

◆ operator<()

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

Definition at line 19 of file EcalXtalGroupId.h.

References id(), and id_.

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

◆ operator<=()

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

Definition at line 20 of file EcalXtalGroupId.h.

References id(), and id_.

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

◆ operator==()

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

Definition at line 18 of file EcalXtalGroupId.h.

References id(), and id_.

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

◆ operator>()

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

Definition at line 16 of file EcalXtalGroupId.h.

References id(), and id_.

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

◆ operator>=()

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

Definition at line 17 of file EcalXtalGroupId.h.

References id(), and id_.

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

◆ serialize()

template<class Archive >
void EcalXtalGroupId::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 27 of file EcalXtalGroupId.h.

◆ cond::serialization::access

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

Definition at line 27 of file EcalXtalGroupId.h.

Member Data Documentation

◆ id_

unsigned int EcalXtalGroupId::id_
private

Definition at line 25 of file EcalXtalGroupId.h.

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