TBaseClass.h

Go to the documentation of this file.
00001 // @(#)root/meta:$Id: TBaseClass.h 32336 2010-02-12 15:03:23Z pcanal $
00002 // Author: Fons Rademakers   08/02/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_TBaseClass
00013 #define ROOT_TBaseClass
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TBaseClass                                                           //
00019 //                                                                      //
00020 // Description of a base class.                                         //
00021 //                                                                      //
00022 //////////////////////////////////////////////////////////////////////////
00023 
00024 
00025 #ifndef ROOT_TDictionary
00026 #include "TDictionary.h"
00027 #endif
00028 #ifndef ROOT_TClassRef
00029 #include "TClassRef.h"
00030 #endif
00031 
00032 class TBrowser;
00033 class TClass;
00034 
00035 class TBaseClass : public TDictionary {
00036 
00037 private:
00038    TBaseClass(const TBaseClass &);          // Not implemented
00039    TBaseClass&operator=(const TBaseClass&); // Not implemented
00040    
00041 private:
00042    BaseClassInfo_t   *fInfo;      //pointer to CINT base class info
00043    TClassRef          fClassPtr;  //pointer to the base class TClass
00044    TClass            *fClass;     //pointer to parent class
00045 
00046 public:
00047    TBaseClass(BaseClassInfo_t *info = 0, TClass *cl = 0);
00048    virtual     ~TBaseClass();
00049    virtual void Browse(TBrowser *b);
00050    const char  *GetTitle() const;
00051    TClass      *GetClassPointer(Bool_t load=kTRUE);
00052    Int_t        GetDelta() const;
00053    Bool_t       IsFolder() const {return kTRUE;}
00054    Int_t        IsSTLContainer();
00055    Long_t       Property() const;
00056 
00057    ClassDef(TBaseClass,0)  //Description of a base class
00058 };
00059 
00060 #endif

Generated on Tue Jul 5 14:11:39 2011 for ROOT_528-00b_version by  doxygen 1.5.1