]>
Commit | Line | Data |
---|---|---|
fe913d8f | 1 | #ifndef ALICDBDUMP_H |
2 | #define ALICDBDUMP_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | /// | |
9 | /// access classes for a data base in a LOCAL file | |
10 | /// | |
11 | ||
12 | #include "AliCDBStorage.h" | |
13 | #include "AliCDBMetaDataSelect.h" | |
14 | ||
15 | class TFile; | |
16 | ||
17 | ||
18 | class AliCDBDump: public AliCDBStorage { | |
19 | public: | |
20 | AliCDBDump(const char* fileName = "DB.root", Bool_t readOnly = kTRUE); | |
21 | virtual ~AliCDBDump(); | |
22 | void TagForProduction(const AliCDBMetaDataSelect& /* selMetaData */, UInt_t /* prodVers */); | |
23 | ||
24 | protected: | |
25 | virtual AliCDBEntry* GetEntry(AliCDBMetaDataSelect& selMetaData, Int_t runNumber); | |
26 | ||
27 | virtual Bool_t PutEntry(AliCDBEntry* entry); | |
28 | ||
29 | private: | |
30 | AliCDBDump(const AliCDBDump& db); | |
31 | AliCDBDump& operator = (const AliCDBDump& db); | |
32 | ||
33 | TFile* fFile; //! the DB local file | |
34 | ||
35 | ClassDef(AliCDBDump, 0) // access classes for a data base in a LOCAL file | |
36 | }; | |
37 | ||
38 | #endif |