Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:12:09

0001 // @(#)root/hbook:$Id$
0002 // Author: Rene Brun   20/02/2002
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_THbookKey
0013 #define ROOT_THbookKey
0014 
0015 
0016 //////////////////////////////////////////////////////////////////////////
0017 //                                                                      //
0018 // THbookKey                                                            //
0019 //                                                                      //
0020 // Hbook id descriptor                                                  //
0021 //                                                                      //
0022 //////////////////////////////////////////////////////////////////////////
0023 
0024 #include "THbookFile.h"
0025 
0026 class THbookKey : public TNamed {
0027 
0028 protected:
0029    THbookFile    *fDirectory;   //!pointer to the Hbook file
0030    Int_t          fID;          //hbook identifier
0031 
0032 public:
0033    THbookKey() : fDirectory(nullptr),fID(0) {}
0034    THbookKey(Int_t id, THbookFile *file);
0035    ~THbookKey() override;
0036    void      Browse(TBrowser *b) override;
0037    Bool_t            IsFolder() const override;
0038 
0039    ClassDefOverride(THbookKey,1)  //Hbook id descriptor
0040 };
0041 
0042 #endif