199 overloads =
new TList();
203 TIter iOverload(overloads);
212 std::vector<DeclId_t> overloadDecls;
215 for (std::vector<DeclId_t>::const_iterator iD = overloadDecls.begin(),
216 eD = overloadDecls.end(); iD != eD; ++iD) {
219 overloads->
Add(over);
241 if (!obj)
return nullptr;
252 if (!
id)
return nullptr;
264 if (!
id)
return nullptr;
274 if (!
gInterpreter->ClassInfo_Contains(
nullptr,
id))
return nullptr;
283 TIter next(bucketForMethod);
350 if (found)
return obj;
359 if (!lnk)
return nullptr;
390 MethodInfo_t *t =
gInterpreter->MethodInfo_Factory(info);
unsigned long long ULong64_t
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
R__EXTERN TVirtualMutex * gInterpreterMutex
#define R__LOCKGUARD(mutex)
TClass instances represent classes, structs and namespaces in the ROOT type system.
ClassInfo_t * GetClassInfo() const
virtual TObject ** GetObjectRef(const TObject *obj) const =0
void SetName(const char *name)
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
This class stores a (key,value) pair using an external hash.
void Remove(ULong64_t hash, Long64_t key)
Remove entry with specified key from the TExMap.
void Add(ULong64_t hash, Long64_t key, Long64_t value)
Add an (key,value) pair to the table. The key should be unique.
Long64_t GetValue(ULong64_t hash, Long64_t key)
Return the value belonging to specified key and hash value.
Global functions class (global functions are obtained from CINT).
virtual const char * GetMangledName() const
Returns the mangled name as defined by CINT, or 0 in case of error.
virtual bool Update(MethodInfo_t *info)
Update the TFunction to reflect the new info.
DeclId_t GetDeclId() const
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
void Delete(Option_t *option="") override
Remove all objects from the list AND delete all heap based objects.
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
void Clear(Option_t *option="") override
Remove all objects from the list.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.
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...
TObject * Remove(TObject *obj) override
Remove object from the list.
TObject * FindObject(const char *name) const override
Find object using its name.
void AddLast(TObject *obj) override
Add object at the end of the list.
void Add(TObject *obj) override
Add object to the hash table.
TObject * FindObject(const char *name) const override
Find object using its name.
TDictionary::DeclId_t DeclId_t
Iterator abstract base class.
TObject * Next() override
Return next object in the list. Returns 0 when no more objects in list.
Iterator for TListOfFunctions.
TListOfFunctionsIter(const TListOfFunctions *l, Bool_t dir=kIterForward)
TObject * Next() override
Return next object in the list. Returns 0 when no more objects in list.
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
void Clear(Option_t *option="") override
Remove all objects from the list.
void MapObject(TObject *obj)
Add pair<id, object> to the map of functions and their ids.
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
TObject ** GetObjectRef(const TObject *obj) const override
Return address of pointer to obj.
TFunction * Get(DeclId_t id)
Return (after creating it if necessary) the TMethod or TFunction describing the function correspondin...
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
Int_t IndexOf(const TObject *obj) const override
Return index of object in collection.
void Delete(Option_t *option="") override
Delete all TFunction object files.
void Load()
Load all the functions known to the interpreter for the scope 'fClass' into this collection.
TListOfFunctions(const TListOfFunctions &)=delete
TObject * Remove(TObject *obj) override
Remove object from the list.
TObject * After(const TObject *obj) const override
Returns the object after object obj.
TObject * Last() const override
Return the last object in the list. Returns 0 when list is empty.
TList * GetListForObjectNonConst(const char *name)
Return the set of overloads for this name, collecting all available ones.
~TListOfFunctions()
Destructor.
void UnmapObject(TObject *obj)
Remove a pair<id, object> from the map of functions and their ids.
TFunction * Find(DeclId_t id) const
Return the TMethod or TFunction describing the function corresponding to the Decl 'id'.
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.
virtual TList * GetListForObject(const char *name) const
Return the set of overloads for this name, collecting all available ones.
TDictionary::DeclId_t DeclId_t
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
TObjLink * FirstLink() const override
void Unload()
Mark 'all func' as being unloaded.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
TObject * Before(const TObject *obj) const override
Returns the object before object obj.
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
void AddLast(TObject *obj) override
Add object at the end of the list.
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
TIterator * MakeIterator(Bool_t dir=kIterForward) const override
Return a list iterator.
Int_t GetSize() const override
Return the capacity of the collection, i.e.
TObjLink * LastLink() const override
ULong64_t fLastLoadMarker
Int_t GetLast() const override
Returns index of last object in collection.
TObject * FindObject(const TObject *obj) const override
Find object using its hash value (returned by its Hash() member).
TObject * After(const TObject *obj) const override
Returns the object after object obj.
virtual TObjLink * LastLink() const
TObject * Before(const TObject *obj) const override
Returns the object before object obj.
void Add(TObject *obj) override
TObject * Last() const override
Return the last object in the list. Returns 0 when list is empty.
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
virtual TObjLink * FirstLink() const
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
Each ROOT class (see TClass) has a linked list of methods.
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Mother of all ROOT objects.
virtual void Clear(Option_t *="")
virtual const char * GetName() const
Returns name of object.
virtual Int_t IndexOf(const TObject *obj) const
Return index of object in collection.
virtual Int_t GetLast() const
Returns index of last object in collection.