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(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() Stat_t GetSum() virtual TClass* IsA() TArrayL& operator=(TArrayL& rhs) Long_t& operator[](Int_t i) void Reset() virtual void Set(Int_t n) void Set(Int_t n, Long_t* array) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

public:
Long_t* fArray 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 array size of TArrayL object to n longs. If n<0 leave array unchanged.

void Set(Int_t n, Long_t *array)
 Set array size of TArrayL object to n longs and copy array.
 If n<0 leave array unchanged.

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



Inline Functions


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


Author: Rene Brun 06/03/95
Last update: 1.03/06 27/10/97 03.23.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.