CandUid Class Reference

#include <CandUid.h>

List of all members.

Public Member Functions

 CandUid ()
 CandUid (const CandUid &cu)
 CandUid (const CandBase &cb)
 CandUid (const CandBase &cb, const CandBase &cba)
virtual ~CandUid ()
CandUidoperator= (const CandUid &cuid)
Bool_t operator== (const CandUid &cuid) const
Bool_t operator!= (const CandUid &cuid) const
UInt_t GetArchUidInt () const
UInt_t GetUidInt () const
Bool_t IsCloneOf (const CandUid &cuid) const

Private Member Functions

void SetUidInt (UInt_t ui)

Private Attributes

UInt_t fArchUidInt
UInt_t fUidInt

Friends

class CandBase

Detailed Description

Definition at line 23 of file CandUid.h.


Constructor & Destructor Documentation

CandUid::CandUid (  ) 

Definition at line 19 of file CandUid.cxx.

00019                    :
00020   fArchUidInt(0)
00021 , fUidInt(0)
00022 {
00023 }

CandUid::CandUid ( const CandUid cu  ) 

Definition at line 26 of file CandUid.cxx.

References fArchUidInt, fUidInt, GetArchUidInt(), and GetUidInt().

00026                                   :
00027   fArchUidInt(0)
00028 , fUidInt(0)
00029 {
00030    fUidInt = cu.GetUidInt();
00031    fArchUidInt = cu.GetArchUidInt();
00032 }

CandUid::CandUid ( const CandBase cb  ) 

Definition at line 35 of file CandUid.cxx.

References fArchUidInt, and fUidInt.

00035                                    :
00036   fArchUidInt(0)
00037 , fUidInt(0)
00038 {
00039 #ifndef MINOS_TRY64
00040    fUidInt = (UInt_t) &cb;            // Set to CandBase address for now
00041 #else
00042    fUidInt = (ULong64_t) &cb;         // Set to CandBase address for now
00043 #endif
00044    fArchUidInt = fUidInt;
00045 }

CandUid::CandUid ( const CandBase cb,
const CandBase cba 
)

Definition at line 48 of file CandUid.cxx.

References fArchUidInt, fUidInt, and CandBase::GetArchUidInt().

00048                                                         :
00049   fArchUidInt(0)
00050 , fUidInt(0)
00051 {
00052 
00053 #ifndef MINOS_TRY64
00054    fUidInt = (UInt_t) &cb;
00055 #else
00056    fUidInt = (ULong64_t) &cb;
00057 #endif
00058    fArchUidInt = cba.GetArchUidInt();
00059 }

CandUid::~CandUid (  )  [virtual]

Definition at line 62 of file CandUid.cxx.

00063 {
00064 }


Member Function Documentation

UInt_t CandUid::GetArchUidInt (  )  const [inline]

Definition at line 38 of file CandUid.h.

References fArchUidInt.

Referenced by CandUid(), CandBase::GetArchUidInt(), and IsCloneOf().

00038 {return fArchUidInt;}

UInt_t CandUid::GetUidInt (  )  const [inline]

Definition at line 39 of file CandUid.h.

References fUidInt.

Referenced by CandUid(), CandBase::GetUidInt(), operator=(), and operator==().

00039 {return fUidInt;}

Bool_t CandUid::IsCloneOf ( const CandUid cuid  )  const

Definition at line 89 of file CandUid.cxx.

References GetArchUidInt().

Referenced by CandHandle::IsCloneOf().

00090 {
00091    return (GetArchUidInt() == cu.GetArchUidInt());
00092 }

Bool_t CandUid::operator!= ( const CandUid cuid  )  const

Definition at line 82 of file CandUid.cxx.

00083 {
00084    assert(&cu != 0);
00085    return !(*this == cu);
00086 }

CandUid & CandUid::operator= ( const CandUid cuid  ) 

Definition at line 67 of file CandUid.cxx.

References fUidInt, and GetUidInt().

00068 {
00069    assert(&cu != 0);
00070    if (this != &cu) fUidInt = cu.GetUidInt();
00071    return *this;
00072 }

Bool_t CandUid::operator== ( const CandUid cuid  )  const

Definition at line 75 of file CandUid.cxx.

References GetUidInt().

00076 {
00077    assert(&cu != 0);
00078    return (GetUidInt() == cu.GetUidInt());
00079 }

void CandUid::SetUidInt ( UInt_t  ui  )  [inline, private]

Definition at line 51 of file CandUid.h.

References fUidInt.

00051 {fUidInt = ui;}


Friends And Related Function Documentation

friend class CandBase [friend]

Definition at line 26 of file CandUid.h.


Member Data Documentation

UInt_t CandUid::fArchUidInt [private]

Definition at line 49 of file CandUid.h.

Referenced by CandUid(), and GetArchUidInt().

UInt_t CandUid::fUidInt [private]

Definition at line 50 of file CandUid.h.

Referenced by CandUid(), GetUidInt(), operator=(), and SetUidInt().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1