]>
Commit | Line | Data |
---|---|---|
c4490ddb | 1 | #ifndef ALIOCDBTOOLKIT_H |
2 | #define ALIOCDBTOOLKIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | ||
8 | #include <TObject.h> | |
9 | class TStopwatch; | |
10 | class TTree; | |
11 | class TMemStatManager; | |
12 | using std::fstream; | |
13 | ||
14 | class AliOCDBtoolkit : public TObject { | |
15 | public: | |
16 | //AliOCDBtoolkit(); | |
17 | //static AliOCDBtoolkit * Instance(); | |
18 | ||
19 | static void MakeDiffExampleUseCase(); // example usage | |
20 | static void DumpOCDBAsTxt(const TString fInput,const TString fType); | |
21 | // | |
22 | static Bool_t ParseInfoFromOcdbString(TString ocdbString, TString &ocdbPath, Int_t &run0, Int_t &run1, Int_t &version, Int_t &subVersion); | |
23 | static Bool_t ParseInfoFromOcdbString(TString ocdbString, AliCDBId &cdbId); | |
24 | // | |
25 | static TList * ConvertListStringToCDBId(const TList *cdbList0); | |
26 | ||
27 | static void LoadOCDBFromLog(const char *logName, Int_t verbose); | |
28 | static void LoadOCDBFromMap(const TMap *cdbMap, const TList *cdbList); | |
29 | static void MakeDiff(const TMap *cdbMap0, const TList *cdbList0, const TMap *cdbMap1, const TList *cdbList1, Int_t verbose); | |
30 | static void DumpOCDB(const TMap *cdbMap0, const TList *cdbList0); | |
9618bdc7 | 31 | // |
32 | // dump object functionality | |
33 | // | |
34 | static void DumpObjectRecursive(TObject *obj); | |
35 | static void DumpObjectRecursive(TObject *obj, TString prefix, Int_t &counterRec); | |
36 | static void DumpOCDBFile(const char *finput , const char *foutput, Bool_t dumpMetaData, Bool_t xml); | |
37 | // | |
c4490ddb | 38 | private: |
39 | AliOCDBtoolkit(const AliOCDBtoolkit& source); | |
40 | AliOCDBtoolkit& operator= (const AliOCDBtoolkit& rec); | |
41 | ||
42 | ClassDef(AliOCDBtoolkit,0) | |
43 | }; | |
44 | ||
45 | #endif |