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() TClass* Class() Int_t GetSize() const virtual TClass* IsA() const TArray& operator=(const TArray& rhs) 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 WriteArray(TBuffer& b, const TArray* a)

Data Members

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


Author: Fons Rademakers 21/10/97
Last update: 2.23/01 30/08/99 00.14.30 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.