63 const char *md5 = 0,
TObject *meta = 0);
125 TFileInfoMeta(
const char *objPath,
const char *objClass =
"TTree",
129 const char *objClass,
Long64_t entries = -1,
#define ClassDef(name, id)
virtual Int_t GetEntries() const
Class describing a generic file including meta information.
virtual ~TFileInfo()
Destructor.
Int_t Compare(const TObject *obj) const
Compare TFileInfo object by their first urls.
TList * fUrlList
current URL to access the file, points to URL
void Print(Option_t *options="") const
Print information about this object.
TUrl * NextUrl()
Iterator function, start iteration by calling ResetUrl().
Bool_t AddUrl(const char *url, Bool_t infront=kFALSE)
Add a new URL.
Bool_t RemoveUrlAt(Int_t i)
Remove URL at given position. Returns kTRUE on success, kFALSE on error.
Bool_t AddMetaData(TObject *meta)
Add's a meta data object to the file info object.
Bool_t RemoveUrl(const char *url)
Remove an URL. Returns kTRUE if successful, kFALSE otherwise.
TUrl * GetFirstUrl() const
TList * GetMetaDataList() const
Bool_t RemoveMetaData(const char *meta=0)
Remove the metadata object.
Bool_t SetCurrentUrl(const char *url)
Set 'url' as current URL, if in the list Return kFALSE if not in the list.
TUrl * GetUrlAt(Int_t i) const
Bool_t IsSortable() const
TUrl * FindByUrl(const char *url, Bool_t withDeflt=kFALSE)
Find an element from a URL. Returns 0 if not found.
TFileInfo(const char *url=0, Long64_t size=-1, const char *uuid=0, const char *md5=0, TObject *meta=0)
Constructor.
TUrl * GetCurrentUrl() const
Return the current url.
TFileInfoMeta * GetMetaData(const char *meta=0) const
Get meta data object with specified name.
void SetUUID(const char *uuid)
Set the UUID to the value associated to the string 'uuid'.
TFileInfo & operator=(const TFileInfo &)
void ParseInput(const char *in)
Parse the input line to extract init information from 'in'; the input string is tokenized on ' '; the...
void SetSize(Long64_t size)
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
This code implements the MD5 message-digest algorithm.
The TNamed class is the base class for all named ROOT classes.
virtual const char * GetTitle() const
Returns title of object.
Mother of all ROOT objects.
This class defines a UUID (Universally Unique IDentifier), also known as GUIDs (Globally Unique IDent...
This class represents a WWW compatible URL.