ROOT  6.06/09
Reference Guide
TKeyMapFile.h
Go to the documentation of this file.
1 // @(#)root/io:$Id$
2 // Author: Rene Brun 23/07/97
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, 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_TKeyMapFile
13 #define ROOT_TKeyMapFile
14 
15 #ifndef ROOT_TNamed
16 #include "TNamed.h"
17 #endif
18 
19 class TBrowser;
20 class TMapFile;
21 
22 class TKeyMapFile : public TNamed {
23 
24 private:
25  TKeyMapFile(const TKeyMapFile&); // TKeyMapFile objects are not copiable.
26  TKeyMapFile& operator=(const TKeyMapFile&); // TKeyMapFile objects are not copiable.
27 
28  TMapFile *fMapFile; ///< Pointer to map file
29 
30 public:
31  TKeyMapFile();
32  TKeyMapFile(const char *name, const char *classname, TMapFile *mapfile);
33  virtual ~TKeyMapFile() {;}
34  virtual void Browse(TBrowser *b);
35 
36  ClassDef(TKeyMapFile,0); //Utility class for browsing TMapFile objects.
37 };
38 
39 #endif
Utility class for browsing TMapFile objects.
Definition: TKeyMapFile.h:22
This class implements a shared memory region mapped to a file.
Definition: TMapFile.h:34
TKeyMapFile & operator=(const TKeyMapFile &)
virtual ~TKeyMapFile()
Definition: TKeyMapFile.h:33
virtual void Browse(TBrowser *b)
Browse the contained objects.
Definition: TKeyMapFile.cxx:50
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:33
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:41
TMapFile * fMapFile
Pointer to map file.
Definition: TKeyMapFile.h:28
ClassDef(TKeyMapFile, 0)
#define name(a, b)
Definition: linkTestLib0.cpp:5