Changeset 9079 for trunk/MagicSoft/Mars/mbase/MParEmulated.h
- Timestamp:
- 08/04/08 12:15:20 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MParEmulated.h
r9043 r9079 14 14 #ifndef __CINT__ 15 15 #if ROOT_VERSION_CODE<ROOT_VERSION(5,18,00) 16 TStreamerInfo *GetStreamerInfo(const TString &clsname) const; 16 TStreamerInfo *GetStreamerInfo(const TString &cls, TVirtualCollectionProxy* &proxy, Int_t &offset) const; 17 TStreamerInfo *GetStreamerInfo(const TString &cls, Int_t &offset) const 18 { 19 TVirtualCollectionProxy *proxy = 0; return GetStreamerInfo(cls, proxy, offset); 20 } 17 21 #else 18 TVirtualStreamerInfo *GetStreamerInfo(const TString &clsname) const; 22 TVirtualStreamerInfo *GetStreamerInfo(const TString &cls, TVirtualCollectionProxy* &proxy, Int_t &offset) const; 23 TVirtualStreamerInfo *GetStreamerInfo(const TString &cls, Int_t &offset) const 24 { 25 TVirtualCollectionProxy *proxy = 0; return GetStreamerInfo(cls, proxy, offset); 26 } 19 27 #endif 20 28 #endif 21 TMethodCall *GetMethodCall(const char *get, Int_t offset ) const;29 TMethodCall *GetMethodCall(const char *get, Int_t offset, TVirtualCollectionProxy *proxy=0) const; 22 30 23 31 public: … … 28 36 Byte_t **GetPtr() { return &fPtr; } 29 37 30 Int_t GetInt(Int_t offset) const { return *reinterpret_cast<Int_t*> (fPtr+offset); } 31 Double_t GetDouble(Int_t offset) const { return *reinterpret_cast<Double_t*>(fPtr+offset); } 38 int GetInt(Int_t offset) const { return *reinterpret_cast<int*>(fPtr+offset); } 39 Int_t GetInt_t(Int_t offset) const { return *reinterpret_cast<Int_t*>(fPtr+offset); } 40 double GetDouble(Int_t offset) const { return *reinterpret_cast<double*>(fPtr+offset); } 41 unsigned long long GetULongLong(Int_t offset) const { return *reinterpret_cast<unsigned long long*>(fPtr+offset); } 42 43 int GetPInt(TVirtualCollectionProxy *proxy, Int_t offset) const; 44 Int_t GetPInt_t(TVirtualCollectionProxy *proxy, Int_t offset) const; 45 double GetPDouble(TVirtualCollectionProxy *proxy, Int_t offset) const; 46 unsigned long long GetPULongLong(TVirtualCollectionProxy *proxy, Int_t offset) const; 32 47 33 48 TMethodCall *GetterMethod(const char *name, TString cls, Int_t offset=0) const;
Note:
See TracChangeset
for help on using the changeset viewer.