Logo ROOT  
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 #include "TNamed.h"
16 
17 class TBrowser;
18 class TMapFile;
19 
20 class TKeyMapFile : public TNamed {
21 
22 private:
23  TKeyMapFile(const TKeyMapFile&) = delete; // TKeyMapFile objects are not copiable.
24  TKeyMapFile& operator=(const TKeyMapFile&) = delete; // TKeyMapFile objects are not copiable.
25 
26  TMapFile *fMapFile; ///< Pointer to map file
27 
28 public:
29  TKeyMapFile();
30  TKeyMapFile(const char *name, const char *classname, TMapFile *mapfile);
31  virtual ~TKeyMapFile() {;}
32  virtual void Browse(TBrowser *b);
33 
34  ClassDef(TKeyMapFile,0); //Utility class for browsing TMapFile objects.
35 };
36 
37 #endif
TMapFile
This class implements a shared memory region mapped to a file.
Definition: TMapFile.h:25
TBrowser
Using a TBrowser one can browse all ROOT objects.
Definition: TBrowser.h:37
TNamed.h
TKeyMapFile::Browse
virtual void Browse(TBrowser *b)
Browse the contained objects.
Definition: TKeyMapFile.cxx:50
TKeyMapFile
Utility class for browsing TMapFile objects.
Definition: TKeyMapFile.h:20
b
#define b(i)
Definition: RSha256.hxx:100
TKeyMapFile::TKeyMapFile
TKeyMapFile()
Default constructor.
Definition: TKeyMapFile.cxx:34
TKeyMapFile::~TKeyMapFile
virtual ~TKeyMapFile()
Definition: TKeyMapFile.h:31
TNamed
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
TKeyMapFile::fMapFile
TMapFile * fMapFile
Pointer to map file.
Definition: TKeyMapFile.h:26
TKeyMapFile::operator=
TKeyMapFile & operator=(const TKeyMapFile &)=delete
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
name
char name[80]
Definition: TGX11.cxx:110
TKeyMapFile::TKeyMapFile
TKeyMapFile(const TKeyMapFile &)=delete