64 Warning(
"IsStaged",
"TNetSystem not initialized");
74 ::Info(
"TNetFileStager::GetPrefix",
"enter: %s",
url);
81 if (
u.GetPort() !=
TUrl(
"root://host").GetPort())
86 ::Info(
"TNetFileStager::GetPrefix",
"found prefix: %s",
pfx.Data());
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
void Printf(const char *fmt,...)
Formats a string in a circular formatting buffer and prints the string.
const char * GetName() const override
Returns name of object.
Bool_t IsValid() const override
Bool_t Matches(const char *s) override
Returns kTRUE if stager 's' is compatible with current stager.
void Print(Option_t *option="") const override
Print basic info about this stager.
Bool_t IsStaged(const char *path) override
Check if the file defined by 'path' is ready to be used.
virtual ~TNetFileStager()
Destructor.
static void GetPrefix(const char *url, TString &pfx)
Isolate prefix in url.
TNetFileStager(const char *stager="")
Constructor. Init a TNetSystem instance to the remote rootd.
Int_t Locate(const char *path, TString &endpath) override
Get actual end-point url for a path Returns 0 in case of success and 1 if any error occured.
Bool_t AccessPathName(const char *path, EAccessMode mode) override
Returns FALSE if one can access a file using the specified access mode.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
This class represents a WWW compatible URL.