library: libCore
#include "TDataType.h"

TDataType


class description - header file - source file - inheritance tree (.pdf)

class TDataType : public TDictionary

Inheritance Chart:
TObject
<-
TNamed
<-
TDictionary
<-
TDataType
    private:
void CheckInfo() void SetType(const char* name) protected:
TDataType(const TDataType&) TDataType& operator=(const TDataType&) public:
TDataType(G__TypedefInfo* info = 0) TDataType(const char* typenam) virtual ~TDataType() const char* AsString(void* buf) const static TClass* Class() const char* GetFullTypeName() const Int_t GetType() const static EDataType GetType(const type_info& typeinfo) const char* GetTypeName() const static const char* GetTypeName(EDataType type) virtual TClass* IsA() const virtual Long_t Property() const virtual void ShowMembers(TMemberInspector& insp, char* parent) Int_t Size() const virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
G__TypedefInfo* fInfo pointer to CINT typedef info Int_t fSize size of type EDataType fType type id Long_t fProperty The property information for the (potential) underlying class TString fTrueName True name of the (potential) underlying class

Class Description

                                                                      //                                                                      
 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)
 Default TDataType ctor. TDataTypes are constructed in TROOT via
 a call to TCint::UpdateListOfTypes().
TDataType(const char *typenam)
 Constructor for basic data types, like "char", "unsigned char", etc.
TDataType(const TDataType& dt)
copy constructor
TDataType& operator=(const TDataType& dt)
assignement operator
~TDataType()
 TDataType dtor deletes adopted G__TypedefInfo object.
const char * GetTypeName(EDataType type)
 Return the name of the type.
const char * GetTypeName()
 Get basic type of typedef, e,g.: "class TDirectory*" -> "TDirectory".
 Result needs to be used or copied immediately.
const char * GetFullTypeName()
 Get full type description of typedef, e,g.: "class TDirectory*".
EDataType GetType(const type_info &typeinfo)
 Set type id depending on name.
const char * AsString(void *buf)
 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()
 Get property description word. For meaning of bits see EProperty.
void SetType(const char *name)
 Set type id depending on name.
Int_t Size()
 Get size of basic typedef'ed type.
void CheckInfo()
 Refresh the underlying information.
Int_t GetType()

Author: Rene Brun 04/02/95
Last update: root/meta:$Name: $:$Id: TDataType.cxx,v 1.23 2006/05/24 15:09:22 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.