12#ifndef ROOT_TDataSetManagerAliEn
13#define ROOT_TDataSetManagerAliEn
82 virtual void SetAnchor(
const char *anchor);
85 virtual void SetRegexp(
const char *regexp);
116 TString &period,
Int_t &year, std::vector<Int_t> *&runList,
142 virtual void ShowDataSets(
const char * =
"*",
const char * =
"");
#define ClassDef(name, id)
virtual void SetAnchor(const char *anchor)
virtual TGridResult * GetGridResult(Bool_t forceNewQuery=kFALSE)
Query the AliEn file catalog.
TGridResult * fGridResult
virtual void InvalidateGridResult()
virtual ~TAliEnFind()
Destructor.
virtual Bool_t GetArchSubst() const
virtual TFileCollection * GetCollection(Bool_t forceNewQuery=kFALSE)
virtual const TString & GetBasePath() const
virtual void InvalidateSearchId()
virtual const TString & GetTreeName() const
virtual void SetTreeName(const char *fileName)
virtual void SetFileName(const char *fileName)
virtual void Print(Option_t *opt="") const
This method must be overridden when a class wants to print itself.
virtual const TString & GetFileName() const
virtual void SetArchSubst(Bool_t archSubst)
TAliEnFind & operator=(const TAliEnFind &rhs)
Assignment operator. Cached query result is not copied.
virtual void SetRegexp(const char *regexp)
virtual void SetBasePath(const char *basePath)
virtual const char * GetSearchId()
virtual const TPMERegexp * GetRegexp() const
virtual const TString & GetAnchor() const
virtual void ShowDataSets(const char *="*", const char *="")
Prints formatted information about the dataset 'uri'.
virtual Int_t ClearCache(const char *)
Clear cached information matching uri.
virtual TMap * GetDataSets(const char *, UInt_t)
Returns all datasets for the <group> and <user> specified by <uri>.
TDataSetManagerFile * fCache
virtual TFileCollection * GetDataSet(const char *uri, const char *=0)
Utility function used in various methods for user dataset upload.
const TUrl * kfNoopUnknownUrl
virtual void Init(TString cacheDir, TString urlTpl, ULong_t cacheExpire_s)
virtual ~TDataSetManagerAliEn()
virtual Bool_t RemoveDataSet(const char *uri)
Removes the indicated dataset.
const TUrl * kfNoopNoneUrl
static std::vector< Int_t > * ExpandRunSpec(TString &runSpec)
virtual Int_t RegisterDataSet(const char *, TFileCollection *, const char *)
Register a dataset, perfoming quota checkings, if needed.
virtual Int_t ShowCache(const char *)
Show cached information matching uri.
static Bool_t ParseCustomFindUri(TString &uri, TString &basePath, TString &fileName, TString &anchor, TString &query, TString &treeName, TString ®exp)
virtual TList * GetFindCommandsFromUri(TString &uri, EDataMode &dataMode, Bool_t &forceUpdate)
Parse kind.
static Bool_t ParseOfficialDataUri(TString &uri, Bool_t sim, TString &period, Int_t &year, std::vector< Int_t > *&runList, Bool_t &esd, Int_t &aodNum, TString &pass)
virtual Bool_t ExistsDataSet(const char *uri)
Checks if the indicated dataset exits.
static TUrl * AliEnWhereIs(TUrl *alienUrl, TString &closeSE, Bool_t onlyFromCloseSE)
virtual Int_t ScanDataSet(const char *, UInt_t)
Scans the dataset indicated by <uri> and returns the number of missing files.
const TUrl * kfNoopRedirUrl
Class that contains a list of TFileInfo's and accumulated meta data information about its entries.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
Wrapper for PCRE library (Perl Compatible Regular Expressions).
This class represents a WWW compatible URL.