ROOT logo
ROOT » CORE » META » TVirtualStreamerInfo

class TVirtualStreamerInfo: public TNamed


TVirtualStreamerInfo   Abstract Interface class

Abstract Interface describing Streamer information for one class.


Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~TVirtualStreamerInfo()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
virtual voidBuild()
virtual voidBuildCheck()
virtual voidBuildEmulated(TFile* file)
virtual Bool_tBuildFor(const TClass* cl)
virtual voidBuildOld()
virtual voidCallShowMembers(void* obj, TMemberInspector& insp) const
static Bool_tCanDelete()
static Bool_tCanOptimize()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t*)
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual Bool_tCompareContent(TClass* cl, TVirtualStreamerInfo* info, Bool_t warn, Bool_t complete)
virtual voidCompile()
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual voidDeleteArray(void* p, Bool_t dtorOnly = kFALSE)
virtual voidDestructor(void* p, Bool_t dtorOnly = kFALSE)
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)
static TVirtualStreamerInfo*Factory()
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
virtual voidForceWriteInfo(TFile* file, Bool_t force = kFALSE)
virtual TClassStreamer*GenEmulatedClassStreamer(const char* class_name, Bool_t silent)
virtual TVirtualCollectionProxy*GenEmulatedProxy(const char* class_name, Bool_t silent)
virtual Int_tGenerateHeaderFile(const char* dirname, const TList* subClasses = 0, const TList* extrainfos = 0)
virtual TClassStreamer*GenExplicitClassStreamer(const ROOT::TCollectionProxyInfo& info, TClass* cl)
virtual TVirtualCollectionProxy*GenExplicitProxy(const ROOT::TCollectionProxyInfo& info, TClass* cl)
virtual TClass*GetActualClass(const void* obj) const
virtual UInt_tGetCheckSum() const
virtual TClass*GetClass() const
virtual Int_tGetClassVersion() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
static TStreamerBasicType*GetElementCounter(const char* countName, TClass* cl)
virtual TObjArray*GetElements() const
virtual ULong_t*GetElems() const
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::GetName() const
virtual Int_tGetNumber() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Int_tGetOffset(const char*) const
virtual Int_t*GetOffsets() const
virtual Version_tGetOldVersion() const
virtual Int_tGetOnFileClassVersion() const
virtual Option_t*TObject::GetOption() const
virtual Int_tGetSize() const
virtual TStreamerElement*GetStreamerElement(const char* datamember, Int_t& offset) const
static Bool_tGetStreamMemberWise()
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
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 voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsBuilt() const
Bool_tIsCompiled() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
Bool_tIsOptimized() const
Int_tIsRecovered() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual void*New(void* obj = 0)
virtual void*NewArray(Long_t nElements, void* ary = 0)
virtual TVirtualStreamerInfo*NewInfo(TClass* cl)
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)
static voidOptimize(Bool_t opt = kTRUE)
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 = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
static voidSetCanDelete(Bool_t opt = kTRUE)
virtual voidSetCheckSum(UInt_t checksum)
virtual voidSetClass(TClass* cl)
virtual voidSetClassVersion(Int_t vers)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidSetFactory(TVirtualStreamerInfo* factory)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
static Bool_tSetStreamMemberWise(Bool_t enable = kTRUE)
virtual voidTNamed::SetTitle(const char* title = "")MENU
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
virtual voidTagFile(TFile* fFile)
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
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()
TVirtualStreamerInfo&operator=(const TVirtualStreamerInfo&)

Data Members

public:
enum { kCannotOptimize
kIgnoreTObjectStreamer
kRecovered
kNeedCheck
kIsCompiled
};
enum EReadWrite { kBase
kOffsetL
kOffsetP
kCounter
kCharStar
kChar
kShort
kInt
kLong
kFloat
kDouble
kDouble32
kUChar
kUShort
kUInt
kULong
kBits
kLong64
kULong64
kBool
kFloat16
kObject
kAny
kObjectp
kObjectP
kTString
kTObject
kTNamed
kAnyp
kAnyP
kAnyPnoVT
kSTLp
kSkip
kSkipL
kSkipP
kConv
kConvL
kConvP
kSTL
kSTLstring
kStreamer
kStreamLoop
kCache
kArtificial
kCacheNew
kCacheDelete
kMissing
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Bool_tfIsBuilt! true if the StreamerInfo has been 'built'
TStringTNamed::fNameobject identifier
Bool_tfOptimized! true if the Streamer has been optimized
TStringTNamed::fTitleobject title
static Bool_tfgCanDeleteTrue if ReadBuffer can delete object
static TVirtualStreamerInfo*fgInfoFactory
static Bool_tfgOptimizeTrue if optimization on
static Bool_tfgStreamMemberWiseTrue if the collections are to be stream "member-wise" (when possible).

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TVirtualStreamerInfo& operator=(const TVirtualStreamerInfo& )
assignment operator
~TVirtualStreamerInfo()
Bool_t CanDelete()
 static function returning true if ReadBuffer can delete object
Bool_t CanOptimize()
 static function returning true if optimization can be on
TStreamerBasicType * GetElementCounter(const char* countName, TClass* cl)
 Get pointer to a TStreamerBasicType in TClass *cl
static function
Bool_t GetStreamMemberWise()
 Return whether the TStreamerInfos will save the collections in
 "member-wise" order whenever possible.    The default is to store member-wise.
 kTRUE indicates member-wise storing
 kFALSE inddicates object-wise storing

