TArrayS
class description - source file - inheritance tree
public:
TArrayS TArrayS()
TArrayS TArrayS(Int_t n)
TArrayS TArrayS(Int_t n, Short_t* array)
TArrayS TArrayS(TArrayS& array)
virtual void ~TArrayS()
void AddAt(Short_t c, Int_t idx)
void Adopt(Int_t n, Short_t* array)
Short_t At(Int_t i)
TClass* Class()
void Copy(TArrayS& array)
Short_t* GetArray()
Stat_t GetSum()
virtual TClass* IsA()
TArrayS& operator=(TArrayS& rhs)
Short_t& operator[](Int_t i)
void Reset()
virtual void Set(Int_t n)
void Set(Int_t n, Short_t* array)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
public:
Short_t* fArray Array of fN shorts
See also
-
TH1S
TArrayS
Array of shorts (16 bits per element).
TArrayS()
Default TArrayS ctor.
TArrayS(Int_t n)
Create TArrayS object and set array size to n shorts.
TArrayS(Int_t n, Short_t *array)
Create TArrayS object and initialize it with values of array.
TArrayS(const TArrayS &array)
Copy constructor.
~TArrayS()
Delete TArrayS object.
void Adopt(Int_t n, Short_t *arr)
Adopt array arr into TArrayS, i.e. don't copy arr but use it directly
in TArrayS. User may not delete arr, TArrayS dtor will do it.
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 array size of TArrayS object to n shorts.
If n<0 leave array unchanged.
void Set(Int_t n, Short_t *array)
Set array size of TArrayS object to n shorts and copy array.
If n<0 leave array unchanged.
void Streamer(TBuffer &b)
Stream a TArrayS object.
Inline Functions
TArrayS& operator=(TArrayS& rhs)
Short_t At(Int_t i)
void Copy(TArrayS& array)
Short_t* GetArray()
Stat_t GetSum()
void Reset()
Short_t& operator[](Int_t i)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
Author: Rene Brun 06/03/95
Last update: 1.03/06 27/10/97 03.22.50 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.