58#if defined R__TEMPLATE_OVERLOAD_BUG
69#if defined R__TEMPLATE_OVERLOAD_BUG
75 return buf << (
const TArray*)obj;
80 if (!
BoundsOk(
"TArrayS::At", i))
return 0;
86 if (!
BoundsOk(
"TArrayS::operator[]", i))
93 if (!
BoundsOk(
"TArrayS::operator[]", i))
return 0;
#define ClassDef(name, id)
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
TBuffer & operator>>(TBuffer &buf, TArrayS *&obj)
Array of shorts (16 bits per element).
void SetAt(Double_t v, Int_t i)
void Adopt(Int_t n, Short_t *array)
Adopt array arr into TArrayS, i.e.
TArrayS & operator=(const TArrayS &rhs)
TArrayS assignment operator.
Double_t GetAt(Int_t i) const
void AddAt(Short_t c, Int_t i)
Add short c at position i. Check for out of bounds.
void Set(Int_t n)
Set size of this array to n shorts.
TArrayS()
Default TArrayS ctor.
const Short_t * GetArray() const
void Copy(TArrayS &array) const
Short_t & operator[](Int_t i)
virtual ~TArrayS()
Delete TArrayS object.
Short_t At(Int_t i) const
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 uint64_t sum(uint64_t i)