ROOT » CORE » META » TStreamerElement

class TStreamerElement: public TNamed

Function Members (Methods)

public:
virtual~TStreamerElement()
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
voidGetSequenceType(TString& type) 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
virtual Bool_tIsTransient() 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
voidTObject::operator delete(void* ptr)
voidTObject::operator delete(void* ptr, void* vp)
voidTObject::operator delete[](void* ptr)
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) const
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_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
TStreamerElement()
TStreamerElement(const char* name, const char* title, Int_t offset, Int_t dtype, const char* typeName)
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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
static TObject::(anonymous)TObject::kBitMask
static TStreamerElement::(anonymous)kCache
static TObject::EStatusBitsTObject::kCanDelete
static TObject::EStatusBitsTObject::kCannotPick
static TStreamerElement::(anonymous)kDoNotDelete
static TStreamerElement::(anonymous)kHasRange
static TObject::EStatusBitsTObject::kHasUUID
static TObject::EStatusBitsTObject::kInvalidObject
static TObject::(anonymous)TObject::kIsOnHeap
static TObject::EStatusBitsTObject::kIsReferenced
static TObject::EStatusBitsTObject::kMustCleanup
static TObject::EStatusBitsTObject::kNoContextMenu
static TObject::(anonymous)TObject::kNotDeleted
static TObject::EStatusBitsTObject::kObjInCanvas
static TObject::(anonymous)TObject::kOverwrite
static TStreamerElement::(anonymous)kRead
static TStreamerElement::(anonymous)kRepeat
static TStreamerElement::ESTLtypekSTL
static TStreamerElement::ESTLtypekSTLbitset
static TStreamerElement::ESTLtypekSTLdeque
static TStreamerElement::ESTLtypekSTLlist
static TStreamerElement::ESTLtypekSTLmap
static TStreamerElement::ESTLtypekSTLmultimap
static TStreamerElement::ESTLtypekSTLmultiset
static TStreamerElement::ESTLtypekSTLset
static TStreamerElement::ESTLtypekSTLstring
static TStreamerElement::ESTLtypekSTLvector
static TObject::(anonymous)TObject::kSingleKey
static TStreamerElement::(anonymous)kWholeObject
static TStreamerElement::(anonymous)kWrite
static TObject::(anonymous)TObject::kWriteDelete
static TObject::(anonymous)TObject::kZombie
protected:
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 Chart:
TObject
TNamed
TStreamerElement
TStreamerArtificial
TStreamerBase
TStreamerBasicPointer
TStreamerBasicType
TStreamerLoop
TStreamerObject
TStreamerObjectAny
TStreamerObjectAnyPointer
TStreamerObjectPointer
TStreamerSTL
 [more...]

Function documentation

TStreamerElement()
 Default ctor.
TStreamerElement(const char* name, const char* title, Int_t offset, Int_t dtype, const char* typeName)
 Create a TStreamerElement object.
~TStreamerElement()
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.
void GetSequenceType(TString& type) const
 Fill type with the string representation of sequence
 information including 'cached','repeat','write' or
 'nodelete'.
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.
Bool_t IsTransient() const
 Return kTRUE if the element represent an entity that is not written
 to the disk (transient members, cache allocator/deallocator, etc.)
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& )
 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)
{fOffset=offset;}
void SetTObjectOffset(Int_t tobjoffset)
{fTObjectOffset=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; }