00001 // @(#)root/meta:$Id: TGlobal.h 26606 2008-12-02 20:36:09Z pcanal $ 00002 // Author: Rene Brun 13/11/95 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TGlobal 00013 #define ROOT_TGlobal 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // TGlobal // 00019 // // 00020 // Global variables class (global variables are obtained from CINT). // 00021 // // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_TDictionary 00025 #include "TDictionary.h" 00026 #endif 00027 00028 00029 class TGlobal : public TDictionary { 00030 00031 private: 00032 DataMemberInfo_t *fInfo; //pointer to CINT data member info 00033 00034 public: 00035 TGlobal(DataMemberInfo_t *info = 0); 00036 TGlobal (const TGlobal &); 00037 TGlobal &operator=(const TGlobal &); 00038 00039 virtual ~TGlobal(); 00040 Int_t GetArrayDim() const; 00041 Int_t GetMaxIndex(Int_t dim) const; 00042 void *GetAddress() const; 00043 const char *GetTypeName() const; 00044 const char *GetFullTypeName() const; 00045 Long_t Property() const; 00046 00047 ClassDef(TGlobal,0) //Global variable class 00048 }; 00049 00050 #endif