12 #ifndef ROOT_TDataMember
13 #define ROOT_TDataMember
24 #ifndef ROOT_TDictionary
60 void Init(
bool afterReading);
94 virtual bool Update(DataMemberInfo_t *info);
113 fDataMember(0), fValue(0), fValueMaskBit(0), fToggleMaskBit(0)
116 const char *
name,
const char *label);
void Init(bool afterReading)
Routines called by the constructor and Update to reset the member's information.
TMethodCall * SetterMethod(TClass *cl)
Return a TMethodCall method responsible for setting the value of data member.
TMethodCall * GetterMethod(TClass *cl=0)
Return a TMethodCall method responsible for getting the value of data member.
Int_t GetUnitSize() const
Get the sizeof the underlying type of the data member (i.e.
All ROOT classes may have RTTI (run time type identification) support added.
Bool_t IsPersistent() const
TMethodCall * fValueSetter
method that returns a value;
TDataType * GetDataType() const
Bool_t IsaPointer() const
Return true if data member is a pointer.
TDataMember * fDataMember
Int_t GetMaxIndex(Int_t dim) const
Return maximum index for array dimension "dim".
const char * GetFullTypeName() const
Get full type description of data member, e,g.: "class TDirectory*".
const char * GetArrayIndex() const
If the data member is pointer and has a valid array size in its comments GetArrayIndex returns a stri...
TMethodCall * fValueGetter
Bool_t IsValid()
Return true if this data member object is pointing to a currently loaded data member.
const char * GetTrueTypeName() const
Get full type description of data member, e,g.: "class TDirectory*".
#define ClassDef(name, id)
TClass * fClass
pointer to CINT data member info
virtual bool Update(DataMemberInfo_t *info)
Update the TFunction to reflect the new info.
virtual ~TDataMember()
TDataMember dtor deletes adopted CINT DataMemberInfo object.
Method or function calling interface.
void SetClass(TClass *cl)
TDataMember & operator=(const TDataMember &)
assignment operator
const char * GetTypeName() const
Get type of data member, e,g.: "class TDirectory*" -> "TDirectory".
TList * fOptions
method which sets value;
Long_t GetOffset() const
Get offset from "this".
TClass * GetClass() const
Basic data type descriptor (datatype information is obtained from CINT).
This class defines an abstract interface that must be implemented by all classes that contain diction...
Bool_t TestBit(UInt_t f) const
Bool_t IsEnum() const
Return true if data member is an enum.
The ROOT global object gROOT contains a list of all defined classes.
DeclId_t GetDeclId() const
Long_t fValue
Data member to which this option belongs.
Long_t GetOffsetCint() const
Get offset from "this" using the information in CINT only.
TDataType * fDataType
pointer to the class
ClassDef(TOptionListItem, 2)
Mother of all ROOT objects.
TList * GetOptions() const
Returns list of options - list of TOptionListItems.
Int_t GetArrayDim() const
Return number of array dimensions.
Int_t IsSTLContainer()
The return type is defined in TDictionary (kVector, kList, etc.)
Long_t fOffset
pointer to data basic type descriptor
Bool_t IsBasic() const
Return true if data member is a basic type, e.g. char, int, long...
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
TDataMember(const TDataMember &)
copy constructor