Logo ROOT  
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#include "THbookFile.h"
25
26class THbookKey : public TNamed {
27
28protected:
29 THbookFile *fDirectory; //!pointer to the Hbook file
30 Int_t fID; //hbook identifier
31
32public:
33 THbookKey() : fDirectory(0),fID(0) {;}
35 ~THbookKey() override;
36 void Browse(TBrowser *b) override;
37 Bool_t IsFolder() const override;
38
39 ClassDefOverride(THbookKey,1) //Hbook id descriptor
40};
41
42#endif
bool Bool_t
Definition: RtypesCore.h:63
int Int_t
Definition: RtypesCore.h:45
#define ClassDefOverride(name, id)
Definition: Rtypes.h:339
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t b
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:37
This class is an interface to the Hbook objects in Hbook files.
Definition: THbookFile.h:29
HBOOK Key.
Definition: THbookKey.h:26
Bool_t IsFolder() const override
an hbook key is not a folder
Definition: THbookKey.cxx:75
void Browse(TBrowser *b) override
Read object from disk and call its Browse() method.
Definition: THbookKey.cxx:51
~THbookKey() override
Definition: THbookKey.cxx:40
THbookKey()
Definition: THbookKey.h:33
THbookFile * fDirectory
Definition: THbookKey.h:29
Int_t fID
pointer to the Hbook file
Definition: THbookKey.h:30
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
Definition: file.py:1