library: libCore #include "TObjectTable.h" |
TObjectTable
class description - header file - source file - inheritance tree (.pdf)
private:
void Expand(Int_t newsize)
Int_t FindElement(TObject* obj)
void FixCollisions(Int_t index)
Bool_t HighWaterMark()
protected:
TObjectTable(const TObjectTable&)
TObjectTable& operator=(const TObjectTable&)
public:
TObjectTable(Int_t tableSize = 100)
~TObjectTable()
void Add(TObject* obj)
static void AddObj(TObject* obj)
void* CheckPtrAndWarn(const char* msg, void* vp)
static TClass* Class()
virtual void Delete(Option_t* opt = "")
Int_t GetSize() const
Int_t Instances() const
void InstanceStatistics() const
virtual TClass* IsA() const
virtual void Print(Option_t* option = "") const
Bool_t PtrIsValid(TObject* op)
void Remove(TObject* obj)
void RemoveQuietly(TObject* obj)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
void Statistics()
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void Terminate()
void UpdateInstCount() const
private:
TObject** fTable
Int_t fSize
Int_t fTally
void Print(Option_t *option)
Print the object table.
If option ="all" prints the list of all objects with the format
object number, pointer, class name, object name
void RemoveQuietly(TObject *op)
Remove an object from the object table. If op is 0 or not in the table
don't complain. Currently only used by the TClonesArray dtor. Should not
be used anywhere else, except in places where "special" allocation and
de-allocation tricks are performed.
void Terminate()
Deletes the object table (this static class function calls the dtor).
Int_t FindElement(TObject *op)
Find an object in the object table. Returns the slot where to put
the object. To test if the object is actually already in the table
use PtrIsValid().
void FixCollisions(Int_t index)
Rehash the object table in case an object has been removed.
void * CheckPtrAndWarn(const char *msg, void *vp)
Issue a warning in case an object still appears in the table
while it should not.
Author: Fons Rademakers 11/08/95
Last update: root/cont:$Name: $:$Id: TObjectTable.cxx,v 1.9 2006/05/24 14:34:00 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.