library: libCore
#include "TFileInfo.h"

TFileInfo


class description - header file - source file - inheritance tree (.pdf)

class TFileInfo : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
TFileInfo

    protected:
TFileInfo(const TFileInfo&) TFileInfo& operator=(const TFileInfo&) public:
TFileInfo(const char* url = "0", Long64_t size = -1, const char* uuid = "0", const char* md5 = "0", Long64_t entries = -1, Long64_t first = -1, Long64_t last = -1, TObject* meta = 0) virtual ~TFileInfo() void AddMetaDataObject(TObject* obj) Bool_t AddUrl(const char* url) static TClass* Class() virtual Int_t Compare(const TObject* obj) const TUrl* FindByUrl(const char* url) TUrl* GetCurrentUrl() const Long64_t GetEntries() const Long64_t GetFirst() const TUrl* GetFirstUrl() const Long64_t GetLast() const TMD5* GetMD5() const TObject* GetMetaObject() const Long64_t GetSize() const TUUID* GetUUID() const virtual TClass* IsA() const virtual Bool_t IsSortable() const TUrl* NextUrl() virtual void Print(Option_t* options = "") const void RemoveMetaDataObject() Bool_t RemoveUrl(const char* url) void ResetUrl() void SetEntries(Long64_t entries) void SetFirst(Long64_t first) void SetLast(Long64_t last) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TUrl* fCurrentUrl ! current URL to access the file, points to one of the UrlList List or 0, if the list end is reached TList* fUrlList -> URL List of the file Long64_t fSize file size TUUID* fUUID -> uuid of the referenced file TMD5* fMD5 -> md5 digest of the file Long64_t fEntries entries in case of a ROOT Tree Long64_t fFirst first entry to process Long64_t fLast last entry to process TObject* fMetaDataObject -> generic file meta data object

Class Description

                                                                      
 TFileInfo                                                            
                                                                      
 Class describing a generic file including meta information.          
                                                                      

TFileInfo(const char *url , Long64_t size, const char *uuid, const char *md5, Long64_t entries, Long64_t first, Long64_t last, TObject *meta)
 Constructor.
TFileInfo(const TFileInfo& fi)
copy constructor
TFileInfo& operator=(const TFileInfo& fi)
assignment operator
~TFileInfo()
 Destructor.
TUrl * NextUrl()
 Iterator Function, init Iteration with ResetUrl().
 The first Call to NextUrl() will return the 1st element,
 the seconde the 2nd element aso.
TUrl * FindByUrl(const char *url)
 Find an element from a URL.
Bool_t AddUrl(const char *url)
 Add a new URL
Bool_t RemoveUrl(const char *url)
 Remove an URL.
void AddMetaDataObject(TObject *obj)
 Add's a meta data object to the file info object
void RemoveMetaDataObject()
 Remove all the metadata obejects.
Int_t Compare(const TObject *obj)
 Compare TFileInfo object by their first urls.
void ResetUrl()
Long64_t GetSize()
Long64_t GetEntries()
Long64_t GetFirst()
Long64_t GetLast()
void SetFirst(Long64_t first)
void SetLast(Long64_t last)
void SetEntries(Long64_t entries)
Bool_t IsSortable()
void Print(Option_t *options="")

Author: Andreas-Joachim Peters 20/9/2005
Last update: root/base:$Name: $:$Id: TFileInfo.cxx,v 1.9 2006/07/09 05:27:53 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.