12 #ifndef ROOT_TListOfEnums 13 #define ROOT_TListOfEnums 95 #endif // ROOT_TListOfEnums void MapObject(TObject *obj)
Add pair<id, object> to the map of functions and their ids.
The TEnum class implements the enum type.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
ROOT top level object description.
Bool_t fIsLoaded
Holder of TEnum for unloaded Enums.
TListOfEnums & operator=(const TListOfEnums &)=delete
THashList * fUnloaded
Map from DeclId_t to TEnum*.
void SetClass(TClass *cl)
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
Persistent version of a TClass.
TEnum * Get(DeclId_t id, const char *name)
Return (after creating it if necessary) the TEnum describing the enum corresponding to the Decl 'id'...
ULong64_t fLastLoadMarker
Mark whether Load was executed.
ClassDefOverride(TListOfEnums, 2)
TObject * FindObject(const char *name) const
Find object using its name.
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
TListOfEnums(const TListOfEnums &)=delete
Represent interpreter state when we last did a full load.
TExMap * fIds
Context of this list. Not owned.
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TEnum * FindUnloaded(const char *name)
TClass * GetClass() const
void AddLast(TObject *obj) override
Add object at the end of the list.
~TListOfEnums() override
Destructor.
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...
The ROOT global object gROOT contains a list of all defined classes.
void UnmapObject(TObject *obj)
Remove a pair<id, object> from the map of functions and their ids.
TObject * Remove(TObject *obj) override
Remove object from the list.
TDictionary::DeclId_t DeclId_t
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
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
void Delete(Option_t *option="") override
Delete all TDataMember object files.
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...
TEnum * Find(DeclId_t id) const
Return the TEnum corresponding to the Decl 'id' or NULL if it does not exist.
This class stores a (key,value) pair using an external hash.
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.