Ignore:
Timestamp:
08/04/08 12:15:20 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MParEmulated.h

    r9043 r9079  
    1414#ifndef __CINT__
    1515#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    }
    1721#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    }
    1927#endif
    2028#endif
    21     TMethodCall *GetMethodCall(const char *get, Int_t offset) const;
     29    TMethodCall *GetMethodCall(const char *get, Int_t offset, TVirtualCollectionProxy *proxy=0) const;
    2230
    2331public:
     
    2836    Byte_t **GetPtr() { return &fPtr; }
    2937
    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;
    3247
    3348    TMethodCall *GetterMethod(const char *name, TString cls, Int_t offset=0) const;
Note: See TracChangeset for help on using the changeset viewer.