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;
Abstract array base class.
static long int sum(long int i)
void Copy(TArrayI &array) const
void Adopt(Int_t n, Int_t *array)
Adopt array arr into TArrayI, i.e.
Buffer base class used for serializing objects.
TArrayI()
Default TArrayI ctor.
TBuffer & operator>>(TBuffer &buf, TArrayI *&obj)
Array of integers (32 bits per element).
#define ClassDef(name, id)
Bool_t BoundsOk(const char *where, Int_t at) const
const Int_t * GetArray() const
Double_t GetAt(Int_t i) const
void Set(Int_t n)
Set size of this array to n ints.
void AddAt(Int_t c, Int_t i)
Add Int_t c at position i. Check for out of bounds.
Int_t & operator[](Int_t i)
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
virtual ~TArrayI()
Delete TArrayI object.
void SetAt(Double_t v, Int_t i)
friend TBuffer & operator<<(TBuffer &b, const TArray *obj)
Write TArray or derived object to buffer.
TArrayI & operator=(const TArrayI &rhs)
TArrayI assignment operator.