ROOT  6.06/09
Reference Guide
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
TVirtualStreamerInfo Class Referenceabstract

Abstract Interface class describing Streamer information for one class.

Definition at line 41 of file TVirtualStreamerInfo.h.

Public Types

enum  {
  kCannotOptimize = BIT(12), kIgnoreTObjectStreamer = BIT(13), kRecovered = BIT(14), kNeedCheck = BIT(15),
  kIsCompiled = BIT(16), kBuildOldUsed = BIT(17), kBuildRunning = BIT(18)
}
 
enum  EReadWrite {
  kBase = 0, kOffsetL = 20, kOffsetP = 40, kCounter = 6,
  kCharStar = 7, kChar = 1, kShort = 2, kInt = 3,
  kLong = 4, kFloat = 5, kDouble = 8, kDouble32 = 9,
  kUChar = 11, kUShort = 12, kUInt = 13, kULong = 14,
  kBits = 15, kLong64 = 16, kULong64 = 17, kBool = 18,
  kFloat16 = 19, kObject = 61, kAny = 62, kObjectp = 63,
  kObjectP = 64, kTString = 65, kTObject = 66, kTNamed = 67,
  kAnyp = 68, kAnyP = 69, kAnyPnoVT = 70, kSTLp = 71,
  kSkip = 100, kSkipL = 120, kSkipP = 140, kConv = 200,
  kConvL = 220, kConvP = 240, kSTL = ROOT::kSTLany, kSTLstring = ROOT::kSTLstring,
  kStreamer = 500, kStreamLoop = 501, kCache = 600, kArtificial = 1000,
  kCacheNew = 1001, kCacheDelete = 1002, kNeedObjectForVirtualBaseClass = 99997, kMissing = 99999
}
 
- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 

Public Member Functions

 TVirtualStreamerInfo ()
 
 TVirtualStreamerInfo (TClass *)
 Default constructor. More...
 
virtual ~TVirtualStreamerInfo ()
 Destructor. More...
 
virtual void Build ()=0
 
virtual void BuildCheck (TFile *file=0)=0
 
virtual void BuildEmulated (TFile *file)=0
 
virtual void BuildOld ()=0
 
virtual Bool_t BuildFor (const TClass *cl)=0
 
virtual void CallShowMembers (const void *obj, TMemberInspector &insp, Bool_t isTransient) const =0
 
virtual void Clear (Option_t *)=0
 Set name and title to empty strings (""). More...
 
virtual Bool_t CompareContent (TClass *cl, TVirtualStreamerInfo *info, Bool_t warn, Bool_t complete, TFile *file)=0
 
virtual void Compile ()=0
 
virtual void ForceWriteInfo (TFile *file, Bool_t force=kFALSE)=0
 
virtual Int_t GenerateHeaderFile (const char *dirname, const TList *subClasses=0, const TList *extrainfos=0)=0
 
virtual TClassGetActualClass (const void *obj) const =0
 
virtual TClassGetClass () const =0
 
virtual UInt_t GetCheckSum () const =0
 
virtual Int_t GetClassVersion () const =0
 
virtual TStreamerElementGetElem (Int_t id) const =0
 
virtual TStreamerElementGetElement (Int_t id) const =0
 
virtual TObjArrayGetElements () const =0
 
virtual Int_t GetOffset (const char *) const =0
 
virtual Int_t GetOffset (Int_t id) const =0
 
virtual Int_t GetElementOffset (Int_t id) const =0
 
virtual Version_t GetOldVersion () const =0
 
virtual Int_t GetOnFileClassVersion () const =0
 
virtual Int_t GetNumber () const =0
 
virtual Int_t GetSize () const =0
 
virtual TStreamerElementGetStreamerElement (const char *datamember, Int_t &offset) const =0
 
Bool_t IsBuilt () const
 
Bool_t IsCompiled () const
 
Bool_t IsOptimized () const
 
Int_t IsRecovered () const
 
virtual void ls (Option_t *option="") const =0
 List TNamed name and title. More...
 
virtual TVirtualStreamerInfoNewInfo (TClass *cl)=0
 
virtual voidNew (void *obj=0)=0
 
