00001 // @(#)root/io:$Id: TKeyMapFile.h 26606 2008-12-02 20:36:09Z pcanal $ 00002 // Author: Rene Brun 23/07/97 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_TKeyMapFile 00013 #define ROOT_TKeyMapFile 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // TKeyMapFile // 00019 // // 00020 // Utility class for browsing TMapFile objects. // 00021 // // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_TNamed 00025 #include "TNamed.h" 00026 #endif 00027 00028 class TBrowser; 00029 class TMapFile; 00030 00031 class TKeyMapFile : public TNamed { 00032 00033 private: 00034 TKeyMapFile(const TKeyMapFile&); // TKeyMapFile objects are not copiable. 00035 TKeyMapFile& operator=(const TKeyMapFile&); // TKeyMapFile objects are not copiable. 00036 00037 TMapFile *fMapFile; //pointer to map file 00038 00039 public: 00040 TKeyMapFile(); 00041 TKeyMapFile(const char *name, const char *classname, TMapFile *mapfile); 00042 virtual ~TKeyMapFile() {;} 00043 virtual void Browse(TBrowser *b); 00044 00045 ClassDef(TKeyMapFile,0); //Utility class for browsing TMapFile objects. 00046 }; 00047 00048 #endif