TGlobal


class description - source file - inheritance tree

class TGlobal : public TDictionary


    public:
TGlobal TGlobal(G__DataMemberInfo* info = 0) TGlobal TGlobal(TGlobal&) virtual void ~TGlobal() static TClass* Class() virtual Int_t Compare(const TObject* obj) const void* GetAddress() const Int_t GetArrayDim() const const char* GetFullTypeName() const Int_t GetMaxIndex(Int_t dim) const virtual const char* GetName() const virtual const char* GetTitle() const const char* GetTypeName() const virtual ULong_t Hash() const virtual TClass* IsA() const virtual Long_t Property() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
G__DataMemberInfo* fInfo pointer to CINT data member info

Class Description

                                                                      
 Global variables class (global variables are obtained from CINT).    
 This class describes the attributes of a global variable.            
 The TROOT class contains a list of all currently defined global      
 variables (accessible via TROOT::GetListOfGlobals()).                
                                                                      


TGlobal(G__DataMemberInfo *info) : TDictionary()
 Default TGlobal ctor. TGlobals are constructed in TROOT via
 a call to TCint::UpdateListOfGlobals().

~TGlobal()
 TGlobal dtor deletes adopted G__DataMemberInfo object.

void* GetAddress() const
 Return address of global.

Int_t GetArrayDim() const
 Return number of array dimensions.

Int_t GetMaxIndex(Int_t dim) const
 Return maximum index for array dimension "dim".

const char* GetTypeName() const
 Get type of global variable, e,g.: "class TDirectory*" -> "TDirectory".
 Result needs to be used or copied immediately.

const char* GetFullTypeName() const
 Get full type description of global variable, e,g.: "class TDirectory*".

const char* GetName() const
 Get global variable name.

const char* GetTitle() const
 Get global variable description string (comment).

Int_t Compare(const TObject *obj) const
 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() const
 Return hash value for TGlobal based on its name.

Long_t Property() const
 Get property description word. For meaning of bits see EProperty.



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
            TGlobal TGlobal(TGlobal&)


Author: Rene Brun 13/11/95
Last update: root/meta:$Name: $:$Id: TGlobal.cxx,v 1.2 2000/12/13 15:13:52 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.