rooAttributePlusInheritedItr


class description - source file - inheritance tree

class rooAttributePlusInheritedItr


    public:
rooAttributePlusInheritedItr rooAttributePlusInheritedItr() rooAttributePlusInheritedItr rooAttributePlusInheritedItr(void* imp) rooAttributePlusInheritedItr rooAttributePlusInheritedItr(const rooAttributePlusInheritedItr&) virtual void ~rooAttributePlusInheritedItr() TClass* Class() rooAttribute* elementP() void* getImp() const virtual TClass* IsA() const Bool_t operator!=(const rooAttributePlusInheritedItr&) const const rooAttribute& operator*() const rooAttributePlusInheritedItr& operator++() rooAttributePlusInheritedItr& operator++(int) rooAttributePlusInheritedItr& operator=(const rooAttributePlusInheritedItr&) Bool_t operator==(const rooAttributePlusInheritedItr&) const void setImp(void* imp) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
void* fImp rooAttribute* fObj

Class Description

 rooAttributePlusInheritedItr corresponds to attribute_plus_inherited_iterator class

 The class rooAttributePlusInheritedItr represents iterators for
 attributes of a class. An instance of this class is called an
 inherited-attribute iterator.

______________________________________________________________________________

          About Inherited-Attribute Iterators

 An inherited-attribute iterator steps through all attributes of a particular
 class, including relationships and embedded-class attributes corresponding
 to base classes. It finds all attributes of the class, whether they are
 defined in that class or inherited. That collection of attributes is called
 the iterator's iteration set; during iteration, the inherited-attribute
 iterator keeps track of its position within its iteration set. The element
 at the current position is called the iterator's current element. The
 inherited-attribute iterator allows you to step through the iteration
 set, obtaining a descriptor for the current element at each step.

______________________________________________________________________________

          Obtaining an Inherited-Attribute Iterator

 You should not instantiate this class directly. Instead, you call the
 attributes_plus_inherited_begin() member function of a class descriptor to
 get an inherited-attribute iterator for all attributes of the described
 class. You can test for that iterator's termination condition by comparing
 it with the inherited-attribute iterator returned by the same class
 descriptor's attributes_plus_inherited_begin() member function.

______________________________________________________________________________

          Including Attributes of Internal Base Classes

 By default, an inherited-attribute 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 attributes of internal attribute classes.

 If desired, you can override this default behavior, allowing access to
 attributes of ancestor classes at all levels. To do so, you call the
 rooClass::enable_root_descent() static member function.

rooAttributePlusInheritedItr()
default ctor., internal use only

~rooAttributePlusInheritedItr()
 destructor, internal use only

rooAttribute* elementP()
 Returns the pointer to current element for this inherited-attribute
 iterator



Inline Functions


         rooAttributePlusInheritedItr rooAttributePlusInheritedItr(void* imp)
                                 void setImp(void* imp)
                                void* getImp() const
         rooAttributePlusInheritedItr rooAttributePlusInheritedItr(const rooAttributePlusInheritedItr&)
        rooAttributePlusInheritedItr& operator=(const rooAttributePlusInheritedItr&)
                               Bool_t operator==(const rooAttributePlusInheritedItr&) const
                               Bool_t operator!=(const rooAttributePlusInheritedItr&) const
        rooAttributePlusInheritedItr& operator++()
        rooAttributePlusInheritedItr& operator++(int)
                  const rooAttribute& 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.