TArray


class description - source file - inheritance tree

class TArray


    protected:
Bool_t BoundsOk(const char* where, Int_t at) const Bool_t OutOfBoundsError(const char* where, Int_t i) const public:
virtual void ~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

private:
public:
Int_t fN Number of array elements


See also

TArrayC, TArrayD, TArrayF, TArrayI, TArrayL, TArrayS

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


             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)
               void ~TArray()


Author: Fons Rademakers 21/10/97
Last update: root/cont:$Name: $:$Id: TArray.cxx,v 1.1.1.1 2000/05/16 17:00:40 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.