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.
static long int sum(long int i)
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.
void SetAt(Double_t v, Int_t i)
Short_t & operator[](Int_t i)
#define ClassDef(name, id)
Bool_t BoundsOk(const char *where, Int_t at) const
virtual ~TArrayS()
Delete TArrayS object.
Double_t GetAt(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.
TArrayS()
Default TArrayS ctor.
Array of shorts (16 bits per element).
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
Short_t At(Int_t i) const
friend TBuffer & operator<<(TBuffer &b, const TArray *obj)
Write TArray or derived object to buffer.
TBuffer & operator>>(TBuffer &buf, TArrayS *&obj)
const Short_t * GetArray() const
void Copy(TArrayS &array) const
void Adopt(Int_t n, Short_t *array)
Adopt array arr into TArrayS, i.e.