38 while ((base = (
TBaseClass*) nextBaseClass())) {
39 if (!base->GetClassPointer())
continue;
40 if (!(base->Property() &
kIsPublic))
continue;
42 bases.
Add(base->GetClassPointer());
71 ::Error(
"TViewPubFunctions::Clear",
"Operation not allowed on a view.");
80 ::Error(
"TViewPubFunctions::Delete",
"Operation not allowed on a view.");
90 if (name==0 || name[0]==0)
return 0;
98 && strncmp(p->GetName(),
name,strlen(p->GetName())) == 0)
114 if (result)
return result;
133 ::Error(
"TViewPubFunctions::AddFirst",
"Operation not allowed on a view.");
142 ::Error(
"TViewPubFunctions::AddFirst",
"Operation not allowed on a view.");
151 ::Error(
"TViewPubFunctions::AddLast",
"Operation not allowed on a view.");
160 ::Error(
"TViewPubFunctions::AddLast",
"Operation not allowed on a view.");
169 ::Error(
"TViewPubFunctions::AddAt",
"Operation not allowed on a view.");
178 ::Error(
"TViewPubFunctions::RemAddLastove",
"Operation not allowed on a view.");
187 ::Error(
"TViewPubFunctions::AddAfter",
"Operation not allowed on a view.");
196 ::Error(
"TViewPubFunctions::AddBefore",
"Operation not allowed on a view.");
205 ::Error(
"TViewPubFunctions::AddBefore",
"Operation not allowed on a view.");
219 if (i == idx)
return p;
233 ::Error(
"TViewPubFunctions::After",
"Operation not allowed on a view.");
243 ::Error(
"TViewPubFunctions::Before",
"Operation not allowed on a view.");
253 ::Error(
"TViewPubFunctions::First",
"Operation not allowed on a view.");
263 ::Error(
"TViewPubFunctions::FirstLink",
"Operation not allowed on a view.");
273 ::Error(
"TViewPubFunctions::GetObjectRef",
"Operation not yet allowed on a view.");
302 cl->GetListOfMethods(
kTRUE);
312 ::Error(
"TViewPubFunctions::Last",
"Operation not allowed on a view.");
322 ::Error(
"TViewPubFunctions::LastLink",
"Operation not allowed on a view.");
332 ::Error(
"TViewPubFunctions::RecursiveRemove",
"Operation not allowed on a view.");
341 ::Error(
"TViewPubFunctions::Remove",
"Operation not allowed on a view.");
351 ::Error(
"TViewPubFunctions::Remove",
"Operation not allowed on a view.");
366 : fView(l),fClassIter(l->GetListOfClasses(),dir), fFuncIter((
TCollection *)0),
367 fStarted(
kFALSE), fDirection(dir)
376 fClassIter(iter.fClassIter), fFuncIter(iter.fFuncIter),
377 fStarted(iter.fStarted), fDirection(iter.fDirection)
387 if (
this != &rhs && iter) {
417 if (!
fView)
return 0;
Iterator of over the view's content.
TList * GetListOfBases()
Return list containing the TBaseClass(es) of a class.
TObject * FindObject(const char *name) const
Find an object in this list using its name.
TViewPubFunctions(const TViewPubFunctions &)
void Clear(Option_t *option="")
Clear is not allowed in this class.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
static void AddBasesClasses(TList &bases, TClass *cl)
loop over all base classes and add them to the container.
TIterator & operator=(const TIterator &rhs)
Overridden assignment operator.
void AddLast(TObject *obj)
AddLast is not allowed in this class.
void AddAt(TObject *obj, Int_t idx)
AddAt is not allowed in this class.
virtual TObject * Before(const TObject *obj) const
Before is not allowed in this class.
virtual TIterator * MakeIterator(Bool_t dir=kIterForward) const
Return a list iterator.
Iterator abstract base class.
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...
TObject * Next()
Return next object in the list. Returns 0 when no more objects in list.
virtual ~TViewPubFunctions()
Default destructor.
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
std::map< std::string, std::string >::const_iterator iter
virtual TObject ** GetObjectRef(const TObject *obj) const
GetObjectRef is not allowed in this class.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual TObject * First() const
First 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.
Bool_t operator!=(const TIterator &aIter) const
This operator compares two TIterator objects.
virtual TObject * After(const TObject *obj) const
After is not allowed in this class.
void AddBefore(const TObject *before, TObject *obj)
AddBefore 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.
Collection abstract base class.
void AddAfter(const TObject *after, TObject *obj)
AddAfter is not allowed in this class.
virtual TObject * Last() const
Last is not allowed in this class.
The ROOT global object gROOT contains a list of all defined classes.
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
TObject * Remove(TObject *obj)
Remove is not allowed in this class.
Each class (see TClass) has a linked list of its base class(es).
View implementing the TList interface and giving access all the TFunction describing public methods i...
void Load()
Load all the functions known to the interpreter for the scope 'fClass' and all its bases classes...
virtual TObjLink * FirstLink() const
FirstLink is not allowed in this class.
Wrapper around a TObject so it can be stored in a TList.
double func(double *x, double *p)
Mother of all ROOT objects.
virtual TObjLink * LastLink() const
LastLink is not allowed in this class.
Global functions class (global functions are obtained from CINT).
virtual void Add(TObject *obj)
void AddFirst(TObject *obj)
AddFirst is not allowed in this class.
virtual Int_t GetSize() const
Return the total number of public methods (currently loaded in the list of functions) in this class a...
TList * GetListOfMethods(Bool_t load=kTRUE)
Return list containing the TMethods of a class.
void Reset()
Reset list iterator.