|
ROOT
Reference Guide |
|
Go to the documentation of this file.
12 #ifndef ROOT_TListOfEnums
13 #define ROOT_TListOfEnums
void UnmapObject(TObject *obj)
Remove a pair<id, object> from the map of functions and their ids.
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.
void AddLast(TObject *obj) override
Add object at the end of the list.
TListOfEnums & operator=(const TListOfEnums &)=delete
void Load()
Load all the DataMembers known to the interpreter for the scope 'fClass' into this collection.
void SetClass(TClass *cl)
TListOfEnums(const TListOfEnums &)=delete
Represent interpreter state when we last did a full load.
TEnum * Get(DeclId_t id, const char *name)
Return (after creating it if necessary) the TEnum describing the enum corresponding to the Decl 'id'.
~TListOfEnums() override
Destructor.
TEnum * FindUnloaded(const char *name)
This class defines an interface to the cling C++ interpreter.
ROOT top level object description.
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
void Unload()
Mark 'all func' as being unloaded.
void Clear(Option_t *option) override
Remove all objects from the list.
Persistent version of a TClass.
ClassDefOverride(TListOfEnums, 2)
TDictionary::DeclId_t DeclId_t
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TObject * FindObject(const char *name) const
Find object using its name.
The TEnum class implements the enum type.
TObject * Remove(TObject *obj) override
Remove object from the list.
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
unsigned long long ULong64_t
Bool_t fIsLoaded
Holder of TEnum for unloaded Enums.
TClass * GetClass() const
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Mother of all ROOT objects.
TExMap * fIds
Context of this list. Not owned.
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.
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.
ULong64_t fLastLoadMarker
Mark whether Load was executed.
Wrapper around a TObject so it can be stored in a TList.
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
void Delete(Option_t *option="") override
Delete all TDataMember object files.
void MapObject(TObject *obj)
Add pair<id, object> to the map of functions and their ids.
THashList * fUnloaded
Map from DeclId_t to TEnum*.
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.