TArrayL


class description - source file - inheritance tree

class TArrayL : public TArray


    public:
TArrayL TArrayL() TArrayL TArrayL(Int_t n) TArrayL TArrayL(Int_t n, const Long_t* array) TArrayL TArrayL(const TArrayL& array) virtual void ~TArrayL() void AddAt(Long_t c, Int_t i) void Adopt(Int_t n, Long_t* array) Long_t At(Int_t i) const static TClass* Class() void Copy(TArrayL& array) const const Long_t* GetArray() const Long_t* GetArray() Stat_t GetSum() const virtual TClass* IsA() const TArrayL& operator=(const TArrayL& rhs) Long_t& operator[](Int_t i) Long_t operator[](Int_t i) const void Reset() void Reset(Long_t val) virtual void Set(Int_t n) void Set(Int_t n, const Long_t* array) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    public:
Long_t* fArray [fN] Array of fN longs

Class Description

                                                                      
 TArrayL                                                              
                                                                      
 Array of longs (32 or 64 bits per element).                          
                                                                      


TArrayL()
 Default TArrayL ctor.

TArrayL(Int_t n)
 Create TArrayL object and set array size to n longs.

TArrayL(Int_t n, const Long_t *array)
 Create TArrayL object and initialize it with values of array.

TArrayL(const TArrayL &array) : TArray(array)
 Copy constructor.

~TArrayL()
 Delete TArrayL object.

void Adopt(Int_t n, Long_t *arr)
 Adopt array arr into TArrayL, i.e. don't copy arr but use it directly
 in TArrayL. User may not delete arr, TArrayL dtor will do it.

void AddAt(Long_t c, Int_t i)
 Add long c at position i. Check for out of bounds.

void Set(Int_t n)
 Set size of this array to n longs.
 A new array is created, the old contents copied to the new array,
 then the old array is deleted.

void Set(Int_t n, const Long_t *array)
 Set size of this array to n longs and set the contents.

void Streamer(TBuffer &b)
 Stream a TArrayL object.



Inline Functions


             TArrayL& operator=(const TArrayL& rhs)
               Long_t At(Int_t i) const
                 void Copy(TArrayL& array) const
        const Long_t* GetArray() const
              Long_t* GetArray()
               Stat_t GetSum() const
                 void Reset()
                 void Reset(Long_t val)
              Long_t& operator[](Int_t i)
               Long_t operator[](Int_t i) const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void StreamerNVirtual(TBuffer& b)


Author: Rene Brun 06/03/95
Last update: root/cont:$Name: $:$Id: TArrayL.cxx,v 1.11 2002/06/10 16:59:21 brun 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.