12 #ifndef ROOT_TStreamerElement
13 #define ROOT_TStreamerElement
202 const char *countName,
const char *countClass,
Int_t version,
const char *typeName);
397 const char *typeName,
const char *trueType,
Bool_t dmPointer);
427 const char *typeName,
Bool_t dmPointer);
454 TStreamerArtificial(
const char *
name,
const char *
title,
Int_t offset,
Int_t dtype,
const char *typeName) :
TStreamerElement(name,title,offset,dtype,typeName),
fReadFunc(0),
fReadRawFunc(0) {}
Int_t GetTObjectOffset() const
const char * GetInclude() const
Return the proper include for this element.
TStreamerBasicType()
value of data member when referenced by an array
virtual ~TStreamerBase()
TStreamerBase dtor.
ESTLtype
Conversion factor if a range is specified fFactor = (1<<nbits/(xmax-xmin)
ROOT::TSchemaRule::ReadFuncPtr_t fReadFunc
Bool_t CannotSplit() const
We can not split STL's which are inside a variable size array.
Int_t fNewType
base offset for TObject if the element inherits from it
virtual void SetOffset(Int_t offset)
Int_t GetCountVersion() const
const char * GetTypeName() const
ClassConvStreamerFunc_t fConvStreamerFunc
Pointer to a wrapper around a custom streamer member function.
TStreamerBase & operator=(const TStreamerBase &)
TStreamerArtificial(const char *name, const char *title, Int_t offset, Int_t dtype, const char *typeName)
virtual void SetSize(Int_t dsize)
virtual Bool_t CannotSplit() const
Returns true if the element cannot be split, false otherwise.
Bool_t IsaPointer() const
Return true if the data member is a pointer.
Double_t fXmin
pointer to element Streamer
virtual void Init(TObject *obj=0)
Setup the element.
TStreamerObjectPointer & operator=(const TStreamerObjectPointer &)
virtual void SetArrayDim(Int_t dim)
Set number of array dimensions.
const char * GetCountClass() const
void SetCountVersion(Int_t count)
TStreamerObject & operator=(const TStreamerObject &)
virtual ~TStreamerObjectAny()
TStreamerObjectAny dtor.
Buffer base class used for serializing objects.
virtual void SetTypeName(const char *name)
Int_t GetSize() const
Returns size of objectpointer in bytes.
TClass * GetNewClass() const
void SetReadFunc(ROOT::TSchemaRule::ReadFuncPtr_t val)
TStreamerString & operator=(const TStreamerString &)
virtual Bool_t IsTransient() const
Return kTRUE if the element represent an entity that is not written to the disk (transient members...
virtual Int_t GetSize() const
Returns size of this element in bytes.
TStreamerBasicType & operator=(const TStreamerBasicType &)
TClass * fBaseClass
checksum of the base class (used during memberwise streaming)
const char * GetInclude() const
Return the proper include for this element.
virtual ~TStreamerObjectAnyPointer()
TStreamerObjectAnyPointer dtor.
ClassStreamerFunc_t fStreamerFunc
pointer to new base class if renamed
virtual Bool_t IsBase() const
Return kTRUE if the element represent a base class.
virtual void SetArrayDim(Int_t dim)
Set number of array dimensions.
virtual ~TStreamerElement()
TStreamerElement dtor.
ULong_t GetMethod() const
return address of counter
ULong_t GetMethod() const
TStreamerArtificial(const TStreamerArtificial &)
TStreamerObjectAnyPointer & operator=(const TStreamerObjectAnyPointer &)
virtual void SetMaxIndex(Int_t dim, Int_t max)
set maximum index for array with dimension dim
virtual ~TStreamerBasicType()
TStreamerBasicType dtor.
Int_t GetSize() const
Returns size of anyclass in bytes.
virtual Bool_t IsaPointer() const
Double_t GetFactor() const
TStreamerLoop & operator=(const TStreamerLoop &)
const char * Data() const
ULong_t GetMethod() const
return offset of counter
virtual Bool_t IsaPointer() const
#define ClassDef(name, id)
virtual void Init(TObject *obj=0)
Initliaze the element.
Int_t GetSize() const
Returns size of anyclass in bytes.
TStreamerArtificial & operator=(const TStreamerArtificial &)
const char * GetCountClass() const
virtual Bool_t IsaPointer() const
The TNamed class is the base class for all named ROOT classes.
TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
const char * GetInclude() const
Return the proper include for this element.
const char * GetCountName() const
Int_t GetSize() const
Returns size of counter in bytes.
virtual void Init(TObject *obj=0)
Setup the element.
virtual void SetNewClass(TClass *cl)
virtual Bool_t IsaPointer() const
TStreamerBasicPointer & operator=(const TStreamerBasicPointer &)
void(* ReadFuncPtr_t)(char *, TVirtualObject *)
const char * GetInclude() const
Return the proper include for this element.
Int_t GetSize() const
Returns size of baseclass in bytes.
const char * GetInclude() const
Return the proper include for this element.
void SetCountClass(const char *clname)
Method or function calling interface.
virtual ~TStreamerObject()
TStreamerObject dtor.
virtual ~TStreamerString()
TStreamerString dtor.
void SetCountVersion(Int_t count)
virtual const char * GetInclude() const
virtual void Init(TObject *obj=0)
Setup the element.
Int_t GetCountVersion() const
virtual ~TStreamerBasicPointer()
TStreamerBasicPointer dtor.
Int_t GetArrayDim() const
virtual void Update(const TClass *oldClass, TClass *newClass)
function called by the TClass constructor when replacing an emulated class by the real class ...
Double_t fXmax
Minimum of data member if a range is specified [xmin,xmax,nbits].
virtual void ls(Option_t *option="") const
Print the content of the element.
virtual void SetStreamer(TMemberStreamer *streamer)
set pointer to Streamer function for this element
TStreamerObjectAnyPointer()
void SetErrorMessage(const char *msg)
Int_t fTObjectOffset
element offset in class
virtual void ls(Option_t *option="") const
Print the content of the element.
virtual ~TStreamerSTLstring()
TStreamerSTLstring dtor.
virtual Bool_t HasCounter() const
Int_t GetSize() const
Returns size of basicpointer in bytes.
virtual void Update(const TClass *oldClass, TClass *newClass)
Function called by the TClass constructor when replacing an emulated class by the real class...
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
TStreamerBasicPointer()
pointer to basic type counter
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 SetCountClass(const char *clname)
Int_t GetMaxIndex(Int_t i) const
TClass * GetNewBaseClass()
void SetBaseCheckSum(UInt_t cs)
TStreamerLoop()
pointer to basic type counter
Int_t WriteBuffer(TBuffer &b, char *pointer)
Write the base class into the buffer.
virtual Int_t GetExecID() const
Returns the TExec id for the EXEC instruction in the comment field of a TRef data member...
virtual Bool_t IsaPointer() const
ROOT::TSchemaRule::ReadRawFuncPtr_t fReadRawFunc
The ROOT global object gROOT contains a list of all defined classes.
void SetCountName(const char *name)
virtual ~TStreamerObjectPointer()
TStreamerObjectPointer dtor.
Int_t GetSize() const
Returns size of objectpointer in bytes.
virtual void Update(const TClass *, TClass *)
function called by the TClass constructor when replacing an emulated class by the real class ...
virtual void Init(TObject *obj=0)
Setup the element.
Wrapper around an object and giving indirect access to its content even if the object is not of a cla...
Int_t GetSize() const
Returns size of this element in bytes.
TStreamerObjectAny & operator=(const TStreamerObjectAny &)
TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
const char * GetCountName() const
void(* ReadRawFuncPtr_t)(char *, TBuffer &)
virtual ~TStreamerLoop()
TStreamerLoop dtor.
virtual void SetStreamer(TMemberStreamer *streamer)
Set pointer to Streamer function for this element NOTE: we do not take ownership. ...
ULong_t GetMethod() const
return address of counter
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
const char * GetInclude() const
Return the proper include for this element.
ClassDef(TStreamerArtificial, 0)
void(* ClassStreamerFunc_t)(TBuffer &, void *)
void SetNewBaseClass(TClass *cl)
virtual void ls(Option_t *option="") const
Print the content of the element.
virtual void Init(TObject *obj=0)
Setup the element.
virtual void SetType(Int_t dtype)
virtual 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 i...
Int_t GetSize() const
Returns size of object class in bytes.
virtual void SetTObjectOffset(Int_t tobjoffset)
TStreamerSTL & operator=(const TStreamerSTL &)
TMemberStreamer * GetStreamer() const
Return the local streamer object.
Bool_t IsBase() const
Return kTRUE if the element represent a base class.
Int_t GetSize() const
Returns size of STL container in bytes.
TClass * fNewClass
pointer to class of object
const char * GetErrorMessage() const
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
TMemberStreamer * fStreamer
new element class when reading
TClass * GetClass() const
Mother of all ROOT objects.
const char * GetInclude() const
Return the proper include for this element.
virtual void Init(TObject *obj=0)
Setup the element.
Bool_t IsBase() const
Return kTRUE if the element represent a base class.
virtual ULong_t GetMethod() const
virtual void SetArrayDim(Int_t dim)
Set number of array dimensions.
void(* ClassConvStreamerFunc_t)(TBuffer &, void *, const TClass *)
TStreamerSTLstring & operator=(const TStreamerSTLstring &)
virtual void Update(const TClass *, TClass *)
function called by the TClass constructor when replacing an emulated class by the real class ...
void GetSequenceType(TString &type) const
Fill type with the string representation of sequence information including 'cached','repeat','write' or 'nodelete'.
void SetArrayDim(Int_t dim)
Set number of array dimensions.
const char * GetInclude() const
Return the proper include for this element.
virtual void SetNewType(Int_t dtype)
ROOT::TSchemaRule::ReadFuncPtr_t GetReadFunc()
virtual Bool_t HasCounter() const
Int_t ReadBuffer(TBuffer &b, char *pointer)
Read the content of the buffer.
TVirtualStreamerInfo * GetBaseStreamerInfo() const
Double_t fFactor
Maximum of data member if a range is specified [xmin,xmax,nbits].
void SetBaseVersion(Int_t v)
TString fErrorMsg
Pointer to the current StreamerInfo for the baset class.
ROOT::TSchemaRule::ReadRawFuncPtr_t GetReadRawFunc()
virtual const char * GetFullName() const
Return element name including dimensions, if any Note that this function stores the name into a stati...
virtual void Init(TObject *obj=0)
Setup the element.
TStreamerBasicType * fCounter
Abstract Interface class describing Streamer information for one class.
virtual ~TStreamerSTL()
TStreamerSTL dtor.
Int_t GetSize() const
Returns size of anyclass in bytes.
TClass * fNewBaseClass
pointer to base class
TVirtualStreamerInfo * fStreamerInfo
Pointer to a wrapper around a custom convertion streamer member function.
void SetReadRawFunc(ROOT::TSchemaRule::ReadRawFuncPtr_t val)
TStreamerElement & operator=(const TStreamerElement &)
void InitStreaming()
Error message in case of checksum/version mismatch.
virtual Bool_t HasCounter() const
TStreamerBasicType * fCounter
TString fTypeName
new element type when reading
Int_t GetArrayLength() const
void SetCountName(const char *name)
const char * GetInclude() const
Return the proper include for this element.