00001 // @(#)root/hbook:$Id: THbookKey.h 34885 2010-08-20 13:33:08Z pcanal $ 00002 // Author: Rene Brun 20/02/2002 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2002, 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_THbookKey 00013 #define ROOT_THbookKey 00014 00015 00016 ////////////////////////////////////////////////////////////////////////// 00017 // // 00018 // THbookKey // 00019 // // 00020 // Hbook id descriptor // 00021 // // 00022 ////////////////////////////////////////////////////////////////////////// 00023 00024 #ifndef ROOT_THbookFile 00025 #include "THbookFile.h" 00026 #endif 00027 00028 class THbookKey : public TNamed { 00029 00030 protected: 00031 THbookFile *fDirectory; //!pointer to the Hbook file 00032 Int_t fID; //hbook identifier 00033 00034 public: 00035 THbookKey() : fDirectory(0),fID(0) {;} 00036 THbookKey(Int_t id, THbookFile *file); 00037 virtual ~THbookKey(); 00038 virtual void Browse(TBrowser *b); 00039 Bool_t IsFolder() const; 00040 00041 ClassDef(THbookKey,1) //Hbook id descriptor 00042 }; 00043 00044 #endif