32 ::Error(where,
"index %d out of bounds (size: %d, this: 0x%lx)", i,
fN, (
Long_t)
this);
52 TClass *clRef =
b.ReadClass(clReq, &tag);
63 ::Error(
"TArray::ReadArray",
"could not create object of class %s",
71 b.CheckByteCount(startpos, tag, clRef);
105 b.SetByteCount(cntpos);
TBuffer & operator<<(TBuffer &buf, const Tmpl *obj)
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
Abstract array base class.
static void WriteArray(TBuffer &b, const TArray *a)
Write TArray object to buffer.
static TArray * ReadArray(TBuffer &b, const TClass *clReq)
Read TArray object from buffer.
Bool_t OutOfBoundsError(const char *where, Int_t i) const
Generate an out-of-bounds error. Always returns false.
Buffer base class used for serializing objects.
TClass instances represent classes, structs and namespaces in the ROOT type system.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
void Streamer(void *obj, TBuffer &b, const TClass *onfile_class=0) const
virtual const char * GetName() const
Returns name of object.