library: libCore #include "TArray.h"

# TArray

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

## class TArray

| Inheritance Chart:

`TArray`

<-

`TArrayC`

<-

`TH1C` |

`TH2C` |

`TH3C` |

`TArrayD`

<-

`TH1D`

<-

`TProfile` |

`TH2D`

<-

`TProfile2D` |

`TH3D` |

[more...]

This is an abstract class, constructors will not be documented.
Look at the header to check for available constructors.

        protected:

          Bool_t BoundsOk(const char* where, Int_t at) const
          Bool_t OutOfBoundsError(const char* where, Int_t i) const

        public:

                  virtual ~TArray()
           static TClass* Class()
                    Int_t GetSize() const
          virtual TClass* IsA() const
                  TArray& operator=(const TArray& rhs)
           static TArray* ReadArray(TBuffer& b, const TClass* clReq)
             virtual void Set(Int_t n)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)
              static void WriteArray(TBuffer& b, const TArray* a)

### Data Members

        public:

          Int_t fN  Number of array elements

## Class Description

     TArray

     Abstract array base class. Used by TArrayC, TArrayS, TArrayI,
     TArrayL, TArrayF and TArrayD.
     Data member is public for historical reasons.

Bool_t OutOfBoundsError(const char *where, Int_t i) const

     Generate an out-of-bounds error. Always returns false.

TArray* ReadArray(TBuffer &b, const TClass *clReq)

     Read TArray object from buffer. Simplified version of
     TBuffer::ReadObject (does not keep track of multiple
     references to same array).

void WriteArray(TBuffer &b, const TArray *a)

     Write TArray object to buffer. Simplified version of
     TBuffer::WriteObject (does not keep track of multiple
     references to the same array).

### Inline Functions

                   void ~TArray()
                 Bool_t BoundsOk(const char* where, Int_t at) const
                TArray& operator=(const TArray& rhs)
                  Int_t GetSize() const
                   void Set(Int_t n)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Author: Fons Rademakers 21/10/97
Last update: root/cont:$Name: $:$Id: TArray.cxx,v 1.6 2002/05/09 20:22:00 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *