#ifndef ROOT_TFileCollection
#define ROOT_TFileCollection
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
class THashList;
class TList;
class TFileInfo;
class TFileInfoMeta;
class TFileCollection : public TNamed {
private:
THashList *fList;
TList *fMetaDataList;
Long64_t fTotalSize;
Float_t fStagedPercentage;
TFileCollection(const TFileCollection&);
TFileCollection& operator=(const TFileCollection&);
public:
TFileCollection(const char *name = 0, const char *title = 0, const char *file = 0);
virtual ~TFileCollection();
void Add(TFileInfo *info);
void AddFromFile(const char *file);
void AddFromDirectory(const char *dir);
TList *GetList() { return (TList*) fList; }
void Update();
void Sort();
void SetAnchor(const char *anchor) const;
void Print(Option_t *option = "") const;
Long64_t GetTotalSize() const { return fTotalSize; }
Float_t GetStagedPercentage() const { return fStagedPercentage; }
Float_t GetCorruptedPercentage() const;
const char *GetDefaultTreeName() const;
Long64_t GetTotalEntries(const char *tree) const;
TFileInfoMeta *GetMetaData(const char *meta = 0) const;
TFileCollection *GetStagedSubset();
ClassDef(TFileCollection, 1)
};
#endif
Last update: Thu Jan 17 08:50:06 2008
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.