 A collection can be saved member wise when it contain is guaranteed to be
 homogeneous.  For example std::vector<THit> can be stored member wise,
 while std::vector<THit*> can not (possible use of polymorphism).
void Optimize(Bool_t opt = kTRUE)
  This is a static function.
  Set optimization option.
  When this option is activated (default), consecutive data members
  of the same type are merged into an array (faster).
  Optimization must be off in TTree split mode.
TVirtualStreamerInfo * Factory()
 Static function returning a pointer to a new TVirtualStreamerInfo object.
 If the Info factory does not exist, it is created via the plugin manager.
 In reality the factory is an empty TStreamerInfo object.
void SetCanDelete(Bool_t opt = kTRUE)
  This is a static function.
  Set object delete option.
  When this option is activated (default), ReadBuffer automatically
  delete objects when a data member is a pointer to an object.
  If your constructor is not presetting pointers to 0, you must
  call this static function TStreamerInfo::SetCanDelete(kFALSE);
void SetFactory(TVirtualStreamerInfo* factory)
static function: Set the StreamerInfo factory
Bool_t SetStreamMemberWise(Bool_t enable = kTRUE)
 Set whether the TStreamerInfos will save the collections in
 "member-wise" order whenever possible.  The default is to store member-wise.
 kTRUE indicates member-wise storing
 kFALSE inddicates object-wise storing
 This function returns the previous value of fgStreamMemberWise.
void Streamer(TBuffer& b)
 Stream an object of class TVirtualStreamerInfo.
void Build()
void BuildCheck()
void BuildEmulated(TFile* file)
void BuildOld()
Bool_t BuildFor(const TClass* cl)
void CallShowMembers(void* obj, TMemberInspector& insp) const
void Clear(Option_t* )
Bool_t CompareContent(TClass* cl, TVirtualStreamerInfo* info, Bool_t warn, Bool_t complete)
void Compile()
void ForceWriteInfo(TFile* file, Bool_t force = kFALSE)
Int_t GenerateHeaderFile(const char* dirname, const TList* subClasses = 0, const TList* extrainfos = 0)
TClass * GetActualClass(const void* obj) const
TClass * GetClass() const
UInt_t GetCheckSum() const
Int_t GetClassVersion() const
ULong_t * GetElems() const
TObjArray * GetElements() const
Int_t GetOffset(const char* ) const
Int_t * GetOffsets() const
Version_t GetOldVersion() const
Int_t GetOnFileClassVersion() const
Int_t GetNumber() const
Int_t GetSize() const
TStreamerElement * GetStreamerElement(const char* datamember, Int_t& offset) const
Bool_t IsBuilt() const
{ return fIsBuilt; }
Bool_t IsCompiled() const
{ return TestBit(kIsCompiled); }
Bool_t IsOptimized() const
{ return fOptimized; }
Int_t IsRecovered() const
{ return TestBit(kRecovered); }
void ls(Option_t* option = "") const
TVirtualStreamerInfo * NewInfo(TClass* cl)
void * New(void* obj = 0)
void * NewArray(Long_t nElements, void* ary = 0)
void Destructor(void* p, Bool_t dtorOnly = kFALSE)
void DeleteArray(void* p, Bool_t dtorOnly = kFALSE)
void SetCheckSum(UInt_t checksum)
void SetClass(TClass* cl)
void SetClassVersion(Int_t vers)
void TagFile(TFile* fFile)
void Update(const TClass* oldClass, TClass* newClass)
TVirtualCollectionProxy * GenEmulatedProxy(const char* class_name, Bool_t silent)
TClassStreamer * GenEmulatedClassStreamer(const char* class_name, Bool_t silent)
TVirtualCollectionProxy * GenExplicitProxy(const ROOT::TCollectionProxyInfo& info, TClass* cl)
TClassStreamer * GenExplicitClassStreamer(const ROOT::TCollectionProxyInfo& info, TClass* cl)