library: libCore #include "TStreamerElement.h"

# TStreamerBasicPointer

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

## class TStreamerBasicPointer : public TStreamerElement

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TStreamerElement`

<-

`TStreamerBasicPointer`

        public:

                                 TStreamerBasicPointer()
                                 TStreamerBasicPointer(const char* name, const char* title, Int_t offset, Int_t dtype, const char* countName, const char* countClass, Int_t version, const char* typeName)
                                 TStreamerBasicPointer(const TStreamerBasicPointer&)
                         virtual ~TStreamerBasicPointer()
                  static TClass* Class()
                     const char* GetCountClass() const
                     const char* GetCountName() const
                           Int_t GetCountVersion() const
                 virtual ULong_t GetMethod() const
                   virtual Int_t GetSize() const
                    virtual void Init(TObject* obj = 0)
                 virtual TClass* IsA() const
                  virtual Bool_t IsaPointer() const
          TStreamerBasicPointer& operator=(const TStreamerBasicPointer&)
                    virtual void SetArrayDim(Int_t dim)
                            void SetCountClass(const char* clname)
                            void SetCountName(const char* name)
                            void SetCountVersion(Int_t count)
                    virtual void ShowMembers(TMemberInspector& insp, char* parent)
                    virtual void Streamer(TBuffer& b)
                            void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                        Int_t fCountVersion  version number of the class with the counter
                      TString fCountName     name of data member holding the array count
                      TString fCountClass    name of the class with the counter
          TStreamerBasicType* fCounter       !pointer to basic type counter

## Class Description

TStreamerBasicPointer() : fCounter(0)

     Default ctor.

TStreamerBasicPointer(const char *name, const char *title, Int_t offset, Int_t dtype, const char *countName, const char *countClass, Int_t countVersion, const char *typeName) : TStreamerElement(name,title,offset,dtype,typeName)

     Create a TStreamerBasicPointer object.

~TStreamerBasicPointer()

     TStreamerBasicPointer dtor.

ULong_t GetMethod() const

     return offset of counter

Int_t GetSize() const

    returns size of basicpointer in bytes

void Init(TObject *)

void SetArrayDim(Int_t dim)

     Set number of array dimensions.

void Streamer(TBuffer &R__b)

     Stream an object of class TStreamerBasicPointer.

### Inline Functions

                       const char* GetCountClass() const
                       const char* GetCountName() const
                             Int_t GetCountVersion() const
                            Bool_t IsaPointer() const
                              void SetCountClass(const char* clname)
                              void SetCountName(const char* name)
                              void SetCountVersion(Int_t count)
                           TClass* Class()
                           TClass* IsA() const
                              void ShowMembers(TMemberInspector& insp, char* parent)
                              void StreamerNVirtual(TBuffer& b)
             TStreamerBasicPointer TStreamerBasicPointer(const TStreamerBasicPointer&)
            TStreamerBasicPointer& operator=(const TStreamerBasicPointer&)

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