library: libCore #include "TStreamerElement.h" |
public:
TStreamerElement() TStreamerElement(const char* name, const char* title, Int_t offset, Int_t dtype, const char* typeName) TStreamerElement(const TStreamerElement&) virtual ~TStreamerElement() virtual Bool_t CannotSplit() const static TClass* Class() Int_t GetArrayDim() const Int_t GetArrayLength() const TClass* GetClass() const virtual TClass* GetClassPointer() const virtual Int_t GetExecID() const Double_t GetFactor() const virtual const char* GetFullName() const virtual const char* GetInclude() const Int_t GetMaxIndex(Int_t i) const virtual ULong_t GetMethod() const Int_t GetNewType() const Int_t GetOffset() const virtual Int_t GetSize() const TMemberStreamer* GetStreamer() const Int_t GetTObjectOffset() const Int_t GetType() const const char* GetTypeName() const const char* GetTypeNameBasic() const Double_t GetXmax() const Double_t GetXmin() const virtual Bool_t HasCounter() const virtual void Init(TObject* obj = 0) virtual TClass* IsA() const virtual Bool_t IsaPointer() const virtual Bool_t IsBase() const virtual Bool_t IsOldFormat(const char* newTypeName) virtual void ls(Option_t* option = "") const TStreamerElement& operator=(const TStreamerElement&) virtual void SetArrayDim(Int_t dim) virtual void SetMaxIndex(Int_t dim, Int_t max) virtual void SetNewType(Int_t dtype) virtual void SetOffset(Int_t offset) virtual void SetSize(Int_t dsize) virtual void SetStreamer(TMemberStreamer* streamer) virtual void SetTObjectOffset(Int_t tobjoffset) virtual void SetType(Int_t dtype) virtual void SetTypeName(const char* name) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) virtual void Update(const TClass* oldClass, TClass* newClass)
protected:
Int_t fType element type Int_t fSize sizeof element Int_t fArrayLength cumulative size of all array dims Int_t fArrayDim number of array dimensions Int_t fMaxIndex[5] Maximum array index for array dimension "dim" Int_t fOffset !element offset in class Int_t fTObjectOffset !base offset for TObject if the element inherits from it Int_t fNewType !new element type when reading TString fTypeName Data type name of data member TClass* fClassObject !pointer to class of object TMemberStreamer* fStreamer !pointer to element Streamer TMethodCall* fMethod !pointer to TMethodCall Double_t fXmin !Minimum of data member if a range is specified [xmin,xmax,nbits] Double_t fXmax !Maximum of data member if a range is specified [xmin,xmax,nbits] Double_t fFactor !Conversion factor if a range is specified fFactor = (1<<nbits/(xmax-xmin) public:
static const TStreamerElement::ESTLtype kSTL static const TStreamerElement::ESTLtype kSTLstring static const TStreamerElement::ESTLtype kSTLvector static const TStreamerElement::ESTLtype kSTLlist static const TStreamerElement::ESTLtype kSTLdeque static const TStreamerElement::ESTLtype kSTLmap static const TStreamerElement::ESTLtype kSTLset static const TStreamerElement::ESTLtype kSTLmultimap static const TStreamerElement::ESTLtype kSTLmultiset static const enum TStreamerElement:: kHasRange
Create a TStreamerElement object.
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.
Returns the TExec id for the EXEC instruction in the comment field of a TRef data member.
Return element name including dimensions, if any Note that this function stores the name into a static array. You should may be copy the result.
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.
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.
function called by the TClass constructor when replacing an emulated class by the real class