59#if defined R__TEMPLATE_OVERLOAD_BUG
70#if defined R__TEMPLATE_OVERLOAD_BUG
76 return buf << (
const TArray*)obj;
81 if (!
BoundsOk(
"TArrayI::At", i))
return 0;
87 if (!
BoundsOk(
"TArrayI::operator[]", i))
94 if (!
BoundsOk(
"TArrayI::operator[]", i))
return 0;
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const TArrayI *obj)
TBuffer & operator>>(TBuffer &buf, TArrayI *&obj)
Array of integers (32 bits per element).
Int_t & operator[](Int_t i)
void Set(Int_t n)
Set size of this array to n ints.
void SetAt(Double_t v, Int_t i)
Double_t GetAt(Int_t i) const
void Adopt(Int_t n, Int_t *array)
Adopt array arr into TArrayI, i.e.
const Int_t * GetArray() const
virtual ~TArrayI()
Delete TArrayI object.
TArrayI & operator=(const TArrayI &rhs)
TArrayI assignment operator.
void AddAt(Int_t c, Int_t i)
Add Int_t c at position i. Check for out of bounds.
void Copy(TArrayI &array) const
TArrayI()
Default TArrayI ctor.
Abstract array base class.
Bool_t BoundsOk(const char *where, Int_t at) const
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
Buffer base class used for serializing objects.
static long int sum(long int i)