ROOT logo
ROOT » CORE » META » TStreamerBase

class TStreamerBase: public TStreamerElement


TStreamerBase implement the streamer of the base class


Function Members (Methods)

public:
TStreamerBase()
TStreamerBase(const char* name, const char* title, Int_t offset)
virtual~TStreamerBase()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tTStreamerElement::CannotSplit() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Int_tTStreamerElement::GetArrayDim() const
Int_tTStreamerElement::GetArrayLength() const
Int_tGetBaseVersion()
TClass*TStreamerElement::GetClass() const
virtual TClass*GetClassPointer() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Int_tTStreamerElement::GetExecID() const
Double_tTStreamerElement::GetFactor() const
virtual const char*TStreamerElement::GetFullName() const
virtual const char*TObject::GetIconName() const
virtual const char*GetInclude() const
Int_tTStreamerElement::GetMaxIndex(Int_t i) const
virtual ULong_tGetMethod() const
virtual const char*TNamed::GetName() const
TClass*GetNewBaseClass()
TClass*TStreamerElement::GetNewClass() const
Int_tTStreamerElement::GetNewType() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
Int_tTStreamerElement::GetOffset() const
virtual Option_t*TObject::GetOption() const
virtual Int_tGetSize() const
TMemberStreamer*TStreamerElement::GetStreamer() const
virtual const char*TNamed::GetTitle() const
Int_tTStreamerElement::GetTObjectOffset() const
Int_tTStreamerElement::GetType() const
const char*TStreamerElement::GetTypeName() const
const char*TStreamerElement::GetTypeNameBasic() const
virtual UInt_tTObject::GetUniqueID() const
Double_tTStreamerElement::GetXmax() const
Double_tTStreamerElement::GetXmin() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tTStreamerElement::HasCounter() const
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidInit(TObject* obj = 0)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTStreamerElement::IsaPointer() const
virtual Bool_tIsBase() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tTStreamerElement::IsOldFormat(const char* newTypeName)
Bool_tTObject::IsOnHeap() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
Int_tReadBuffer(TBuffer& b, char* pointer)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTStreamerElement::SetArrayDim(Int_t dim)
voidSetBaseVersion(Int_t v)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTStreamerElement::SetMaxIndex(Int_t dim, Int_t max)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
voidSetNewBaseClass(TClass* cl)
virtual voidTStreamerElement::SetNewClass(TClass* cl)
virtual voidTStreamerElement::SetNewType(Int_t dtype)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTStreamerElement::SetOffset(Int_t offset)
virtual voidTStreamerElement::SetSize(Int_t dsize)
virtual voidTStreamerElement::SetStreamer(TMemberStreamer* streamer)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTStreamerElement::SetTObjectOffset(Int_t tobjoffset)
virtual voidTStreamerElement::SetType(Int_t dtype)
virtual voidTStreamerElement::SetTypeName(const char* name)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidUpdate(const TClass* oldClass, TClass* newClass)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
Int_tWriteBuffer(TBuffer& b, char* pointer)
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

protected:
Int_tTStreamerElement::fArrayDimnumber of array dimensions
Int_tTStreamerElement::fArrayLengthcumulative size of all array dims
TClass*fBaseClass!pointer to base class
Int_tfBaseVersionversion number of the base class FIXME: What for? What about the schema evolution issues?
TClass*TStreamerElement::fClassObject!pointer to class of object
Double_tTStreamerElement::fFactor!Conversion factor if a range is specified fFactor = (1<<nbits/(xmax-xmin)
Int_tTStreamerElement::fMaxIndex[5]Maximum array index for array dimension "dim"
TStringTNamed::fNameobject identifier
TClass*fNewBaseClass!pointer to new base class if renamed
TClass*TStreamerElement::fNewClass!new element class when reading
Int_tTStreamerElement::fNewType!new element type when reading
Int_tTStreamerElement::fOffset!element offset in class
Int_tTStreamerElement::fSizesizeof element
TMemberStreamer*TStreamerElement::fStreamer!pointer to element Streamer
ClassStreamerFunc_tfStreamerFunc!Pointer to a wrapper around a custom streamer member function.
Int_tTStreamerElement::fTObjectOffset!base offset for TObject if the element inherits from it
TStringTNamed::fTitleobject title
Int_tTStreamerElement::fTypeelement type
TStringTStreamerElement::fTypeNameData type name of data member
Double_tTStreamerElement::fXmax!Maximum of data member if a range is specified [xmin,xmax,nbits]
Double_tTStreamerElement::fXmin!Minimum of data member if a range is specified [xmin,xmax,nbits]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TStreamerBase()
 Default ctor.
TStreamerBase(const char* name, const char* title, Int_t offset)
 Create a TStreamerBase object.
~TStreamerBase()
TClass * GetClassPointer() const
 Returns a pointer to the TClass of this element.
Int_t GetSize() const
 Returns size of baseclass in bytes.
void Init(TObject* obj = 0)
 Setup the element.
Bool_t IsBase() const
 Return kTRUE if the element represent a base class.
const char * GetInclude() const
 Return the proper include for this element.
void ls(Option_t* option = "") const
 Print the content of the element.
Int_t ReadBuffer(TBuffer& b, char* pointer)
 Read the content of the buffer.
void Streamer(TBuffer& b)
 Stream an object of class TStreamerBase.
void Update(const TClass* oldClass, TClass* newClass)
Function called by the TClass constructor when replacing an emulated class
by the real class.
Int_t WriteBuffer(TBuffer& b, char* pointer)
 Write the base class into the buffer.
TStreamerElement& operator=(const TStreamerBase& )
ULong_t GetMethod() const
{return ULong_t(fStreamer);}
TStreamerBase(const TStreamerBase& )
Int_t GetBaseVersion()
{return fBaseVersion;}
TClass * GetNewBaseClass()
{ return fNewBaseClass; }
void SetNewBaseClass(TClass* cl)
{ fNewBaseClass = cl; }
void SetBaseVersion(Int_t v)