Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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&) = 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
28public:
30 TKeyMapFile(const char *name, const char *classname, TMapFile *mapfile);
31 ~TKeyMapFile() override {}
32 void Browse(TBrowser *b) override;
33
34 ClassDefOverride(TKeyMapFile,0); //Utility class for browsing TMapFile objects.
35};
36
37#endif
#define b(i)
Definition RSha256.hxx:100
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
char name[80]
Definition TGX11.cxx:110
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 &)=delete
TKeyMapFile(const TKeyMapFile &)=delete
TKeyMapFile()
Default constructor.
void Browse(TBrowser *b) override
Browse the contained objects.
~TKeyMapFile() override
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