15 #include "TClassEdit.h" 34 fStreamer(0), fIsObject(
kFALSE)
44 :
TObject(), fDataMember(datamember), fThisOffset(offset), fName(name),
45 fStreamer(0), fIsObject(
kFALSE)
82 if (TClassEdit::IsStdArray(dmType)) {
83 std::string typeNameBuf;
85 std::array<Int_t, 5> maxIndices;
86 TClassEdit::GetStdArrayProperties(dmType,
91 for (
Int_t idim = 0; idim < ndim; ++idim) {
105 for (
int idim = 0; idim < dm->
GetArrayDim(); ++idim)
TMemberStreamer * fStreamer
virtual const char * GetName() const
Returns name of object.
All ROOT classes may have RTTI (run time type identification) support added.
TRealData()
RealData default constructor.
const char * GetTypeName() const
Get type of data member, e,g.: "class TDirectory*" -> "TDirectory".
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString...
void Clear()
Clear string without changing its capacity.
void AdoptStreamer(TMemberStreamer *p)
virtual ~TRealData()
RealData default destructor.
Int_t GetMaxIndex(Int_t dim) const
Return maximum index for array dimension "dim".
void WriteRealData(void *pointer, char *&buffer)
Write one persistent data member on output buffer.
TMemberStreamer * GetStreamer() const
Return the associate streamer object.
The TRealData class manages the effective list of all data members for a given class.
Int_t GetArrayDim() const
Return number of array dimensions.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
Bool_t IsaPointer() const
Return true if data member is a pointer.