Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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


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 
00040    fUidInt = (UInt_t) &cb;            // Set to CandBase address for now
00041    fArchUidInt = fUidInt;
00042 }

CandUid::CandUid const CandBase cb,
const CandBase cba
 

Definition at line 45 of file CandUid.cxx.

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

00045                                                         :
00046   fArchUidInt(0)
00047 , fUidInt(0)
00048 {
00049    fUidInt = (UInt_t) &cb;
00050    fArchUidInt = cba.GetArchUidInt();
00051 }

CandUid::~CandUid  )  [virtual]
 

Definition at line 54 of file CandUid.cxx.

00055 {
00056 }


Member Function Documentation

UInt_t CandUid::GetArchUidInt  )  const [inline]
 

Definition at line 37 of file CandUid.h.

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

00037 {return fArchUidInt;}

UInt_t CandUid::GetUidInt  )  const [inline]
 

Definition at line 38 of file CandUid.h.

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

00038 {return fUidInt;}

Bool_t CandUid::IsCloneOf const CandUid cuid  )  const
 

Definition at line 81 of file CandUid.cxx.

References GetArchUidInt().

Referenced by CandHandle::IsCloneOf().

00082 {
00083    return (GetArchUidInt() == cu.GetArchUidInt());
00084 }

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

Definition at line 74 of file CandUid.cxx.

00075 {
00076    assert(&cu != 0);
00077    return !(*this == cu);
00078 }

CandUid & CandUid::operator= const CandUid cuid  ) 
 

Definition at line 59 of file CandUid.cxx.

References fUidInt, and GetUidInt().

00060 {
00061    assert(&cu != 0);
00062    if (this != &cu) fUidInt = cu.GetUidInt();
00063    return *this;
00064 }

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

Definition at line 67 of file CandUid.cxx.

References GetUidInt().

00068 {
00069    assert(&cu != 0);
00070    return (GetUidInt() == cu.GetUidInt());
00071 }

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

Definition at line 44 of file CandUid.h.

00044 {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 42 of file CandUid.h.

Referenced by CandUid().

UInt_t CandUid::fUidInt [private]
 

Definition at line 43 of file CandUid.h.

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


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:08:56 2010 for loon by  doxygen 1.3.9.1