Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
THbookKey.h
Go to the documentation of this file.
1 // @(#)root/hbook:$Id$
2 // Author: Rene Brun 20/02/2002
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_THbookKey
13 #define ROOT_THbookKey
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // THbookKey //
19 // //
20 // Hbook id descriptor //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #include "THbookFile.h"
25 
26 class THbookKey : public TNamed {
27 
28 protected:
29  THbookFile *fDirectory; //!pointer to the Hbook file
30  Int_t fID; //hbook identifier
31 
32 public:
33  THbookKey() : fDirectory(0),fID(0) {;}
34  THbookKey(Int_t id, THbookFile *file);
35  virtual ~THbookKey();
36  virtual void Browse(TBrowser *b);
37  Bool_t IsFolder() const;
38 
39  ClassDef(THbookKey,1) //Hbook id descriptor
40 };
41 
42 #endif