ROOT logo
ROOT » CORE » META » TStreamerElement

class TStreamerElement: public TNamed

Function Members (Methods)

TStreamerElement(const char* name, const char* title, Int_t offset, Int_t dtype, const char* typeName)
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual Bool_tCannotSplit() 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_tGetArrayDim() const
Int_tGetArrayLength() const
TClass*GetClass() const
virtual TClass*GetClassPointer() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Int_tGetExecID() const
Double_tGetFactor() const
virtual const char*GetFullName() const
virtual const char*TObject::GetIconName() const
virtual const char*GetInclude() const
Int_tGetMaxIndex(Int_t i) const
virtual ULong_tGetMethod() const
virtual const char*TNamed::GetName() const
TClass*GetNewClass() const
Int_tGetNewType() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
Int_tGetOffset() const
virtual Option_t*TObject::GetOption() const
virtual Int_tGetSize() const
TMemberStreamer*GetStreamer() const
virtual const char*TNamed::GetTitle() const
Int_tGetTObjectOffset() const
Int_tGetType() const
const char*GetTypeName() const
const char*GetTypeNameBasic() const
virtual UInt_tTObject::GetUniqueID() const
Double_tGetXmax() const
Double_tGetXmin() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual Bool_tHasCounter() 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_tIsaPointer() const
virtual Bool_tIsBase() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
virtual Bool_tIsOldFormat(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)
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 voidSetArrayDim(Int_t dim)
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 voidSetMaxIndex(Int_t dim, Int_t max)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
virtual voidSetNewClass(TClass* cl)
virtual voidSetNewType(Int_t dtype)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOffset(Int_t offset)
virtual voidSetSize(Int_t dsize)
virtual voidSetStreamer(TMemberStreamer* streamer)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidSetTObjectOffset(Int_t tobjoffset)
virtual voidSetType(Int_t dtype)
virtual voidSetTypeName(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
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const

Data Members

enum ESTLtype { kSTL
enum { kHasRange
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
Int_tfArrayDimnumber of array dimensions
Int_tfArrayLengthcumulative size of all array dims
TClass*fClassObject!pointer to class of object
Double_tfFactor!Conversion factor if a range is specified fFactor = (1<<nbits/(xmax-xmin)
Int_tfMaxIndex[5]Maximum array index for array dimension "dim"
TStringTNamed::fNameobject identifier
TClass*fNewClass!new element class when reading
Int_tfNewType!new element type when reading
Int_tfOffset!element offset in class
Int_tfSizesizeof element
TMemberStreamer*fStreamer!pointer to element Streamer
Int_tfTObjectOffset!base offset for TObject if the element inherits from it
TStringTNamed::fTitleobject title
Int_tfTypeelement type
TStringfTypeNameData type name of data member
Double_tfXmax!Maximum of data member if a range is specified [xmin,xmax,nbits]
Double_tfXmin!Minimum of data member if a range is specified [xmin,xmax,nbits]

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

 Default ctor.
TStreamerElement(const char* name, const char* title, Int_t offset, Int_t dtype, const char* typeName)
 Create a TStreamerElement object.
Bool_t CannotSplit() const
 Returns true if the element cannot be split, false otherwise.
 An element cannot be split if the corresponding class member has
 the special characters "||" as the first characters in the
 comment field.
TClass * GetClassPointer() const
 Returns a pointer to the TClass of this element.
Int_t GetExecID() const
 Returns the TExec id for the EXEC instruction in the comment field
 of a TRef data member.
const char * GetFullName() const
 Return element name including dimensions, if any
 Note that this function stores the name into a static array.
 You should copy the result.
Int_t GetSize() const
 Returns size of this element in bytes.
TMemberStreamer * GetStreamer() const
 Return the local streamer object.
const char * GetTypeNameBasic() const
 Return type name of this element
 in case the type name is not a standard basic type, return
 the basic type name known to CINT.
void Init(TObject* obj = 0)
 Initliaze the element.
Bool_t IsOldFormat(const char* newTypeName)
 The early 3.00/00 and 3.01/01 versions used to store
 dm->GetTypeName instead of dm->GetFullTypename
 if this case is detected, the element type name is modified.
Bool_t IsBase() const
 Return kTRUE if the element represent a base class.
void ls(Option_t* option = "") const
 Print the content of the element.
void SetArrayDim(Int_t dim)
 Set number of array dimensions.
void SetMaxIndex(Int_t dim, Int_t max)
set maximum index for array with dimension dim
void SetStreamer(TMemberStreamer* streamer)
set pointer to Streamer function for this element
void Streamer(TBuffer& b)
 Stream an object of class TStreamerElement.
void Update(const TClass* oldClass, TClass* newClass)
function called by the TClass constructor when replacing an emulated class
by the real class
TStreamerElement(const TStreamerElement& )
TStreamerElement& operator=(const TStreamerElement& )
Int_t GetArrayDim() const
{return fArrayDim;}
Int_t GetArrayLength() const
{return fArrayLength;}
TClass * GetClass() const
{return GetClassPointer();}
const char * GetInclude() const
{return "";}
Int_t GetMaxIndex(Int_t i) const
{return fMaxIndex[i];}
ULong_t GetMethod() const
{return ULong_t(fStreamer);}
Int_t GetNewType() const
{return fNewType;}
TClass* GetNewClass() const
{ return fNewClass; }
Int_t GetType() const
{return fType;}
Int_t GetOffset() const
{return fOffset;}
Int_t GetTObjectOffset() const
{ return fTObjectOffset; }
const char * GetTypeName() const
{return fTypeName.Data();}
Double_t GetFactor() const
{return fFactor;}
Double_t GetXmin() const
{return fXmin;}
Double_t GetXmax() const
{return fXmax;}
Bool_t IsaPointer() const
{return kFALSE;}
Bool_t HasCounter() const
{return kFALSE;}
void SetOffset(Int_t offset)
void SetTObjectOffset(Int_t tobjoffset)
void SetSize(Int_t dsize)
{fSize = dsize;}
void SetNewType(Int_t dtype)
{fNewType = dtype;}
void SetNewClass(TClass* cl)
{ fNewClass= cl; }
void SetType(Int_t dtype)
{fType = dtype;}
void SetTypeName(const char* name)
{fTypeName = name; fClassObject = (TClass*)-1; }