12 #ifndef ROOT_TListOfFunctions 13 #define ROOT_TListOfFunctions 25 #ifndef ROOT_THastList 29 #ifndef ROOT_THastTable 33 #ifndef ROOT_TDictionary 123 using TListIter::operator=;
131 #endif // ROOT_TListOfFunctions ULong64_t fLastLoadMarker
virtual TObject * Before(const TObject *obj) const
Returns the object before object obj.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual TObjLink * LastLink() const
TFunction * Find(DeclId_t id) const
Return the TMethod or TFunction describing the function corresponding to the Decl 'id'...
TFunction * Get(DeclId_t id)
Return (after creating it if necessary) the TMethod or TFunction describing the function correspondin...
virtual Int_t GetSize() const
TObject * Remove(TObject *obj)
Remove object from the list.
Iterator abstract base class.
virtual void Clear(Option_t *option)
Remove all objects from the list.
void AddFirst(TObject *obj)
Add object at the beginning of the list.
THashTable implements a hash table to store TObject's.
virtual Int_t GetLast() const
Returns index of last object in collection.
#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
virtual void Delete(Option_t *option="")
Delete all TFunction object files.
const Bool_t kIterForward
virtual TObject * After(const TObject *obj) const
Returns the object after object obj.
Iterator for TListOfFunctions.
TList * GetListForObjectNonConst(const char *name)
Return the set of overloads for this name, collecting all available ones.
virtual TObject * FindObject(const TObject *obj) const
Find object using its hash value (returned by its Hash() member).
virtual TObjLink * FirstLink() const
~TListOfFunctions()
Destructor.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
void AddLast(TObject *obj)
Add object at the end of the list.
The ROOT global object gROOT contains a list of all defined classes.
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
void MapObject(TObject *obj)
Add pair<id, object> to the map of functions and their ids.
void Unload()
Mark 'all func' as being unloaded.
Wrapper around a TObject so it can be stored in a TList.
virtual TIterator * MakeIterator(Bool_t dir=kIterForward) const
Return a list iterator.
unsigned long long ULong64_t
double func(double *x, double *p)
TListOfFunctions & operator=(const TListOfFunctions &)
TListOfFunctions(const TListOfFunctions &)
Mother of all ROOT objects.
Global functions class (global functions are obtained from CINT).
void Load()
Load all the functions known to the interpreter for the scope 'fClass' into this collection.
TDictionary::DeclId_t DeclId_t
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
virtual TList * GetListForObject(const char *name) const
Return the set of overloads for this name, collecting all available ones.
virtual Int_t IndexOf(const TObject *obj) const
Return index of object in collection.
virtual TObject ** GetObjectRef(const TObject *obj) const
Return address of pointer to obj.
This class stores a (key,value) pair using an external hash.
void UnmapObject(TObject *obj)
Remove a pair<id, object> from the map of functions and their ids.