199 overloads =
new TList();
203 TIter iOverload(overloads);
212 std::vector<DeclId_t> overloadDecls;
214 gInterpreter->GetFunctionOverloads(ci, name, overloadDecls);
215 for (std::vector<DeclId_t>::const_iterator iD = overloadDecls.begin(),
216 eD = overloadDecls.end(); iD != eD; ++iD) {
219 overloads->
Add(over);
283 TIter next(bucketForMethod);
350 if (found)
return obj;
390 MethodInfo_t *t =
gInterpreter->MethodInfo_Factory(info);
virtual void Clear(Option_t *="")
void Add(ULong64_t hash, Long64_t key, Long64_t value)
Add an (key,value) pair to the table. The key should be unique.
void AddFirst(TObject *obj)
Add object at the beginning of the list.
void Remove(ULong64_t hash, Long64_t key)
Remove entry with specified key from the TExMap.
void AddLast(TObject *obj)
Add object at the end of the list.
ULong64_t fLastLoadMarker
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t mid
virtual TObject * Before(const TObject *obj) const
Returns the object before object obj.
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
TDictionary::DeclId_t DeclId_t
R__EXTERN TVirtualMutex * gInterpreterMutex
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
virtual TObjLink * LastLink() const
void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
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 * Next()
Return next object in the list. Returns 0 when no more objects in list.
TObject * FindObject(const char *name) const
Find object using its name.
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
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.
virtual Int_t GetLast() const
Returns index of last object in collection.
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.
ClassInfo_t * GetClassInfo() const
virtual void Delete(Option_t *option="")
Delete all TFunction object files.
const TList * GetListForObject(const char *name) const
Return the THashTable's list (bucket) in which obj can be found based on its hash; see THashTable::Ge...
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
void Clear(Option_t *option="")
Remove all objects from the list.
Long64_t GetValue(ULong64_t hash, Long64_t key)
Return the value belonging to specified key and hash value.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
~TListOfFunctions()
Destructor.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
TObject * Remove(TObject *obj)
Remove object from the list.
virtual TObject * Before(const TObject *obj) const
Returns the object before object obj.
void AddLast(TObject *obj)
Add object at the end of the list.
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
The ROOT global object gROOT contains a list of all defined classes.
virtual TObject * After(const TObject *obj) const
Returns the object after object obj.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
void SetName(const char *name)
virtual TObjLink * FirstLink() const
virtual bool Update(MethodInfo_t *info)
Update the TFunction to reflect the new info.
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
TObject * FindObject(const char *name) const
Find object using its name.
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)
void Add(TObject *obj)
Add object to the hash table.
#define R__LOCKGUARD(mutex)
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
Mother of all ROOT objects.
virtual const char * GetMangledName() const
Returns the mangled name as defined by CINT, or 0 in case of error.
Global functions class (global functions are obtained from CINT).
TObject * GetObject() const
void Load()
Load all the functions known to the interpreter for the scope 'fClass' into this collection.
TDictionary::DeclId_t DeclId_t
virtual void Add(TObject *obj)
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
Each ROOT class (see TClass) has a linked list of methods.
virtual Int_t GetLast() const
Returns index of last object in collection.
virtual TObjLink * LastLink() const
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 const char * GetName() const
Returns name of object.
virtual Int_t GetSize() const
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.
virtual TObject ** GetObjectRef(const TObject *obj) const
Return address of pointer to obj.
This class stores a (key,value) pair using an external hash.
DeclId_t GetDeclId() const
void UnmapObject(TObject *obj)
Remove a pair<id, object> from the map of functions and their ids.
virtual Int_t IndexOf(const TObject *obj) const
Return index of object in collection.