12 #ifndef ROOT_TDataType
13 #define ROOT_TDataType
25 #ifndef ROOT_TDictionary
73 const char *
AsString(
void *buf)
const;
static TDataType * GetDataType(EDataType type)
Given a EDataType type, get the TDataType* that represents it.
TString GetTypeName()
Get basic type of typedef, e,g.
const char * GetFullTypeName() const
Get full type description of typedef, e,g.: "class TDirectory*".
void SetType(const char *name)
Set type id depending on name.
#define ClassDef(name, id)
static TDataType * fgBuiltins[kNumDataTypes]
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
virtual ~TDataType()
TDataType dtor deletes adopted CINT TypedefInfo object.
Int_t fSize
pointer to CINT typedef info
TDataType(const TDataType &)
copy constructor
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...
Collection abstract base class.
static void AddBuiltins(TCollection *types)
Create the TDataType objects for builtins.
Int_t Size() const
Get size of basic typedef'ed type.
TDataType & operator=(const TDataType &)
assignment operator
void CheckInfo()
Refresh the underlying information.
const char * AsString(void *buf) const
Return string containing value in buffer formatted according to the basic data type.