61 #if defined R__TEMPLATE_OVERLOAD_BUG
72 #if defined R__TEMPLATE_OVERLOAD_BUG
78 return buf << (
const TArray*)obj;
83 if (!
BoundsOk(
"TArrayI::At", i))
return 0;
89 if (!
BoundsOk(
"TArrayI::operator[]", i))
96 if (!
BoundsOk(
"TArrayI::operator[]", i))
return 0;
Abstract array base class.
void Adopt(Int_t n, Int_t *array)
Adopt array arr into TArrayI, i.e.
Buffer base class used for serializing objects.
TBuffer & operator>>(TBuffer &buf, TArrayI *&obj)
Array of integers (32 bits per element).
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const TArrayI *obj)
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)
Bool_t BoundsOk(const char *where, Int_t at) const
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
void Copy(TArrayI &array) const
virtual ~TArrayI()
Delete TArrayI object.
const Int_t * GetArray() const
void SetAt(Double_t v, Int_t i)
TArrayI & operator=(const TArrayI &rhs)
TArrayI assignment operator.
Double_t GetAt(Int_t i) const