Logo ROOT   6.08/07
Reference Guide
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 #ifndef ROOT_THbookFile
25 #include "THbookFile.h"
26 #endif
27 
28 class THbookKey : public TNamed {
29 
30 protected:
31  THbookFile *fDirectory; //!pointer to the Hbook file
32  Int_t fID; //hbook identifier
33 
34 public:
35  THbookKey() : fDirectory(0),fID(0) {;}
37  virtual ~THbookKey();
38  virtual void Browse(TBrowser *b);
39  Bool_t IsFolder() const;
40 
41  ClassDef(THbookKey,1) //Hbook id descriptor
42 };
43 
44 #endif
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
HBOOK Key.
Definition: THbookKey.h:28
#define ClassDef(name, id)
Definition: Rtypes.h:254
THbookKey()
Definition: THbookKey.h:35
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
virtual ~THbookKey()
Definition: THbookKey.cxx:39
THbookFile * fDirectory
Definition: THbookKey.h:31
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:41
Int_t fID
pointer to the Hbook file
Definition: THbookKey.h:32
Bool_t IsFolder() const
an hbook key is not a folder
Definition: THbookKey.cxx:74
virtual void Browse(TBrowser *b)
Read object from disk and call its Browse() method.
Definition: THbookKey.cxx:50
Definition: file.py:1
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Definition: TRolke.cxx:630
This class is an interface to the Hbook objects in Hbook files.
Definition: THbookFile.h:31