18 #include <forward_list>
38 fIds =
new TExMap(listSize);
199 #if defined(R__MUST_REVISIT)
200 # if R__MUST_REVISIT(6,4)
201 "This special case can be removed once PCMs are available."
299 if (found)
return obj;
352 #if defined(R__MUST_REVISIT)
353 # if R__MUST_REVISIT(6,4)
354 "This special case can be removed once PCMs are available."
358 std::forward_list<TEnum*> respownedEnums;
363 respownedEnums.push_front(en);
367 for (
auto en : respownedEnums)
368 fUnloaded->Remove(en);
virtual void Clear(Option_t *="")
void MapObject(TObject *obj)
Add pair to the map of functions and their ids.
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.
The TEnum class implements the enum type.
void Remove(ULong64_t hash, Long64_t key)
Remove entry with specified key from the TExMap.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
void AddLast(TObject *obj)
Add object at the end of the list.
Bool_t fIsLoaded
Holder of TEnum for unloaded Enums.
THashList * fUnloaded
Map from DeclId_t to TEnum*.
TEnum * Find(DeclId_t id) const
Return the TEnum corresponding to the Decl 'id' or NULL if it does not exist.
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
TObject * FindObject(const char *name) const
Find object using its name.
R__EXTERN TVirtualMutex * gInterpreterMutex
ULong64_t fLastLoadMarker
Mark whether Load was executed.
TEnum * Get(DeclId_t id, const char *name)
Return (after creating it if necessary) the TEnum describing the enum corresponding to the Decl 'id'...
Long_t Property() const
Set TObject::fBits and fStreamerType to cache information about the class.
void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
void RecursiveRemove(TObject *obj)
Remove object from this collection and recursively remove the object from all other objects (and coll...
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
TExMap * fIds
Context of this list. Not owned.
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
Bool_t HasInterpreterInfoInMemory() const
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TClass * fClass
pointer to the foreign object
void AddLast(TObject *obj) override
Add object at the end of the list.
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.
void AddAt(TObject *obj, Int_t idx)
Insert object at location idx in the list.
ClassInfo_t * GetClassInfo() const
~TListOfEnums() override
Destructor.
TObject * Remove(TObject *obj)
Remove object from the list.
TObject * GetObject() const
virtual TEnum * GetObject(const char *) const
Return an object from the list of enums if and only if is has already been loaded in 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.
void UnmapObject(TObject *obj)
Remove a pair from the map of functions and their ids.
virtual TObjLink * FirstLink() const
TObject * Remove(TObject *obj) override
Remove object from the list.
TDictionary::DeclId_t DeclId_t
const unsigned int listSize
void Clear(Option_t *option) override
Remove all objects from the list.
Wrapper around a TObject so it can be stored in a TList.
unsigned long long ULong64_t
#define R__LOCKGUARD(mutex)
void Delete(Option_t *option="") override
Delete all TDataMember object files.
void AddBefore(const TObject *before, TObject *obj)
Insert object before object before in the list.
void Load()
Load all the DataMembers known to the interpreter for the scope 'fClass' into this collection...
Mother of all ROOT objects.
void Unload()
Mark 'all func' as being unloaded.
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
virtual void Add(TObject *obj)
ClassImp(TListOfEnums) TListOfEnums
Constructor.
This class stores a (key,value) pair using an external hash.
DeclId_t GetDeclId() const
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.