TGlobal


class description - source file - inheritance tree

class TGlobal : public TDictionary


    public:
TGlobal TGlobal(TGlobal&) TGlobal TGlobal(G__DataMemberInfo* info = 0) virtual void ~TGlobal() TClass* Class() virtual Int_t Compare(TObject* obj) 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() virtual TClass* IsA() const virtual Long_t Property() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(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(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 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)
            TGlobal TGlobal(TGlobal&)


Author: Rene Brun 13/11/95
Last update: 1.03/02 02/09/97 17.44.44 by Rene Brun
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.