18 #include <forward_list> The TEnum class implements the enum type.
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
TDictionary::DeclId_t DeclId_t
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
R__EXTERN TVirtualMutex * gInterpreterMutex
void AddAfter(const TObject *after, TObject *obj) override
Insert object after object after in the list.
TEnum * Get(DeclId_t id, const char *name)
Return (after creating it if necessary) the TEnum describing the enum corresponding to the Decl 'id'...
TObject * FindObject(const TObject *obj) const override
Find object using its hash value (returned by its Hash() member).
virtual TObject * Last() const
Return the last object in the list. Returns 0 when list is empty.
void AddFirst(TObject *obj) override
Add object at the beginning of the list.
TObject * Last() const override
Return the last object in the list. Returns 0 when list is empty.
Int_t IndexOf(const TObject *obj) const override
Return index of object in collection.
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
TObject * FindObject(const char *name) const
Find object using its name.
TObject * Before(const TObject *obj) const override
Returns the object before object obj.
void Clear(Option_t *option) override
Remove all objects from the list.
~TListOfEnumsWithLock() override
Destructor.
Iterator abstract base class.
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
TListOfEnumsWithLock(const TListOfEnumsWithLock &)=delete
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
TClass * GetClass() const
TEnum * GetObject(const char *) const override
Return an object from the list of enums if and only if is has already been loaded in the list...
TObjLink * LastLink() const override
void AddBefore(const TObject *before, TObject *obj) override
Insert object before object before in the list.
void AddLast(TObject *obj) override
Add object at the end of the list.
void AddLast(TObject *obj) override
Add object at the end of the list.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
Iterator for TListOfEnumsWithLock.
Int_t GetLast() const override
Returns index of last object in collection.
virtual TObject * Before(const TObject *obj) const
Returns the object before object obj.
TObjLink * FirstLink() const override
TObject * After(const TObject *obj) const override
Returns the object after object obj.
The ROOT global object gROOT contains a list of all defined classes.
void RecursiveRemove(TObject *obj) override
Remove object from this collection and recursively remove the object from all other objects (and coll...
virtual TObject * After(const TObject *obj) const
Returns the object after object obj.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
TObject * Remove(TObject *obj) override
Remove object from the list.
virtual TObjLink * FirstLink() const
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
TObject * First() const override
Return the first object in the list. Returns 0 when list is empty.
void Clear(Option_t *option) override
Remove all objects from the list.
Wrapper around a TObject so it can be stored in a TList.
#define R__LOCKGUARD(mutex)
void Delete(Option_t *option="") override
Delete all TDataMember object files.
Mother of all ROOT objects.
Int_t GetSize() const override
TListOfEnumsWithLockIter(const TListOfEnumsWithLock *l, Bool_t dir=kIterForward)
TObject ** GetObjectRef(const TObject *obj) const override
Return address of pointer to obj.
A collection of TEnum objects designed for fast access given a DeclId_t and for keep track of TEnum t...
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.
virtual Int_t GetLast() const
Returns index of last object in collection.
virtual TObjLink * LastLink() const
TIterator * MakeIterator(Bool_t dir=kIterForward) const override
Return a list iterator.
TObject * Remove(TObject *obj) override
Remove object from the list.
void Delete(Option_t *option="") override
Delete all TDataMember object files.
virtual Int_t GetSize() const
virtual TObject ** GetObjectRef(const TObject *obj) const
Return address of pointer to obj.
TObject * At(Int_t idx) const override
Returns the object at position idx. Returns 0 if idx is out of range.
virtual Int_t IndexOf(const TObject *obj) const
Return index of object in collection.
void AddAt(TObject *obj, Int_t idx) override
Insert object at location idx in the list.