12 #ifndef ROOT_TStreamerElement 13 #define ROOT_TStreamerElement 155 void InitStreaming();
202 const char *countName,
const char *countClass,
Int_t version,
const char *typeName);
238 TStreamerLoop(
const char *
name,
const char *title,
Int_t offset,
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
ESTLtype
Conversion factor if a range is specified fFactor = (1<<nbits/(xmax-xmin)
ROOT::TSchemaRule::ReadFuncPtr_t fReadFunc
void(* ReadRawFuncPtr_t)(char *, TBuffer &)
Int_t fNewType
base offset for TObject if the element inherits from it
void(* ClassStreamerFunc_t)(TBuffer &, void *)
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.
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.
Double_t fXmin
pointer to element Streamer
T ReadBuffer(TBufferFile *buf)
One of the template functions used to read objects from messages.
const char * GetCountClass() const
void SetCountVersion(Int_t count)
Buffer base class used for serializing objects.
virtual void SetTypeName(const char *name)
TClass * GetNewClass() const
void SetReadFunc(ROOT::TSchemaRule::ReadFuncPtr_t val)
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.
TClass * fBaseClass
checksum of the base class (used during memberwise streaming)
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
virtual void SetMaxIndex(Int_t dim, Int_t max)
set maximum index for array with dimension dim
virtual Bool_t IsaPointer() const
Double_t GetFactor() const
const char * Data() const
virtual Bool_t IsaPointer() const
#define ClassDef(name, id)
virtual void Init(TObject *obj=0)
Initliaze the element.
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 * GetCountName() const
virtual void SetNewClass(TClass *cl)
virtual Bool_t IsaPointer() const
void SetCountClass(const char *clname)
Method or function calling interface.
void SetCountVersion(Int_t count)
virtual const char * GetInclude() const
Int_t GetCountVersion() const
void(* ClassConvStreamerFunc_t)(TBuffer &, void *, const TClass *)
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 SetStreamer(TMemberStreamer *streamer)
set pointer to Streamer function for this element
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 Bool_t HasCounter() const
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)
TStreamerElement()
Default ctor.
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 void Update(const TClass *, TClass *)
function called by the TClass constructor when replacing an emulated class by the real class ...
Wrapper around an object and giving indirect access to its content even if the object is not of a cla...
TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
const char * GetCountName() const
void(* ReadFuncPtr_t)(char *, TVirtualObject *)
virtual TClass * GetClassPointer() const
Returns a pointer to the TClass of this element.
void SetNewBaseClass(TClass *cl)
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...
virtual void SetTObjectOffset(Int_t tobjoffset)
TMemberStreamer * GetStreamer() const
Return the local streamer object.
TClass * fNewClass
pointer to class of object
const char * GetErrorMessage() const
TMemberStreamer * fStreamer
new element class when reading
TClass * GetClass() const
Mother of all ROOT objects.
virtual ULong_t GetMethod() const
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'.
virtual void SetNewType(Int_t dtype)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
virtual Bool_t HasCounter() const
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.
virtual const char * GetFullName() const
Return element name including dimensions, if any Note that this function stores the name into a stati...
TStreamerBasicType * fCounter
Abstract Interface class describing Streamer information for one class.
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 &)
virtual Bool_t HasCounter() const
TStreamerBasicType * fCounter
TString fTypeName
new element type when reading
Int_t GetArrayLength() const
void SetCountName(const char *name)