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