|
ROOT
Reference Guide |
|
Go to the documentation of this file.
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),
367 fStarted(
kFALSE), fDirection(dir)
376 fClassIter(iter.fClassIter), fIter(iter.fIter),
377 fStarted(iter.fStarted), fDirection(iter.fDirection)
387 if (
this != &rhs && iter) {
417 if (!
fView)
return 0;
TIterator & operator=(const TIterator &rhs)
Overridden assignment operator.
void Clear(Option_t *option="")
Clear is not allowed in this class.
void AddAfter(const TObject *after, TObject *obj)
AddAfter is not allowed in this class.
TViewPubDataMembers(const TViewPubDataMembers &)=delete
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
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 void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual TObject ** GetObjectRef(const TObject *obj) const
GetObjectRef is not allowed in this class.
virtual TObjLink * FirstLink() const
FirstLink is not allowed in this class.
Each class (see TClass) has a linked list of its base class(es).
void AddAt(TObject *obj, Int_t idx)
AddAt is not allowed in this class.
void AddLast(TObject *obj)
AddLast is not allowed in this class.
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
static void AddBasesClasses(TList &bases, TClass *cl)
loop over all base classes and add them to the container.
void AddBefore(const TObject *before, TObject *obj)
AddBefore is not allowed in this class.
TClass * GetClassPointer(Bool_t load=kTRUE)
Get pointer to the base class TClass.
virtual Int_t GetSize() const
Return the total number of public data members(currently loaded in the list of DataMembers) in this c...
Iterator abstract base class.
void Load()
Load all the DataMembers known to the interpreter for the scope 'fClass' and all its bases classes.
virtual TObjLink * LastLink() const
LastLink is not allowed in this class.
virtual TObject * Last() const
Last is not allowed in this class.
void Delete(Option_t *option="")
Delete is not allowed in this class.
TViewPubDataMembersIter()
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TList * GetListOfBases()
Return list containing the TBaseClass(es) of a class.
virtual ~TViewPubDataMembers()
Default destructor.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
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...
Bool_t operator!=(const TIterator &aIter) const
This operator compares two TIterator objects.
TObject * Remove(TObject *obj)
Remove is not allowed in this class.
void Reset()
Reset list iterator.
virtual TObject * First() const
First is not allowed in this class.
Iterator of over the view's content.
TList * GetListOfDataMembers(Bool_t load=kTRUE)
Return list containing the TDataMembers of a class.
virtual TIterator * MakeIterator(Bool_t dir=kIterForward) const
Return a list iterator.
TClass instances represent classes, structs and namespaces in the ROOT type system.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual void Add(TObject *obj)
View implementing the TList interface and giving access all the TDictionary describing public data me...
virtual TObject * Before(const TObject *obj) const
Before is not allowed in this class.
Mother of all ROOT objects.
TObject * FindObject(const char *name) const
Find an object in this list using its name.
virtual TObject * After(const TObject *obj) const
After is not allowed in this class.
Collection abstract base class.
Wrapper around a TObject so it can be stored in a TList.
virtual Long_t Property() const =0
void AddFirst(TObject *obj)
AddFirst is not allowed in this class.