38 while ((base = (
TBaseClass*) nextBaseClass())) {
39 if (!base->GetClassPointer())
continue;
40 if (!(base->Property() &
kIsPublic))
continue;
42 bases.
Add(base->GetClassPointer());
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.");
367 fStarted(
kFALSE), fDirection(dir)
387 if (
this != &rhs && iter) {
417 if (!
fView)
return 0;
virtual Int_t GetSize() const
Return the total number of public data members(currently loaded in the list of DataMembers) in this c...
TList * GetListOfBases()
Return list containing the TBaseClass(es) of a class.
void AddLast(TObject *obj)
AddLast is not allowed in this class.
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
virtual ~TViewPubDataMembers()
Default destructor.
virtual TObject * Before(const TObject *obj) const
Before is not allowed in this class.
static void AddBasesClasses(TList &bases, TClass *cl)
loop over all base classes and add them to the container.
TList * GetListOfDataMembers(Bool_t load=kTRUE)
Return list containing the TDataMembers of a class.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
TViewPubDataMembers(const TViewPubDataMembers &)
Iterator abstract base class.
virtual TObject * After(const TObject *obj) const
After is not allowed in this class.
virtual TObject * First() const
First is not allowed in this class.
virtual TIterator * MakeIterator(Bool_t dir=kIterForward) const
Return a list iterator.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TObject * Remove(TObject *obj)
Remove is not allowed in this class.
void AddBefore(const TObject *before, TObject *obj)
AddBefore is not allowed in this class.
void AddFirst(TObject *obj)
AddFirst is not allowed in this class.
Iterator of over the view's content.
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...
virtual TObject * Last() const
Last is not allowed in this class.
virtual TObjLink * FirstLink() const
FirstLink is not allowed in this class.
virtual const TList * GetListOfClasses() const
View implementing the TList interface and giving access all the TDictionary describing public data me...
void RecursiveRemove(TObject *obj)
RecursiveRemove is not allowed in this class.
This class defines an abstract interface that must be implemented by all classes that contain diction...
void Delete(Option_t *option="")
Delete is not allowed in this class.
Collection abstract base class.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
The ROOT global object gROOT contains a list of all defined classes.
Bool_t operator!=(const TIterator &aIter) const
This operator compares two TIterator objects.
virtual TObject ** GetObjectRef(const TObject *obj) const
GetObjectRef is not allowed in this class.
void Reset()
Reset list iterator.
TViewPubDataMembersIter()
Each class (see TClass) has a linked list of its base class(es).
TObject * FindObject(const char *name) const
Find an object in this list using its name.
void AddAfter(const TObject *after, TObject *obj)
AddAfter is not allowed in this class.
virtual TObjLink * LastLink() const
LastLink is not allowed in this class.
Wrapper around a TObject so it can be stored in a TList.
void AddAt(TObject *obj, Int_t idx)
AddAt is not allowed in this class.
virtual Long_t Property() const =0
Mother of all ROOT objects.
void Clear(Option_t *option="")
Clear is not allowed in this class.
virtual void Add(TObject *obj)
void Load()
Load all the DataMembers known to the interpreter for the scope 'fClass' and all its bases classes...
TIterator & operator=(const TIterator &rhs)
Overridden assignment operator.