TDataType
class description - source file - inheritance tree
private:
void SetType(char* name)
public:
TDataType TDataType(G__TypedefInfo* info = 0)
TDataType TDataType(char* typenam)
TDataType TDataType(TDataType&)
virtual void ~TDataType()
const char* AsString(void* buf)
TClass* Class()
virtual Int_t Compare(TObject* obj)
const char* GetFullTypeName()
virtual const char* GetName()
virtual const char* GetTitle()
Int_t GetType()
const char* GetTypeName()
virtual ULong_t Hash()
virtual TClass* IsA()
virtual Long_t Property()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
Int_t Size()
virtual void Streamer(TBuffer& b)
private:
G__TypedefInfo* fInfo pointer to CINT typedef info
TString fName name of basic type (in case fInfo==0)
Int_t fSize size of basic type (in case fInfo==0)
EDataType fType type id
//
Basic data type descriptor (datatype information is obtained from
CINT). This class describes the attributes of type definitions
(typedef's). The TROOT class contains a list of all currently
defined types (accessible via TROOT::GetListOfTypes()).
TDataType(G__TypedefInfo *info) : TDictionary()
Default TDataType ctor. TDataTypes are constructed in TROOT via
a call to TCint::CreateListOfTypes().
TDataType(const char *typenam)
Constructor for basic data types, like "char", "unsigned char", etc.
~TDataType()
TDataType dtor deletes adopted G__TypedefInfo object.
const char* GetTypeName() const
Get basic type of typedef, e,g.: "class TDirectory*" -> "TDirectory".
Result needs to be used or copied immediately.
const char* GetFullTypeName() const
Get full type description of typedef, e,g.: "class TDirectory*".
const char* GetName() const
Get name of typedef.
const char* GetTitle() const
Get typedef description string (comment).
Int_t Compare(TObject *obj)
Compare to other object. Returns 0<, 0 or >0 depending on
whether "this" is lexicographically less than, equal to, or
greater than obj.
ULong_t Hash()
Return hash value for TDataType based on its name.
const char* AsString(void *buf) const
Return string containing value in buffer formatted according to
the basic data type. The result needs to be used or copied immediately.
Long_t Property() const
Get property description word. For meaning of bits see EProperty.
void SetType(const char *name)
Set type id depending on name.
Int_t Size() const
Get size of basic typedef'ed type.
Inline Functions
Int_t GetType()
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TDataType TDataType(TDataType&)
Author: Rene Brun 04/02/95
Last update: 1.03/09 07/12/97 12.15.59 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
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.