#ifndef ROOT_TFileMerger
#define ROOT_TFileMerger
#ifndef ROOT_TObject
#include "TObject.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
#ifndef ROOT_TStopwatch
#include "TStopwatch.h"
#endif
class TList;
class TFile;
class TDirectory;
class TFileMerger : public TObject {
private:
TFileMerger(const TFileMerger&);
TFileMerger& operator=(const TFileMerger&);
protected:
TStopwatch fWatch;
TList *fFileList;
TFile *fOutputFile;
TString fOutputFilename;
TString fOutputFilename1;
Bool_t fFastMethod;
Bool_t fNoTrees;
Bool_t fLocal;
TList *fMergeList;
public:
TFileMerger(Bool_t isLocal = kTRUE);
virtual ~TFileMerger();
const char *GetOutputFileName() const { return fOutputFilename; }
TList *GetMergeList() const { return fMergeList; }
virtual Bool_t SetCWD(const char * ) { MayNotUse("SetCWD"); return kFALSE; }
virtual const char *GetCWD() { MayNotUse("GetCWD"); return 0; }
virtual void Reset();
virtual Bool_t AddFile(const char *url);
virtual Bool_t OutputFile(const char *url);
virtual void PrintFiles(Option_t *options);
virtual Bool_t Merge();
virtual Bool_t MergeRecursive(TDirectory *target, TList *sourcelist, Int_t isdir);
virtual void SetFastMethod(Bool_t fast=kTRUE) {fFastMethod = fast;}
virtual void SetNotrees(Bool_t notrees=kFALSE) {fNoTrees = notrees;}
ClassDef(TFileMerger,1)
};
#endif
Last change: Wed Jun 25 08:39:04 2008
Last generated: 2008-06-25 08:39
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.