library: libCore #include "TStreamerElement.h"

# TStreamerLoop

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

## class TStreamerLoop : public TStreamerElement

| Inheritance Chart:

`TObject`

<-

`TNamed`

<-

`TStreamerElement`

<-

`TStreamerLoop`

        public:

                              TStreamerLoop()
                              TStreamerLoop(const char* name, const char* title, Int_t offset, const char* countName, const char* countClass, Int_t version, const char* typeName)
                              TStreamerLoop(const TStreamerLoop&)
                      virtual ~TStreamerLoop()
               static TClass* Class()
                  const char* GetCountClass() const
                  const char* GetCountName() const
                        Int_t GetCountVersion() 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 IsaPointer() const
               TStreamerLoop& operator=(const TStreamerLoop&)
                         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

TStreamerLoop() : fCounter(0)

     Default ctor.

TStreamerLoop(const char *name, const char *title, Int_t offset, const char *countName, const char *countClass, Int_t countVersion, const char *typeName) : TStreamerElement(name,title,offset,TStreamerInfo::kStreamLoop,typeName)

     Create a TStreamerLoop object.

~TStreamerLoop()

     TStreamerLoop dtor.

ULong_t GetMethod() const

     return address of counter

Int_t GetSize() const

    returns size of counter in bytes

void Init(TObject *)

const char* GetInclude() const

void Streamer(TBuffer &R__b)

     Stream an object of class TStreamerLoop.

### 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)
             TStreamerLoop TStreamerLoop(const TStreamerLoop&)
            TStreamerLoop& operator=(const TStreamerLoop&)

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. *