/usr/include/root/TRealData.h is in libroot-core-dev 5.34.14-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | // @(#)root/meta:$Id$
// Author: Rene Brun 05/03/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TRealData
#define ROOT_TRealData
//////////////////////////////////////////////////////////////////////////
// //
// TRealData //
// //
// Description of persistent data members. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TDataMember;
class TRealData : public TObject {
private:
TDataMember *fDataMember; //pointer to data member descriptor
Long_t fThisOffset; //offset with the THIS object pointer
TString fName; //Concatenated names of this realdata
TMemberStreamer *fStreamer; //Object to stream the data member.
Bool_t fIsObject; //true if member is an object
TRealData(const TRealData& rhs); // Copying TRealData in not allowed.
TRealData& operator=(const TRealData& rhs); // Copying TRealData in not allowed.
public:
enum {
kTransient = BIT(14) // The member is transient.
};
TRealData();
TRealData(const char *name, Long_t offset, TDataMember *datamember);
virtual ~TRealData();
void AdoptStreamer(TMemberStreamer *p);
virtual const char *GetName() const {return fName.Data();}
TDataMember *GetDataMember() const {return fDataMember;}
TMemberStreamer *GetStreamer() const;
Long_t GetThisOffset() const {return fThisOffset;}
Bool_t IsObject() const {return fIsObject;}
void SetIsObject(Bool_t isObject) {fIsObject=isObject;}
void WriteRealData(void *pointer, char *&buffer);
ClassDef(TRealData,0) //Description of persistent data members
};
#endif
|