TArrayL


class description - source file - inheritance tree

class TArrayL : public TArray


    public:
TArrayL TArrayL() TArrayL TArrayL(Int_t n) TArrayL TArrayL(Int_t n, 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) TClass* Class() void Copy(TArrayL& array) Long_t* GetArray() const Stat_t GetSum() const virtual TClass* IsA() const TArrayL& operator=(const TArrayL& rhs) Long_t& operator[](Int_t i) void Reset() void Set(Int_t n, Long_t* array) virtual void Set(Int_t n) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(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, Long_t *array)
 Create TArrayL object and initialize it with values of array.

TArrayL(const TArrayL &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, 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)
               void Copy(TArrayL& array)
            Long_t* GetArray() const
             Stat_t GetSum() const
               void Reset()
            Long_t& operator[](Int_t i)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)


Author: Rene Brun 06/03/95
Last update: 2.23/11 22/12/99 11.15.21 by Rene Brun
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.