12 #ifndef ROOT_TFileStager
13 #define ROOT_TFileStager
34 class TFileCollection;
36 class TFileStager :
public TNamed {
39 TFileStager(
const char *stager) : TNamed(stager, stager) { }
40 virtual ~TFileStager() { }
42 virtual TList *GetStaged(TCollection *pathlist);
43 virtual Bool_t IsStaged(
const char *);
44 virtual Int_t Locate(
const char *u, TString &f);
45 virtual Int_t LocateCollection(TFileCollection *fc, Bool_t addDummyUrl = kFALSE);
46 virtual Bool_t Matches(
const char *s) {
return ((s && (fName == s)) ? kTRUE : kFALSE); }
47 virtual Bool_t Stage(
const char *, Option_t * = 0) {
return kTRUE; }
48 virtual Bool_t Stage(TCollection *pathlist, Option_t *opt = 0);
50 virtual Bool_t IsValid()
const {
return kTRUE; }
53 static TString GetPathName(TObject *o);
56 static TFileStager *Open(
const char *stager);
58 ClassDef(TFileStager,0)