50 Error(
"GetStaged",
"list of pathnames was not specified!");
61 Warning(
"GetStaged",
"object is of unexpected type %s - ignoring", o->
ClassName());
68 Info(
"GetStaged",
"%d files staged", stagedlist->
GetSize());
85 Warning(
"Stage",
"found object of unexpected type %s - ignoring",
91 success &=
Stage(pn, opt);
108 ::Error(
"TFileStager::Open",
"stager name missing: do nothing");
113 (h =
gROOT->GetPluginManager()->FindHandler(
"TFileStager", stager))) {
166 while ((fi = dynamic_cast<TFileInfo *>(it.Next()))) {
170 if (
Locate(ourl, endp) == 0) {
194 pathname = ((
TUrl*)o)->GetUrl();
195 }
else if (cn ==
"TObjString") {
197 }
else if (cn ==
"TFileInfo") {
virtual Bool_t IsStaged(const char *)
Just check if the file exists locally.
virtual const char * GetName() const
Returns name of object.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
static TString GetPathName(TObject *o)
Return the path name contained in object 'o' allowing for TUrl, TObjString or TFileInfo.
virtual Bool_t IsPathLocal(const char *path)
Returns TRUE if the url in 'path' points to the local file system.
Collectable string class.
This class represents a WWW compatible URL.
TUrl * GetCurrentUrl() const
Return the current url.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
virtual TList * GetStaged(TCollection *pathlist)
Retrieves the staging (online) status for a list of path names.
Int_t LoadPlugin()
Load the plugin library for this handler.
Bool_t AddUrl(const char *url, Bool_t infront=kFALSE)
Add a new URL.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
const char * GetUrl(Bool_t withDeflt=kFALSE) const
Return full URL.
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=1, Int_t netopt=0)
Create / open a file.
static struct mg_connection * fc(struct mg_context *ctx)
virtual const char * ClassName() const
Returns name of class to which the object belongs.
const char * GetAnchor() const
R__ALWAYS_INLINE Bool_t IsZombie() const
TFileStager(const char *stager)
R__EXTERN TSystem * gSystem
Long_t ExecPlugin(int nargs, const T &... params)
Collection abstract base class.
virtual Int_t LocateCollection(TFileCollection *fc, Bool_t addDummyUrl=kFALSE)
Massive location of files.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual Bool_t Stage(const char *, Option_t *=0)
void SetAnchor(const char *anchor)
static constexpr double s
static TFileStager * Open(const char *stager)
Open a stager, after having loaded the relevant plug-in.
Mother of all ROOT objects.
virtual void Add(TObject *obj)
Class that contains a list of TFileInfo's and accumulated meta data information about its entries...
void SetOptions(const char *opt)
Class describing a generic file including meta information.
virtual Int_t Locate(const char *u, TString &f)
Just check if the file exists locally.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Close(Option_t *option="")
Close a file.
const char * Data() const