Ignore:
Timestamp:
12/18/03 12:05:36 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mdata
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mdata/MDataMember.cc

    r2173 r2710  
    6363    fCall   = call;
    6464
     65    if (fCall->ReturnType()==TMethodCall::kLong)
     66        SetBit(kIsInt);
     67    else
     68        ResetBit(kIsInt);
     69
    6570    fDataMember = (TString)obj->GetName() + "." + call->GetName();
    6671}
     
    7782    fObject = obj;
    7883    fCall   = obj->GetterMethod(call);
     84
     85    if (fCall->ReturnType()==TMethodCall::kLong)
     86        SetBit(kIsInt);
     87    else
     88        ResetBit(kIsInt);
    7989
    8090    fDataMember = (TString)obj->GetName() + "." + call;
  • trunk/MagicSoft/Mars/mdata/MDataMember.h

    r1574 r2710  
    2020    TMethodCall   *fCall;
    2121
     22    enum { kIsInt = BIT(14) };
     23
    2224public:
    2325    MDataMember(const char *member=NULL) : fObject(NULL), fCall(NULL)
     
    3941    TString GetDataMember() const;
    4042
     43    Bool_t IsInt() const { return TestBit(kIsInt); }
     44
    4145    ClassDef(MDataMember, 1) // MData object corresponding to a single data member of a Mars container
    4246};
Note: See TracChangeset for help on using the changeset viewer.