ROOT 6.14/05 Reference Guide |
Abstract array base class.
Used by TArrayC, TArrayS, TArrayI, TArrayL, TArrayF and TArrayD. Data member is public for historical reasons.
Public Member Functions | |
TArray () | |
TArray (Int_t n) | |
TArray (const TArray &a) | |
virtual | ~TArray () |
virtual Double_t | GetAt (Int_t i) const =0 |
Int_t | GetSize () const |
TArray & | operator= (const TArray &rhs) |
virtual void | Set (Int_t n)=0 |
virtual void | SetAt (Double_t v, Int_t i)=0 |
Static Public Member Functions | |
static TArray * | ReadArray (TBuffer &b, const TClass *clReq) |
Read TArray object from buffer. More... | |
static void | WriteArray (TBuffer &b, const TArray *a) |
Write TArray object to buffer. More... | |
Public Attributes | |
Int_t | fN |
Protected Member Functions | |
Bool_t | BoundsOk (const char *where, Int_t at) const |
Bool_t | OutOfBoundsError (const char *where, Int_t i) const |
Generate an out-of-bounds error. Always returns false. More... | |
Friends | |
TBuffer & | operator<< (TBuffer &b, const TArray *obj) |
Write TArray or derived object to buffer. More... | |
#include <TArray.h>
Generate an out-of-bounds error. Always returns false.
Definition at line 30 of file TArray.cxx.
Read TArray object from buffer.
Simplified version of TBuffer::ReadObject (does not keep track of multiple references to same array).
Definition at line 41 of file TArray.cxx.
Write TArray object to buffer.
Simplified version of TBuffer::WriteObject (does not keep track of multiple references to the same array).
Definition at line 82 of file TArray.cxx.
Write TArray or derived object to buffer.
Definition at line 112 of file TArray.cxx.