38 while ((base = (
TBaseClass*) nextBaseClass())) {
71 ::Error(
"TViewPubDataMembers::Clear",
"Operation not allowed on a view.");
80 ::Error(
"TViewPubDataMembers::Delete",
"Operation not allowed on a view.");
97 if (strcmp(
name,p->GetName())==0 && (p->Property() &
kIsPublic))
114 if (result)
return result;
133 ::Error(
"TViewPubDataMembers::AddFirst",
"Operation not allowed on a view.");
142 ::Error(
"TViewPubDataMembers::AddFirst",
"Operation not allowed on a view.");
151 ::Error(
"TViewPubDataMembers::AddLast",
"Operation not allowed on a view.");
160 ::Error(
"TViewPubDataMembers::AddLast",
"Operation not allowed on a view.");
169 ::Error(
"TViewPubDataMembers::AddAt",
"Operation not allowed on a view.");
178 ::Error(
"TViewPubDataMembers::RemAddLastove",
"Operation not allowed on a view.");
187 ::Error(
"TViewPubDataMembers::AddAfter",
"Operation not allowed on a view.");
196 ::Error(
"TViewPubDataMembers::AddBefore",
"Operation not allowed on a view.");
205 ::Error(
"TViewPubDataMembers::AddBefore",
"Operation not allowed on a view.");
216 TIter content_next(cl->GetListOfDataMembers(
kFALSE));
219 if (i == idx)
return p;
233 ::Error(
"TViewPubDataMembers::After",
"Operation not allowed on a view.");
243 ::Error(
"TViewPubDataMembers::Before",
"Operation not allowed on a view.");
253 ::Error(
"TViewPubDataMembers::First",
"Operation not allowed on a view.");
263 ::Error(
"TViewPubDataMembers::FirstLink",
"Operation not allowed on a view.");
273 ::Error(
"TViewPubDataMembers::GetObjectRef",
"Operation not yet allowed on a view.");
286 TIter content_next(cl->GetListOfDataMembers(
kFALSE));
302 cl->GetListOfDataMembers(
kTRUE);
312 ::Error(
"TViewPubDataMembers::Last",
"Operation not allowed on a view.");
322 ::Error(
"TViewPubDataMembers::LastLink",
"Operation not allowed on a view.");
332 ::Error(
"TViewPubDataMembers::RecursiveRemove",
"Operation not allowed on a view.");
341 ::Error(
"TViewPubDataMembers::Remove",
"Operation not allowed on a view.");
351 ::Error(
"TViewPubDataMembers::Remove",
"Operation not allowed on a view.");
366: fView(
l),fClassIter(
l->GetListOfClasses(),dir), fIter((
TCollection *)0),
367fStarted(
kFALSE), fDirection(dir)
376fClassIter(iter.fClassIter), fIter(iter.fIter),
377fStarted(iter.fStarted), fDirection(iter.fDirection)
387 if (
this != &rhs && iter) {
417 if (!
fView)
return 0;
static void AddBasesClasses(TList &bases, TClass *cl)
loop over all base classes and add them to the container.
Each class (see TClass) has a linked list of its base class(es).
TClass * GetClassPointer(Bool_t load=kTRUE)
Get pointer to the base class TClass.
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
TClass instances represent classes, structs and namespaces in the ROOT type system.
TList * GetListOfDataMembers(Bool_t load=kTRUE)
Return list containing the TDataMembers of a class.
TList * GetListOfBases()
Return list containing the TBaseClass(es) of a class.
Collection abstract base class.
This class defines an abstract interface that must be implemented by all classes that contain diction...
virtual Long_t Property() const =0
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
const TList * GetListForObject(const char *name) const
Return the THashTable's list (bucket) in which obj can be found based on its hash; see THashTable::Ge...
Iterator abstract base class.
virtual void Add(TObject *obj)
Wrapper around a TObject so it can be stored in a TList.
Mother of all ROOT objects.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Iterator of over the view's content.
TIterator & operator=(const TIterator &rhs)
Overridden assignment operator.
void Reset()
Reset list iterator.
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
Bool_t operator!=(const TIterator &aIter) const
This operator compares two TIterator objects.
TViewPubDataMembersIter()
View implementing the TList interface and giving access all the TDictionary describing public data me...
void AddBefore(const TObject *before, TObject *obj)
AddBefore is not allowed in this class.
virtual TObject ** GetObjectRef(const TObject *obj) const
GetObjectRef is not allowed in this class.
void Load()
Load all the DataMembers known to the interpreter for the scope 'fClass' and all its bases classes.
virtual TObject * After(const TObject *obj) const
After is not allowed in this class.
virtual TObject * Last() const
Last is not allowed in this class.
TObject * Remove(TObject *obj)
Remove is not allowed in this class.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
void AddLast(TObject *obj)
AddLast is not allowed in this class.
virtual Int_t GetSize() const
Return the total number of public data members(currently loaded in the list of DataMembers) in this c...
TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual TObjLink * FirstLink() const
FirstLink is not allowed in this class.
TViewPubDataMembers(const TViewPubDataMembers &)=delete
virtual TObject * First() const
First is not allowed in this class.
void AddAt(TObject *obj, Int_t idx)
AddAt is not allowed in this class.
virtual TObjLink * LastLink() const
LastLink is not allowed in this class.
virtual TIterator * MakeIterator(Bool_t dir=kIterForward) const
Return a list iterator.
virtual TObject * Before(const TObject *obj) const
Before is not allowed in this class.
void AddAfter(const TObject *after, TObject *obj)
AddAfter is not allowed in this class.
void RecursiveRemove(TObject *obj)
RecursiveRemove is not allowed in this class.
void Delete(Option_t *option="")
Delete is not allowed in this class.
void AddFirst(TObject *obj)
AddFirst is not allowed in this class.
void Clear(Option_t *option="")
Clear is not allowed in this class.
virtual ~TViewPubDataMembers()
Default destructor.