33 fUnloaded(0),fLastLoadMarker(0)
202 overloads =
new TList();
206 TIter iOverload(overloads);
215 std::vector<DeclId_t> overloadDecls;
217 gInterpreter->GetFunctionOverloads(ci, name, overloadDecls);
218 for (std::vector<DeclId_t>::const_iterator iD = overloadDecls.begin(),
219 eD = overloadDecls.end(); iD != eD; ++iD) {
222 overloads->
Add(over);
332 if (found)
return obj;
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 UnmapObject(TObject *obj)
Remove a pair<id, object> from the map of functions and their ids.
void AddLast(TObject *obj)
Add object at the end of the list.
TDictionary::DeclId_t DeclId_t
Dictionary for function template This class describes one single function template.
TObject * FindObject(const char *name) const
Find object using its name.
A collection of TFunction objects designed for fast access given a DeclId_t and for keep track of TFu...
R__EXTERN TVirtualMutex * gInterpreterMutex
virtual TObject * FindObject(const char *name) const
Specialize FindObject to do search for the a function just by name or create it if its not already in...
void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
TObject * Remove(TObject *obj)
Remove object from the list.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
virtual bool Update(FuncTempInfo_t *info)
Update the TFunctionTemplate to reflect the new info.
void MapObject(TObject *obj)
Add pair<id, object> to the map of functions and their ids.
virtual TList * GetListForObject(const char *name) const
Return the set of overloads for this name, collecting all available ones.
TList * GetListForObjectNonConst(const char *name)
Return the set of overloads for this name, collecting all available ones.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
virtual void Clear(Option_t *option)
Remove all objects from the list.
TClass * fClass
pointer to the foreign object
virtual void Delete(Option_t *option="")
Delete all TFunction object files.
void AddLast(TObject *obj)
Add object at the end of the list.
void Clear(Option_t *option="")
Remove all objects from the list.
TFunctionTemplate * Get(DeclId_t id)
Return (after creating it if necessary) the TMethod or TFunction describing the function correspondin...
Long64_t GetValue(ULong64_t hash, Long64_t key)
Return the value belonging to specified key and hash value.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
ULong64_t fLastLoadMarker
ClassInfo_t * GetClassInfo() const
TObject * Remove(TObject *obj)
Remove object from the list.
TObject * GetObject() const
static void update(gsl_integration_workspace *workspace, double a1, double b1, double area1, double error1, double a2, double b2, double area2, double error2)
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 TObjLink * FirstLink() const
void SetName(const char *name)
DeclId_t GetDeclId() const
void AddFirst(TObject *obj)
Add object at the beginning of the list.
virtual const char * GetName() const
Returns name of object.
Wrapper around a TObject so it can be stored in a TList.
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.
void Load()
Load all the functions known to the interpreter for the scope 'fClass' into this collection.
~TListOfFunctionTemplates()
Destructor.
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
virtual void Add(TObject *obj)
TDictionary::DeclId_t DeclId_t
TObject * FindObject(const char *name) const
Find object using its name.
ClassImp(TListOfFunctionTemplates) TListOfFunctionTemplates
Constructor.
void Unload()
Mark 'all func' as being unloaded.
void AddAfter(const TObject *after, TObject *obj)
Insert object after object after in the list.
This class stores a (key,value) pair using an external hash.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.