#include <TRefTable.h>
Inheritance diagram for TRefTable:

Public Types | |
| enum | |
| enum | |
Public Member Functions | |
| TRefTable () | |
| TRefTable (TObject *owner, Int_t size) | |
| virtual | ~TRefTable () |
| virtual Int_t | Add (Int_t uid, TProcessID *context=0) |
| virtual void | Clear (Option_t *="") |
| virtual Int_t | Expand (Int_t pid, Int_t newsize) |
| virtual void | FillBuffer (TBuffer &b) |
| Int_t | GetNumPIDs () const |
| Int_t | GetSize (Int_t pid) const |
| Int_t | GetN (Int_t pid) const |
| TObject * | GetOwner () const |
| TObject * | GetParent (Int_t uid, TProcessID *context=0) const |
| TObjArray * | GetParents () const |
| UInt_t | GetUID () const |
| TProcessID * | GetUIDContext () const |
| virtual Bool_t | Notify () |
| virtual void | ReadBuffer (TBuffer &b) |
| virtual void | Reset (Option_t *="") |
| virtual Int_t | SetParent (const TObject *parent, Int_t branchID) |
| virtual void | SetUID (UInt_t uid, TProcessID *context=0) |
| TRefTable () | |
| TRefTable (TObject *owner, Int_t size) | |
| virtual | ~TRefTable () |
| virtual Int_t | Add (Int_t uid, TProcessID *context=0) |
| virtual void | Clear (Option_t *="") |
| virtual Int_t | Expand (Int_t pid, Int_t newsize) |
| virtual void | FillBuffer (TBuffer &b) |
| Int_t | GetNumPIDs () const |
| Int_t | GetSize (Int_t pid) const |
| Int_t | GetN (Int_t pid) const |
| TObject * | GetOwner () const |
| TObject * | GetParent (Int_t uid, TProcessID *context=0) const |
| TObjArray * | GetParents () const |
| UInt_t | GetUID () const |
| TProcessID * | GetUIDContext () const |
| virtual Bool_t | Notify () |
| virtual void | ReadBuffer (TBuffer &b) |
| virtual void | Reset (Option_t *="") |
| virtual Int_t | SetParent (const TObject *parent, Int_t branchID) |
| virtual void | SetUID (UInt_t uid, TProcessID *context=0) |
Static Public Member Functions | |
| static TRefTable * | GetRefTable () |
| static void | SetRefTable (TRefTable *table) |
| static TRefTable * | GetRefTable () |
| static void | SetRefTable (TRefTable *table) |
Protected Member Functions | |
| Int_t | AddInternalIdxForPID (TProcessID *procid) |
| virtual Int_t | ExpandForIID (Int_t iid, Int_t newsize) |
| void | ExpandPIDs (Int_t numpids) |
| Int_t | FindPIDGUID (const char *guid) const |
| Int_t | GetInternalIdxForPID (TProcessID *procid) const |
| Int_t | GetInternalIdxForPID (Int_t pid) const |
| Int_t | AddInternalIdxForPID (TProcessID *procid) |
| virtual Int_t | ExpandForIID (Int_t iid, Int_t newsize) |
| void | ExpandPIDs (Int_t numpids) |
| Int_t | FindPIDGUID (const char *guid) const |
| Int_t | GetInternalIdxForPID (TProcessID *procid) const |
| Int_t | GetInternalIdxForPID (Int_t pid) const |
Protected Attributes | |
| Int_t | fNumPIDs |
| Int_t * | fAllocSize |
| number of known ProcessIDs | |
| Int_t * | fN |
| [fNumPIDs] allocated size of array fParentIDs for each ProcessID | |
| Int_t ** | fParentIDs |
| [fNumPIDs] current maximum number of IDs in array fParentIDs for each ProcessID | |
| Int_t | fParentID |
| [fNumPIDs][fAllocSize] array of Parent IDs | |
| Int_t | fDefaultSize |
| current parent ID in fParents (latest call to SetParent) | |
| UInt_t | fUID |
| default size for a new PID array | |
| TProcessID * | fUIDContext |
| Current uid (set by TRef::GetObject). | |
| Int_t | fSize |
| TProcessID the current uid is referring to. | |
| TObjArray * | fParents |
| TObject * | fOwner |
| std::vector< std::string > | fProcessGUIDs |
| std::vector< Int_t > | fMapPIDtoInternal |
| Int_t * | fAllocSize |
| number of known ProcessIDs | |
| Int_t * | fN |
| [fNumPIDs] allocated size of array fParentIDs for each ProcessID | |
| Int_t ** | fParentIDs |
| [fNumPIDs] current maximum number of IDs in array fParentIDs for each ProcessID | |
| TProcessID * | fUIDContext |
| Current uid (set by TRef::GetObject). | |
| TObjArray * | fParents |
| TObject * | fOwner |
| std::vector< std::string > | fProcessGUIDs |
| std::vector< Int_t > | fMapPIDtoInternal |
Static Protected Attributes | |
| static TRefTable * | fgRefTable |
| cache of pid to index in fProcessGUIDs | |
| static TRefTable * | fgRefTable |
| cache of pid to index in fProcessGUIDs | |
Definition at line 37 of file TRefTable.h.
| anonymous enum |
Definition at line 64 of file TRefTable.h.
| anonymous enum |
Definition at line 64 of file TRefTable.h.
| TRefTable::TRefTable | ( | ) |
| TRefTable::~TRefTable | ( | ) | [virtual] |
Definition at line 69 of file TRefTable.cxx.
References fAllocSize, fgRefTable, fN, fNumPIDs, fParentIDs, and fParents.
| TRefTable::TRefTable | ( | ) |
| virtual TRefTable::~TRefTable | ( | ) | [virtual] |
| Int_t TRefTable::AddInternalIdxForPID | ( | TProcessID * | procid | ) | [protected] |
Definition at line 117 of file TRefTable.cxx.
References ExpandPIDs(), FindPIDGUID(), fMapPIDtoInternal, fProcessGUIDs, TProcessID::GetNProcessIDs(), TProcessID::GetSessionProcessID(), TNamed::GetTitle(), TObject::GetUniqueID(), and size_t.
Referenced by GetInternalIdxForPID().
Definition at line 165 of file TRefTable.cxx.
References fAllocSize, and fParentIDs.
Referenced by Add(), Expand(), and ReadBuffer().
| void TRefTable::ExpandPIDs | ( | Int_t | numpids | ) | [protected] |
Definition at line 191 of file TRefTable.cxx.
References fAllocSize, fN, fNumPIDs, and fParentIDs.
Referenced by AddInternalIdxForPID(), and ReadBuffer().
| Int_t TRefTable::FindPIDGUID | ( | const char * | guid | ) | const [protected] |
Definition at line 236 of file TRefTable.cxx.
References fProcessGUIDs.
Referenced by AddInternalIdxForPID().
| Int_t TRefTable::GetInternalIdxForPID | ( | TProcessID * | procid | ) | const [protected] |
Definition at line 264 of file TRefTable.cxx.
References AddInternalIdxForPID().
Referenced by Add(), Expand(), GetInternalIdxForPID(), GetN(), GetParent(), GetSize(), and ReadBuffer().
Definition at line 273 of file TRefTable.cxx.
References GetInternalIdxForPID(), and TProcessID::GetProcessID().
| Int_t TRefTable::Add | ( | Int_t | uid, | |
| TProcessID * | context = 0 | |||
| ) | [virtual] |
Definition at line 84 of file TRefTable.cxx.
References TObject::Error(), ExpandForIID(), fAllocSize, fDefaultSize, fN, fParentID, fParentIDs, GetInternalIdxForPID(), and TProcessID::GetSessionProcessID().
| void TRefTable::Clear | ( | Option_t * | = "" |
) | [virtual] |
Reimplemented from TObject.
Definition at line 143 of file TRefTable.cxx.
References fN, fNumPIDs, fParentID, and fParentIDs.
Referenced by TBranchRef::Clear(), and Reset().
Definition at line 155 of file TRefTable.cxx.
References ExpandForIID(), and GetInternalIdxForPID().
| void TRefTable::FillBuffer | ( | TBuffer & | b | ) | [virtual] |
Definition at line 222 of file TRefTable.cxx.
References b, fN, fNumPIDs, and fParentIDs.
Referenced by TBranchRef::FillLeaves().
| TRefTable * TRefTable::GetRefTable | ( | ) | [static] |
Definition at line 283 of file TRefTable.cxx.
References fgRefTable.
Referenced by G__G__Cont_88_0_13(), G__setup_memfuncTRefTable(), TRefArray::GetFromTable(), TRef::GetObject(), TRefProxy::GetObject(), and TStreamerInfo::WriteBufferAux().
| Int_t TRefTable::GetNumPIDs | ( | ) | const [inline] |
| TObject* TRefTable::GetOwner | ( | ) | const [inline] |
| TObject * TRefTable::GetParent | ( | Int_t | uid, | |
| TProcessID * | context = 0 | |||
| ) | const |
Definition at line 246 of file TRefTable.cxx.
References fN, fParentIDs, fParents, TObjArray::GetEntriesFast(), GetInternalIdxForPID(), TProcessID::GetSessionProcessID(), and TObjArray::UncheckedAt().
Referenced by TBranchRef::Notify().
| TObjArray* TRefTable::GetParents | ( | ) | const [inline] |
| UInt_t TRefTable::GetUID | ( | ) | const [inline] |
| TProcessID* TRefTable::GetUIDContext | ( | ) | const [inline] |
Definition at line 83 of file TRefTable.h.
References fUIDContext.
Referenced by TBranchRef::Notify().
| Bool_t TRefTable::Notify | ( | ) | [virtual] |
Reimplemented from TObject.
Definition at line 291 of file TRefTable.cxx.
References fOwner, and TObject::Notify().
| void TRefTable::ReadBuffer | ( | TBuffer & | b | ) | [virtual] |
Definition at line 303 of file TRefTable.cxx.
References b, ExpandForIID(), ExpandPIDs(), fAllocSize, fN, fParentIDs, fProcessGUIDs, GetInternalIdxForPID(), and TNamed::GetTitle().
Referenced by TBranchRef::ReadLeavesImpl().
| void TRefTable::Reset | ( | Option_t * | = "" |
) | [virtual] |
Definition at line 341 of file TRefTable.cxx.
References TObjArray::Clear(), Clear(), and fParents.
Referenced by TBranchRef::Reset().
Definition at line 349 of file TRefTable.cxx.
References TObjArray::AddAtAndExpand(), fParentID, fParents, TObjArray::GetEntriesFast(), and TObjArray::IndexOf().
Referenced by TBranchRef::SetParent().
| void TRefTable::SetRefTable | ( | TRefTable * | table | ) | [static] |
Definition at line 378 of file TRefTable.cxx.
References fgRefTable.
Referenced by G__G__Cont_88_0_26(), G__setup_memfuncTRefTable(), and TBranchRef::SetParent().
| virtual void TRefTable::SetUID | ( | UInt_t | uid, | |
| TProcessID * | context = 0 | |||
| ) | [inline, virtual] |
| Int_t TRefTable::AddInternalIdxForPID | ( | TProcessID * | procid | ) | [protected] |
| void TRefTable::ExpandPIDs | ( | Int_t | numpids | ) | [protected] |
| Int_t TRefTable::FindPIDGUID | ( | const char * | guid | ) | const [protected] |
| Int_t TRefTable::GetInternalIdxForPID | ( | TProcessID * | procid | ) | const [protected] |
| virtual Int_t TRefTable::Add | ( | Int_t | uid, | |
| TProcessID * | context = 0 | |||
| ) | [virtual] |
| virtual void TRefTable::FillBuffer | ( | TBuffer & | b | ) | [virtual] |
| static TRefTable* TRefTable::GetRefTable | ( | ) | [static] |
| Int_t TRefTable::GetNumPIDs | ( | ) | const [inline] |
| TObject* TRefTable::GetOwner | ( | ) | const [inline] |
| TObject* TRefTable::GetParent | ( | Int_t | uid, | |
| TProcessID * | context = 0 | |||
| ) | const |
| TObjArray* TRefTable::GetParents | ( | ) | const [inline] |
| UInt_t TRefTable::GetUID | ( | ) | const [inline] |
| TProcessID* TRefTable::GetUIDContext | ( | ) | const [inline] |
| virtual void TRefTable::ReadBuffer | ( | TBuffer & | b | ) | [virtual] |
| virtual void TRefTable::Reset | ( | Option_t * | = "" |
) | [virtual] |
| static void TRefTable::SetRefTable | ( | TRefTable * | table | ) | [static] |
| virtual void TRefTable::SetUID | ( | UInt_t | uid, | |
| TProcessID * | context = 0 | |||
| ) | [inline, virtual] |
Int_t TRefTable::fNumPIDs [protected] |
Definition at line 40 of file TRefTable.h.
Referenced by Clear(), ExpandPIDs(), FillBuffer(), GetNumPIDs(), and ~TRefTable().
Int_t* TRefTable::fAllocSize [protected] |
number of known ProcessIDs
Definition at line 41 of file TRefTable.h.
Referenced by Add(), ExpandForIID(), ExpandPIDs(), GetSize(), ReadBuffer(), and ~TRefTable().
Int_t* TRefTable::fN [protected] |
[fNumPIDs] allocated size of array fParentIDs for each ProcessID
Definition at line 42 of file TRefTable.h.
Referenced by Add(), Clear(), ExpandPIDs(), FillBuffer(), GetN(), GetParent(), ReadBuffer(), and ~TRefTable().
Int_t** TRefTable::fParentIDs [protected] |
[fNumPIDs] current maximum number of IDs in array fParentIDs for each ProcessID
Definition at line 43 of file TRefTable.h.
Referenced by Add(), Clear(), ExpandForIID(), ExpandPIDs(), FillBuffer(), GetParent(), ReadBuffer(), and ~TRefTable().
Int_t TRefTable::fParentID [protected] |
[fNumPIDs][fAllocSize] array of Parent IDs
Definition at line 44 of file TRefTable.h.
Referenced by Add(), Clear(), and SetParent().
Int_t TRefTable::fDefaultSize [protected] |
current parent ID in fParents (latest call to SetParent)
Definition at line 45 of file TRefTable.h.
Referenced by Add().
UInt_t TRefTable::fUID [protected] |
TProcessID* TRefTable::fUIDContext [protected] |
Current uid (set by TRef::GetObject).
Definition at line 47 of file TRefTable.h.
Referenced by GetUIDContext(), and SetUID().
Int_t TRefTable::fSize [protected] |
TObjArray* TRefTable::fParents [protected] |
Definition at line 49 of file TRefTable.h.
Referenced by GetParent(), GetParents(), Reset(), SetParent(), and ~TRefTable().
TObject* TRefTable::fOwner [protected] |
std::vector<std::string> TRefTable::fProcessGUIDs [protected] |
Definition at line 51 of file TRefTable.h.
Referenced by AddInternalIdxForPID(), FindPIDGUID(), and ReadBuffer().
std::vector<Int_t> TRefTable::fMapPIDtoInternal [protected] |
TRefTable * TRefTable::fgRefTable [static, protected] |
cache of pid to index in fProcessGUIDs
Definition at line 53 of file TRefTable.h.
Referenced by GetRefTable(), SetRefTable(), TRefTable(), and ~TRefTable().
Int_t* TRefTable::fAllocSize [protected] |
Int_t* TRefTable::fN [protected] |
[fNumPIDs] allocated size of array fParentIDs for each ProcessID
Definition at line 42 of file TRefTable.h.
Int_t** TRefTable::fParentIDs [protected] |
[fNumPIDs] current maximum number of IDs in array fParentIDs for each ProcessID
Definition at line 43 of file TRefTable.h.
TProcessID* TRefTable::fUIDContext [protected] |
TObjArray* TRefTable::fParents [protected] |
Definition at line 49 of file TRefTable.h.
TObject* TRefTable::fOwner [protected] |
Definition at line 50 of file TRefTable.h.
std::vector<std::string> TRefTable::fProcessGUIDs [protected] |
Definition at line 51 of file TRefTable.h.
std::vector<Int_t> TRefTable::fMapPIDtoInternal [protected] |
Definition at line 52 of file TRefTable.h.
TRefTable* TRefTable::fgRefTable [static, protected] |
1.5.1