library: libHbook #include "THbookKey.h"

# THbookKey

class description - source file - inheritance tree (.pdf)

## class THbookKey : public TNamed

| Inheritance Chart:
`TObject`
| <- | `TNamed`
| <- | `THbookKey` |

        public:

                          THbookKey()
                          THbookKey(Int_t id, THbookFile* file)
                          THbookKey(const THbookKey&)
                  virtual ~THbookKey()
             virtual void Browse(TBrowser* b)
           static TClass* Class()
          virtual TClass* IsA() const
           virtual Bool_t IsFolder() const
               THbookKey& operator=(const THbookKey&)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          THbookFile* fDirectory  !pointer to the Hbook file
                Int_t fID         hbook identifier

## Class Description

THbookKey(Int_t id, THbookFile *file)

~THbookKey()

void Browse(TBrowser *b)

     Read object from disk and call its Browse() method.
     If object with same name already exist in memory delete it (like
     TDirectory::Get() is doing), except when the key references a
     folder in which case we don't want to re-read the folder object
     since it might contain new objects not yet saved.

Bool_t IsFolder() const

### Inline Functions

              THbookKey THbookKey(Int_t id, THbookFile* file)
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
              THbookKey THbookKey(const THbookKey&)
             THbookKey& operator=(const THbookKey&)

Author: Rene Brun 20/02/2002
Last update: root/hbook:$Name: $:$Id: THbookKey.cxx,v 1.1 2002/02/20 16:57:31 brun Exp $
Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *