library: libCore #include "TStreamerElement.h"

# TStreamerBase

class description - source file - inheritance tree (.ps)

## class TStreamerBase : public TStreamerElement

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TStreamerElement`

<-

`TStreamerBase`

        public:

                              TStreamerBase()
                              TStreamerBase(const char* name, const char* title, Int_t offset)
                              TStreamerBase(const TStreamerBase&)
                      virtual ~TStreamerBase()
               static TClass* Class()
                        Int_t GetBaseVersion()
              virtual TClass* GetClassPointer() const
          virtual const char* GetInclude() const
              virtual ULong_t GetMethod() const
                virtual Int_t GetSize() const
                 virtual void Init(TObject* obj = 0)
              virtual TClass* IsA() const
               virtual Bool_t IsBase() const
                 virtual void ls(Option_t* option) const
               TStreamerBase& operator=(const TStreamerBase&)
                        Int_t ReadBuffer(TBuffer& b, char* pointer)
                         void SetBaseVersion(Int_t v)
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)
                 virtual void Update(const TClass* oldClass, TClass* newClass)
                        Int_t WriteBuffer(TBuffer& b, char* pointer)

### Data Members

        protected:

            Int_t fBaseVersion  version number of the base class
          TClass* fBaseClass    !pointer to base class

## Class Description

TStreamerBase()

     Default ctor.

TStreamerBase(const char *name, const char *title, Int_t offset) : TStreamerElement(name,title,offset,TStreamerInfo::kBase,"BASE")

     Create a TStreamerBase object.

~TStreamerBase()

     TStreamerBase dtor

TClass* GetClassPointer() const

    returns a pointer to the TClass of this element

Int_t GetSize() const

    returns size of baseclass in bytes

void Init(TObject *)

Bool_t IsBase() const

const char* GetInclude() const

void ls(Option_t *) const

Int_t ReadBuffer (TBuffer &b, char *pointer)

void Streamer(TBuffer &R__b)

     Stream an object of class TStreamerBase.

void Update(const TClass *oldClass, TClass *newClass)

    function called by the TClass constructor when replacing an emulated class
    by the real class

Int_t WriteBuffer (TBuffer &b, char *pointer)

### Inline Functions

                     Int_t GetBaseVersion()
                   ULong_t GetMethod() const
                      void SetBaseVersion(Int_t v)
                   TClass* Class()
                   TClass* IsA() const
                      void ShowMembers(TMemberInspector& insp, char* parent)
                      void StreamerNVirtual(TBuffer& b)
             TStreamerBase TStreamerBase(const TStreamerBase&)
            TStreamerBase& operator=(const TStreamerBase&)

Author: Rene Brun 12/10/2000
Last update: root/meta:$Name: $:$Id: TStreamerElement.cxx,v 1.68 2004/06/09 06:10:21 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *