60 #if defined R__TEMPLATE_OVERLOAD_BUG
71 #if defined R__TEMPLATE_OVERLOAD_BUG
77 return buf << (
const TArray*)obj;
82 if (!
BoundsOk(
"TArrayS::At", i))
return 0;
88 if (!
BoundsOk(
"TArrayS::operator[]", i))
95 if (!
BoundsOk(
"TArrayS::operator[]", i))
return 0;
Abstract array base class.
void AddAt(Short_t c, Int_t i)
Add short c at position i. Check for out of bounds.
Buffer base class used for serializing objects.
Double_t GetAt(Int_t i) const
void Copy(TArrayS &array) const
void SetAt(Double_t v, Int_t i)
Short_t & operator[](Int_t i)
#define ClassDef(name, id)
virtual ~TArrayS()
Delete TArrayS object.
TBuffer & operator<<(TBuffer &buf, const TArrayS *obj)
Short_t At(Int_t i) const
void Set(Int_t n)
Set size of this array to n shorts.
TArrayS & operator=(const TArrayS &rhs)
TArrayS assignment operator.
Bool_t BoundsOk(const char *where, Int_t at) const
Array of shorts (16 bits per element).
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
TBuffer & operator>>(TBuffer &buf, TArrayS *&obj)
const Short_t * GetArray() const
void Adopt(Int_t n, Short_t *array)
Adopt array arr into TArrayS, i.e.