virtual voidNewArray (Long_t nElements, void *ary=0)=0
 
virtual void Destructor (void *p, Bool_t dtorOnly=kFALSE)=0
 
virtual void DeleteArray (void *p, Bool_t dtorOnly=kFALSE)=0
 
virtual void SetCheckSum (UInt_t checksum)=0
 
virtual void SetClass (TClass *cl)=0
 
virtual void SetClassVersion (Int_t vers)=0
 
virtual void TagFile (TFile *fFile)=0
 
virtual void Update (const TClass *oldClass, TClass *newClass)=0
 
virtual TVirtualCollectionProxyGenEmulatedProxy (const char *class_name, Bool_t silent)=0
 
virtual TClassStreamerGenEmulatedClassStreamer (const char *class_name, Bool_t silent)=0
 
virtual TVirtualCollectionProxyGenExplicitProxy (const ::ROOT::Detail::TCollectionProxyInfo &info, TClass *cl)=0
 
virtual TClassStreamerGenExplicitClassStreamer (const ::ROOT::Detail::TCollectionProxyInfo &info, TClass *cl)=0
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual ~TNamed ()
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void SetName (const char *name)
 Change (i.e. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Change (i.e. set) all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Change (i.e. set) the title of the TNamed. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Static Public Member Functions

static Bool_t SetStreamMemberWise (Bool_t enable=kTRUE)
 Set whether the TStreamerInfos will save the collections in "member-wise" order whenever possible. More...
 
static const char * GetElementCounterStart (const char *dmTitle)
 Given a comment/title declaring an array counter, for example:

//[fArraySize] array of size fArraySize

return the start of the array dimension declaration start in the string (so the location of the 'f'. More...

 
static TStreamerBasicTypeGetElementCounter (const char *countName, TClass *cl)
 Get pointer to a TStreamerBasicType in TClass *cl static function. More...
 
static Bool_t CanOptimize ()
 static function returning true if optimization can be on More...
 
static Bool_t GetStreamMemberWise ()
 Return whether the TStreamerInfos will save the collections in "member-wise" order whenever possible. More...
 
static void Optimize (Bool_t opt=kTRUE)
 This is a static function. More...
 
static Bool_t CanDelete ()
 static function returning true if ReadBuffer can delete object More...
 
static void SetCanDelete (Bool_t opt=kTRUE)
 This is a static function. More...
 
static void SetFactory (TVirtualStreamerInfo *factory)
 static function: Set the StreamerInfo factory More...
 
static TVirtualStreamerInfoFactory ()
 Static function returning a pointer to a new TVirtualStreamerInfo object. More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

Protected Member Functions

 TVirtualStreamerInfo (const TVirtualStreamerInfo &info)
 copy constructor More...
 
TVirtualStreamerInfooperator= (const TVirtualStreamerInfo &)
 assignment operator More...
 
void ResetIsCompiled ()
 
void SetIsCompiled ()
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

Protected Attributes

Bool_t fOptimized: 1
 
Bool_t fIsBuilt: 1
 true if the StreamerInfo has been optimized More...
 
std::atomic< Bool_tfIsCompiled
 true if the StreamerInfo has been 'built' (i.e. has all the StreamerElements it should have) More...
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

Static Protected Attributes

static Bool_t fgCanDelete = kTRUE
 true if the StreamerInfo has been compiled (i.e. fully built, ready to use for streaming). More...
 
static Bool_t fgOptimize = kTRUE
 
static Bool_t fgStreamMemberWise = kTRUE
 
static TVirtualStreamerInfofgInfoFactory = 0
 

#include <TVirtualStreamerInfo.h>

+ Inheritance diagram for TVirtualStreamerInfo:
+ Collaboration diagram for TVirtualStreamerInfo:

Member Enumeration Documentation

anonymous enum
Enumerator
kCannotOptimize 
kIgnoreTObjectStreamer 
kRecovered 
kNeedCheck 
kIsCompiled 
kBuildOldUsed 
kBuildRunning 

Definition at line 69 of file TVirtualStreamerInfo.h.

Enumerator
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 
kNeedObjectForVirtualBaseClass 
kMissing 

Definition at line 78 of file TVirtualStreamerInfo.h.

Constructor & Destructor Documentation

TVirtualStreamerInfo::TVirtualStreamerInfo ( const TVirtualStreamerInfo info)
protected

copy constructor

Definition at line 52 of file TVirtualStreamerInfo.cxx.

TVirtualStreamerInfo::TVirtualStreamerInfo ( )
TVirtualStreamerInfo::TVirtualStreamerInfo ( TClass cl)

Default constructor.

Definition at line 44 of file TVirtualStreamerInfo.cxx.

TVirtualStreamerInfo::~TVirtualStreamerInfo ( )
virtual

Destructor.

Definition at line 71 of file TVirtualStreamerInfo.cxx.

Member Function Documentation

virtual void TVirtualStreamerInfo::Build ( )
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::GetStreamerInfo().

virtual void TVirtualStreamerInfo::BuildCheck ( TFile file = 0)
pure virtual
virtual void TVirtualStreamerInfo::BuildEmulated ( TFile file)
pure virtual

Implemented in TStreamerInfo.

virtual Bool_t TVirtualStreamerInfo::BuildFor ( const TClass cl)
pure virtual
virtual void TVirtualStreamerInfo::BuildOld ( )
pure virtual
virtual void TVirtualStreamerInfo::CallShowMembers ( const void obj,
TMemberInspector insp,
Bool_t  isTransient 
) const
pure virtual

Implemented in TStreamerInfo.

Bool_t TVirtualStreamerInfo::CanDelete ( )
static

static function returning true if ReadBuffer can delete object

Definition at line 78 of file TVirtualStreamerInfo.cxx.

Referenced by TConvertClonesArrayToProxy::operator()(), TConvertMapToProxy::operator()(), TBufferFile::ReadFastArray(), and TBufferSQL2::ReadFastArray().

Bool_t TVirtualStreamerInfo::CanOptimize ( )
static

static function returning true if optimization can be on

Definition at line 86 of file TVirtualStreamerInfo.cxx.

Referenced by TStreamerInfo::Compile().

virtual void TVirtualStreamerInfo::Clear ( Option_t option)
pure virtual

Set name and title to empty strings ("").

Reimplemented from TNamed.

Implemented in TStreamerInfo.

Referenced by TClass::ForceReload(), and TClass::Init().

virtual Bool_t TVirtualStreamerInfo::CompareContent ( TClass cl,
TVirtualStreamerInfo info,
Bool_t  warn,
Bool_t  complete,
TFile file 
)
pure virtual
virtual void TVirtualStreamerInfo::Compile ( )
pure virtual

Implemented in TStreamerInfo.

virtual void TVirtualStreamerInfo::DeleteArray ( void p,
Bool_t  dtorOnly = kFALSE 
)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::DeleteArray().

virtual void TVirtualStreamerInfo::Destructor ( void p,
Bool_t  dtorOnly = kFALSE 
)
pure virtual
TVirtualStreamerInfo * TVirtualStreamerInfo::Factory ( )
static

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.

Definition at line 177 of file TVirtualStreamerInfo.cxx.

Referenced by TClass::GetStreamerInfo(), TClass::Init(), and TClass::SetCollectionProxy().

virtual void TVirtualStreamerInfo::ForceWriteInfo ( TFile file,
Bool_t  force = kFALSE 
)
pure virtual
virtual TClassStreamer* TVirtualStreamerInfo::GenEmulatedClassStreamer ( const char *  class_name,
Bool_t  silent 
)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::Init().

virtual TVirtualCollectionProxy* TVirtualStreamerInfo::GenEmulatedProxy ( const char *  class_name,
Bool_t  silent 
)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::Init().

virtual Int_t TVirtualStreamerInfo::GenerateHeaderFile ( const char *  dirname,
const TList subClasses = 0,
const TList extrainfos = 0 
)
pure virtual

Implemented in TStreamerInfo.

virtual TClassStreamer* TVirtualStreamerInfo::GenExplicitClassStreamer ( const ::ROOT::Detail::TCollectionProxyInfo info,
TClass cl 
)
pure virtual

Implemented in TStreamerInfo.

virtual TVirtualCollectionProxy* TVirtualStreamerInfo::GenExplicitProxy ( const ::ROOT::Detail::TCollectionProxyInfo info,
TClass cl 
)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::SetCollectionProxy().

virtual TClass* TVirtualStreamerInfo::GetActualClass ( const void obj) const
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::GetActualClass().

virtual UInt_t TVirtualStreamerInfo::GetCheckSum ( ) const
pure virtual
virtual TClass* TVirtualStreamerInfo::GetClass ( ) const
pure virtual
virtual Int_t TVirtualStreamerInfo::GetClassVersion ( ) const
pure virtual
virtual TStreamerElement* TVirtualStreamerInfo::GetElem ( Int_t  id) const
pure virtual

Implemented in TStreamerInfo.

virtual TStreamerElement* TVirtualStreamerInfo::GetElement ( Int_t  id) const
pure virtual
TStreamerBasicType * TVirtualStreamerInfo::GetElementCounter ( const char *  countName,
TClass cl 
)
static

Get pointer to a TStreamerBasicType in TClass *cl static function.

Definition at line 117 of file TVirtualStreamerInfo.cxx.

Referenced by TStreamerInfo::Build(), and InitCounter().

const char * TVirtualStreamerInfo::GetElementCounterStart ( const char *  dmTitle)
static

Given a comment/title declaring an array counter, for example:

//[fArraySize] array of size fArraySize

return the start of the array dimension declaration start in the string (so the location of the 'f'.

Definition at line 99 of file TVirtualStreamerInfo.cxx.

Referenced by TStreamerInfo::Build(), TStreamerInfo::GetCheckSum(), and TClass::GetCheckSum().

virtual Int_t TVirtualStreamerInfo::GetElementOffset ( Int_t  id) const
pure virtual
virtual TObjArray* TVirtualStreamerInfo::GetElements ( ) const
pure virtual
virtual Int_t TVirtualStreamerInfo::GetNumber ( ) const
pure virtual
virtual Int_t TVirtualStreamerInfo::GetOffset ( const char *  ) const
pure virtual
virtual Int_t TVirtualStreamerInfo::GetOffset ( Int_t  id) const
pure virtual

Implemented in TStreamerInfo.

virtual Version_t TVirtualStreamerInfo::GetOldVersion ( ) const
pure virtual
virtual Int_t TVirtualStreamerInfo::GetOnFileClassVersion ( ) const
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::PostLoadCheck().

virtual Int_t TVirtualStreamerInfo::GetSize ( ) const
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::Size().

virtual TStreamerElement* TVirtualStreamerInfo::GetStreamerElement ( const char *  datamember,
Int_t offset 
) const
pure virtual

Implemented in TStreamerInfo.

Bool_t TVirtualStreamerInfo::GetStreamMemberWise ( )
static

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).

Definition at line 155 of file TVirtualStreamerInfo.cxx.

Referenced by TStreamerInfo::WriteBufferAux().

Bool_t TVirtualStreamerInfo::IsBuilt ( ) const
inline

Definition at line 150 of file TVirtualStreamerInfo.h.

Referenced by TStreamerInfo::BuildCheck().

Bool_t TVirtualStreamerInfo::IsCompiled ( ) const
inline
Bool_t TVirtualStreamerInfo::IsOptimized ( ) const
inline

Definition at line 152 of file TVirtualStreamerInfo.h.

Int_t TVirtualStreamerInfo::IsRecovered ( ) const
inline
virtual void TVirtualStreamerInfo::ls ( Option_t option = "") const
pure virtual

List TNamed name and title.

Reimplemented from TNamed.

Implemented in TStreamerInfo.

virtual void* TVirtualStreamerInfo::New ( void obj = 0)
pure virtual

Implemented in TStreamerInfo.

Referenced by TStreamerInfo::New(), and TClass::New().

virtual void* TVirtualStreamerInfo::NewArray ( Long_t  nElements,
void ary = 0 
)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::NewArray().

virtual TVirtualStreamerInfo* TVirtualStreamerInfo::NewInfo ( TClass cl)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::GetStreamerInfo().

TVirtualStreamerInfo & TVirtualStreamerInfo::operator= ( const TVirtualStreamerInfo info)
protected

assignment operator

Definition at line 60 of file TVirtualStreamerInfo.cxx.

void TVirtualStreamerInfo::Optimize ( Bool_t  opt = kTRUE)
static

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.

Definition at line 167 of file TVirtualStreamerInfo.cxx.

void TVirtualStreamerInfo::ResetIsCompiled ( )
inlineprotected

Definition at line 57 of file TVirtualStreamerInfo.h.

Referenced by TStreamerInfo::Clear().

void TVirtualStreamerInfo::SetCanDelete ( Bool_t  opt = kTRUE)
static

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);

Definition at line 220 of file TVirtualStreamerInfo.cxx.

virtual void TVirtualStreamerInfo::SetCheckSum ( UInt_t  checksum)
pure virtual

Implemented in TStreamerInfo.

virtual void TVirtualStreamerInfo::SetClass ( TClass cl)
pure virtual
virtual void TVirtualStreamerInfo::SetClassVersion ( Int_t  vers)
pure virtual

Implemented in TStreamerInfo.

void TVirtualStreamerInfo::SetFactory ( TVirtualStreamerInfo factory)
static

static function: Set the StreamerInfo factory

Definition at line 228 of file TVirtualStreamerInfo.cxx.

Referenced by R__InitStreamerInfoFactory().

void TVirtualStreamerInfo::SetIsCompiled ( )
inlineprotected

Definition at line 61 of file TVirtualStreamerInfo.h.

Referenced by TStreamerInfo::Compile().

Bool_t TVirtualStreamerInfo::SetStreamMemberWise ( Bool_t  enable = kTRUE)
static

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 indicates object-wise storing This function returns the previous value of fgStreamMemberWise.

Definition at line 243 of file TVirtualStreamerInfo.cxx.

virtual void TVirtualStreamerInfo::TagFile ( TFile fFile)
pure virtual

Implemented in TStreamerInfo.

virtual void TVirtualStreamerInfo::Update ( const TClass oldClass,
TClass newClass 
)
pure virtual

Implemented in TStreamerInfo.

Referenced by TClass::ReplaceWith().

Member Data Documentation

Bool_t TVirtualStreamerInfo::fgCanDelete = kTRUE
staticprotected

true if the StreamerInfo has been compiled (i.e. fully built, ready to use for streaming).

Definition at line 49 of file TVirtualStreamerInfo.h.

Referenced by CanDelete(), and SetCanDelete().

TVirtualStreamerInfo * TVirtualStreamerInfo::fgInfoFactory = 0
staticprotected

Definition at line 52 of file TVirtualStreamerInfo.h.

Referenced by Factory(), and SetFactory().

Bool_t TVirtualStreamerInfo::fgOptimize = kTRUE
staticprotected

Definition at line 50 of file TVirtualStreamerInfo.h.

Referenced by CanOptimize(), and Optimize().

Bool_t TVirtualStreamerInfo::fgStreamMemberWise = kTRUE
staticprotected

Definition at line 51 of file TVirtualStreamerInfo.h.

Referenced by GetStreamMemberWise(), and SetStreamMemberWise().

Bool_t TVirtualStreamerInfo::fIsBuilt
protected

true if the StreamerInfo has been optimized

Definition at line 45 of file TVirtualStreamerInfo.h.

Referenced by TStreamerInfo::Build(), TStreamerInfo::BuildCheck(), and IsBuilt().

std::atomic<Bool_t> TVirtualStreamerInfo::fIsCompiled
protected

true if the StreamerInfo has been 'built' (i.e. has all the StreamerElements it should have)

Definition at line 46 of file TVirtualStreamerInfo.h.

Referenced by TStreamerInfo::Build(), and IsCompiled().

Bool_t TVirtualStreamerInfo::fOptimized
protected

Definition at line 44 of file TVirtualStreamerInfo.h.

Referenced by TStreamerInfo::Compile(), and IsOptimized().


The documentation for this class was generated from the following files: