rooBaseClassPlusInheritedItr
class description - source file - inheritance tree
public:
rooBaseClassPlusInheritedItr rooBaseClassPlusInheritedItr()
rooBaseClassPlusInheritedItr rooBaseClassPlusInheritedItr(void* imp)
rooBaseClassPlusInheritedItr rooBaseClassPlusInheritedItr(const rooBaseClassPlusInheritedItr&)
virtual void ~rooBaseClassPlusInheritedItr()
TClass* Class()
rooClass* elementP()
void* getImp() const
virtual TClass* IsA() const
Bool_t operator!=(const rooBaseClassPlusInheritedItr&) const
const rooClass& operator*() const
rooBaseClassPlusInheritedItr& operator++()
rooBaseClassPlusInheritedItr& operator++(int)
rooBaseClassPlusInheritedItr& operator=(const rooBaseClassPlusInheritedItr&)
Bool_t operator==(const rooBaseClassPlusInheritedItr&) const
void setImp(void* imp)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
protected:
void* fImp
rooClass* fObj
rooBaseClassPlusInheritedItr corresponds to base_class_plus_inherited_iterator Class
The class rooBaseClassPlusInheritedItr represents iterators for
ancestor classes of a class. An instance of this class is called a
base-class iterator.
______________________________________________________________________________
About Base_Class Iterators
A base-class iterator steps through embedded-class attributes corresponding
to all ancestor classes of a particular class. That collection of attributes
is called theiterator's iteration set; during iteration, the base-class
iterator keeps track of its position within its iteration set. The element at
the current position is called the iterator's current element. The base-class
iterator allows you to step through the iteration set, obtaining a descriptor
for the current element at each step.
______________________________________________________________________________
Obtaining a Base_Class Iterator
You should not instantiate this class directly. Instead, you call the
base_classes_plus_inherited_begin() member function of a class descriptor
to get a base-class iterator for all ancestor classes of the described class.
You can test for that iterator's termination condition by comparing it with
the base-class iterator returned by the same class descriptor's
base_classes_plus_inherited_end member function.
______________________________________________________________________________
Including Internal Base Classes
By default, a base-class iterator treats the Objectivity/C++ application
classes ooObj, ooContObj, ooDBObj, and ooFDObj as if they were root base
classes, inheriting from no other classes. Any ancestor classes of those
application classes are considered internal; as a consequence, the iteration
set does not include the internal attribute classes.
If desired, you can override this default behavior, allowing access to
ancestor classes at all levels. To do so, you call the
rooClass::enable_root_descent static member function.
rooBaseClassPlusInheritedItr()
default ctor., for internal use only
~rooBaseClassPlusInheritedItr()
destructor, for internal use only
rooClass* elementP()
Returns the pointer to current element for this base-class iterator
Inline Functions
rooBaseClassPlusInheritedItr rooBaseClassPlusInheritedItr(void* imp)
void setImp(void* imp)
void* getImp() const
rooBaseClassPlusInheritedItr rooBaseClassPlusInheritedItr(const rooBaseClassPlusInheritedItr&)
rooBaseClassPlusInheritedItr& operator=(const rooBaseClassPlusInheritedItr&)
Bool_t operator==(const rooBaseClassPlusInheritedItr&) const
Bool_t operator!=(const rooBaseClassPlusInheritedItr&) const
rooBaseClassPlusInheritedItr& operator++()
rooBaseClassPlusInheritedItr& operator++(int)
const rooClass& operator*() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Valeriy Onuchin 11/09/2000
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.