#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 {
protected:
TStopwatch fWatch;
TList *fFileList;
TFile *fOutputFile;
TString fOutputFilename;
TString fOutputFilename1;
void PrintProgress(Long64_t bytesread, Long64_t size);
public:
TFileMerger();
virtual ~TFileMerger();
const char *GetOutputFileName() const { return fOutputFilename; }
virtual Bool_t Cp(const char *src, const char *dst, Bool_t progressbar = kTRUE,
UInt_t buffersize = 1000000);
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);
ClassDef(TFileMerger,1)
};
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
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.