rooInheritance


class description - source file - inheritance tree

class rooInheritance : public roo


    public:
rooInheritance rooInheritance() rooInheritance rooInheritance(void* imp) rooInheritance rooInheritance(rooInheritance&) virtual void ~rooInheritance() Int_t access_kind() const TClass* Class() const rooClass& derives_from() const const rooClass& inherits_to() const Bool_t is_virtual() const virtual TClass* IsA() const size_t operator size_t() const Int_t position() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

protected:
rooClass* fDerivesFrom parent or base class rooClass* fInheritsTo child or derived class

Class Description

 rooInheritance corresponds to d_Inheritance Class

 The class rooInheritance represents descriptors for inheritance connections
 between classes. An instance of rooInheritance is called an inheritance
 descriptor.
______________________________________________________________________________

             About Inheritance Descriptors

 An inheritance descriptor provides information about a particular connection
 in an inheritance graph between one particular parent or base class and one
 child or derived class.
______________________________________________________________________________

             Obtaining an Inheritance Descriptor

 You should never instantiate this class directly. Instead, you can obtain
 an inheritance descriptor by iterating through the parent classes or the
 child classes of a class.

    Call the base_class_list_begin() member function of a class descriptor to
    get an iterator that finds all inheritance connections in which the
    described class is the child class.

    Call the sub_class_list_begin() member function of a class descriptor to
    get an iterator that finds all inheritance connections in which the
    described class is the parent class.

______________________________________________________________________________

             Getting Information About the Inheritance Connection

 Member functions return information about the described inheritance
 connection:

    The access kind (public, private, or protected)

    The parent class from which the inheriting class is derived

    The child class that inherits from the parent class

    The layout position of the parent class data within the storage of a
    persistent instance of the child class


rooInheritance()
 default ctor. internal use only

~rooInheritance()
 internal use only

Int_t access_kind() const
 Returns the access kind (or visibility) of the parent base class as
 specified in the declaration of the child or derived class; one of the
 following:

 kooPUBLIC indicates a public base class.
 kooPROTECTED indicates a protected base class.
 kooPRIVATE indicates a private base class.

Bool_t is_virtual() const
 Tests whether the described inheritance connection is virtual.

 Returns: kFALSE

  Objectivity/C++ does not support virtual inheritance, so this test
 fails for all inheritance connections.

Int_t position() const
 Returns the zero-based layout position of data for the parent class
 within the storage of a persistent instance of the child class.



Inline Functions


         rooInheritance rooInheritance(void* imp)
        const rooClass& derives_from() const
        const rooClass& inherits_to() const
                 size_t operator size_t() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
         rooInheritance rooInheritance(rooInheritance&)


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.