ROOT 6.16/01 Reference Guide |
Array of long64s (64 bits per element).
Definition at line 27 of file TArrayL64.h.
Public Member Functions | |
TArrayL64 () | |
Default TArrayL64 ctor. More... | |
TArrayL64 (const TArrayL64 &array) | |
Copy constructor. More... | |
TArrayL64 (Int_t n) | |
Create TArrayL64 object and set array size to n long64s. More... | |
TArrayL64 (Int_t n, const Long64_t *array) | |
Create TArrayL object and initialize it with values of array. More... | |
virtual | ~TArrayL64 () |
Delete TArrayL64 object. More... | |
void | AddAt (Long64_t c, Int_t i) |
Add long64 c at position i. Check for out of bounds. More... | |
void | Adopt (Int_t n, Long64_t *array) |
Adopt array arr into TArrayL64, i.e. More... | |
Long64_t | At (Int_t i) const |
void | Copy (TArrayL64 &array) const |
Long64_t * | GetArray () |
const Long64_t * | GetArray () const |
Double_t | GetAt (Int_t i) const |
Stat_t | GetSum () const |
TArrayL64 & | operator= (const TArrayL64 &rhs) |
TArrayL64 assignment operator. More... | |
Long64_t & | operator[] (Int_t i) |
Long64_t | operator[] (Int_t i) const |
void | Reset () |
void | Reset (Long64_t val) |
void | Set (Int_t n) |
Set size of this array to n long64s. More... | |
void | Set (Int_t n, const Long64_t *array) |
Set size of this array to n long64s and set the contents. More... | |
void | SetAt (Double_t v, Int_t i) |
Public Member Functions inherited from TArray | |
TArray () | |
TArray (const TArray &a) | |
TArray (Int_t n) | |
virtual | ~TArray () |
virtual Double_t | GetAt (Int_t i) const =0 |
Int_t | GetSize () const |
TArray & | operator= (const TArray &rhs) |
virtual void | Set (Int_t n)=0 |
virtual void | SetAt (Double_t v, Int_t i)=0 |
Public Attributes | |
Long64_t * | fArray |
Public Attributes inherited from TArray | |
Int_t | fN |
Additional Inherited Members | |
Static Public Member Functions inherited from TArray | |
static TArray * | ReadArray (TBuffer &b, const TClass *clReq) |
Read TArray object from buffer. More... | |
static void | WriteArray (TBuffer &b, const TArray *a) |
Write TArray object to buffer. More... | |
Protected Member Functions inherited from TArray | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
Generate an out-of-bounds error. Always returns false. More... | |
#include <TArrayL64.h>
TArrayL64::TArrayL64 | ( | ) |
Default TArrayL64 ctor.
Definition at line 26 of file TArrayL64.cxx.
TArrayL64::TArrayL64 | ( | Int_t | n | ) |
Create TArrayL64 object and set array size to n long64s.
Definition at line 34 of file TArrayL64.cxx.
Create TArrayL object and initialize it with values of array.
Definition at line 43 of file TArrayL64.cxx.
TArrayL64::TArrayL64 | ( | const TArrayL64 & | array | ) |
Copy constructor.
Definition at line 52 of file TArrayL64.cxx.
|
virtual |
Delete TArrayL64 object.
Definition at line 71 of file TArrayL64.cxx.
Add long64 c at position i. Check for out of bounds.
Definition at line 93 of file TArrayL64.cxx.
Adopt array arr into TArrayL64, i.e.
don't copy arr but use it directly in TArrayL64. User may not delete arr, TArrayL64 dtor will do it.
Definition at line 81 of file TArrayL64.cxx.
Definition at line 81 of file TArrayL64.h.
Definition at line 42 of file TArrayL64.h.
|
inline |
Definition at line 44 of file TArrayL64.h.
|
inline |
Definition at line 43 of file TArrayL64.h.
Implements TArray.
Definition at line 45 of file TArrayL64.h.
|
inline |
Definition at line 46 of file TArrayL64.h.
TArrayL64 assignment operator.
Definition at line 61 of file TArrayL64.cxx.
Definition at line 87 of file TArrayL64.h.
Definition at line 94 of file TArrayL64.h.
Definition at line 47 of file TArrayL64.h.
Definition at line 48 of file TArrayL64.h.
Set size of this array to n long64s.
A new array is created, the old contents copied to the new array, then the old array is deleted. This function should not be called if the array was declared via Adopt.
Implements TArray.
Definition at line 105 of file TArrayL64.cxx.
Set size of this array to n long64s and set the contents.
This function should not be called if the array was declared via Adopt.
Definition at line 129 of file TArrayL64.cxx.
Implements TArray.
Definition at line 51 of file TArrayL64.h.
Long64_t* TArrayL64::fArray |
Definition at line 30 of file TArrayL64.h.