32 ::Error(where,
"index %d out of bounds (size: %d, this: 0x%zx)", i,
fN, (
size_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)
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
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 Streamer(void *obj, TBuffer &b, const TClass *onfile_class=nullptr) const
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
TClass * IsA() const override
const char * GetName() const override
Returns name of object.