#ifndef ROOT_TDataMember
#define ROOT_TDataMember
#ifndef ROOT_TDictionary
#include "TDictionary.h"
#endif
class TList;
class TClass;
class TDataType;
class TMethodCall;
class TDataMember : public TDictionary {
private:
enum { kObjIsPersistent = BIT(2) };
DataMemberInfo_t *fInfo;
TClass *fClass;
TDataType *fDataType;
Long_t fOffset;
Int_t fSTLCont;
Long_t fProperty;
TString fTypeName;
TString fFullTypeName;
TString fTrueTypeName;
TMethodCall *fValueGetter;
TMethodCall *fValueSetter;
TList *fOptions;
protected:
TDataMember(const TDataMember&);
TDataMember& operator=(const TDataMember&);
public:
TDataMember(DataMemberInfo_t *info = 0, TClass *cl = 0);
virtual ~TDataMember();
Int_t GetArrayDim() const;
Int_t GetMaxIndex(Int_t dim) const;
TClass *GetClass() const { return fClass; }
TDataType *GetDataType() const { return fDataType; }
Long_t GetOffset() const;
Long_t GetOffsetCint() const;
const char *GetTypeName() const;
const char *GetFullTypeName() const;
const char *GetTrueTypeName() const;
const char *GetArrayIndex() const;
Int_t GetUnitSize() const;
TList *GetOptions() const;
TMethodCall *SetterMethod(TClass *cl);
TMethodCall *GetterMethod(TClass *cl = 0);
Bool_t IsBasic() const;
Bool_t IsEnum() const;
Bool_t IsaPointer() const;
Bool_t IsPersistent() const { return TestBit(kObjIsPersistent); }
Int_t IsSTLContainer();
Long_t Property() const;
ClassDef(TDataMember,0)
};
class TOptionListItem : public TObject {
protected:
TOptionListItem(const TOptionListItem&);
TOptionListItem& operator=(const TOptionListItem&);
public:
TDataMember *fDataMember;
Long_t fValue;
Long_t fValueMaskBit;
Long_t fToggleMaskBit;
char *fOptName;
char *fOptLabel;
TOptionListItem(TDataMember *m,Long_t val, Long_t valmask, Long_t tglmask,
const char *name, const char *label);
~TOptionListItem();
};
#endif
Last change: Wed Dec 3 08:49:06 2008
Last generated: 2008-12-03 08:49
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.