49 Error(
"GetStaged",
"list of pathnames was not specified!");
60 Warning(
"GetStaged",
"object is of unexpected type %s - ignoring", o->
ClassName());
84 Warning(
"Stage",
"found object of unexpected type %s - ignoring",
107 ::Error(
"TFileStager::Open",
"stager name missing: do nothing");
112 (
h =
gROOT->GetPluginManager()->FindHandler(
"TFileStager",
stager))) {
113 if (
h->LoadPlugin() == -1)
129 u.SetOptions(
"filetype=raw");
132 if (!
ff ||
ff->IsZombie()) {
166 const char *
ourl =
fi->GetCurrentUrl()->GetUrl();
194 }
else if (cn ==
"TObjString") {
196 }
else if (cn ==
"TFileInfo") {
198 pathname = (
fi->GetCurrentUrl()) ?
fi->GetCurrentUrl()->GetUrl() :
"";
199 if (
fi->GetCurrentUrl()) {
200 if (
strlen(
fi->GetCurrentUrl()->GetAnchor()) > 0) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
R__EXTERN TSystem * gSystem
Collection abstract base class.
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
Class describing a generic file including meta information.
TFileStager(const char *stager)
virtual Int_t LocateCollection(TFileCollection *fc, Bool_t addDummyUrl=kFALSE)
Massive location of files.
virtual Bool_t IsStaged(const char *)
Just check if the file exists locally.
static TString GetPathName(TObject *o)
Return the path name contained in object 'o' allowing for TUrl, TObjString or TFileInfo.
static TFileStager * Open(const char *stager)
Open a stager, after having loaded the relevant plug-in.
virtual TList * GetStaged(TCollection *pathlist)
Retrieves the staging (online) status for a list of path names.
virtual Int_t Locate(const char *u, TString &f)
Just check if the file exists locally.
virtual Bool_t Stage(const char *, Option_t *=nullptr)
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
const char * GetName() const override
Returns name of object.
Collectable string class.
Mother of all ROOT objects.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Bool_t IsPathLocal(const char *path)
Returns TRUE if the url in 'path' points to the local file system.
This class represents a WWW compatible URL.